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
607b2bf3a5eff988ddda6ed25182f80712daf1aa
926
py
Python
legacy/run_Manley.py
acep-uaf/pvmonitor-inverter-collection_tools
4f419c8aa284010c204d82fd10d80ed3a9b720b5
[ "MIT" ]
1
2021-04-25T11:34:45.000Z
2021-04-25T11:34:45.000Z
legacy/run_Manley.py
acep-uaf/pvmonitor-inverter-collection-tools
4f419c8aa284010c204d82fd10d80ed3a9b720b5
[ "MIT" ]
8
2018-10-01T18:55:17.000Z
2018-10-01T19:03:02.000Z
legacy/run_Manley.py
acep-uaf/pvmonitor-inverter-collection-tools
4f419c8aa284010c204d82fd10d80ed3a9b720b5
[ "MIT" ]
null
null
null
import ACEP_AuroraVision from requests import post from datetime import datetime import argparse parser = argparse.ArgumentParser() parser.add_argument("-u", "--username", help="The username for access to the website") parser.add_argument("-p", "--password", help="the password to access the website") args = parser.pa...
29.870968
93
0.670626
110
926
5.527273
0.572727
0.052632
0.055921
0
0
0
0
0
0
0
0
0.00684
0.210583
926
30
94
30.866667
0.824897
0
0
0
0
0
0.241901
0
0
0
0
0
0
1
0
false
0.125
0.166667
0
0.166667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
607db90234d7743e2e870c8adb22060197634699
26,280
py
Python
generate_names.py
callmefeifei/baby-names
677d0908b6fecd38eac22953a9fcf6407288d23b
[ "MIT" ]
108
2020-06-20T10:41:55.000Z
2022-03-29T09:03:57.000Z
generate_names.py
theoly/baby-names
677d0908b6fecd38eac22953a9fcf6407288d23b
[ "MIT" ]
16
2020-07-11T11:55:53.000Z
2022-02-05T15:33:02.000Z
generate_names.py
theoly/baby-names
677d0908b6fecd38eac22953a9fcf6407288d23b
[ "MIT" ]
39
2020-06-20T11:33:10.000Z
2022-02-15T08:11:04.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Written by : 加菲猫 <callmefeifei@163.com> # Date : 2020/06/06 20:01:29 # Description : 新生儿起名打分 # Function support : * 支持汉字拼音识别 # : * 支持汉字偏旁识别 # : * 支持笔划数识别 # : * 支持重名检测 # ...
36
334
0.507496
2,815
26,280
4.508703
0.186501
0.066971
0.05405
0.032146
0.498976
0.43098
0.387803
0.351245
0.325875
0.31508
0
0.017844
0.364536
26,280
729
335
36.049383
0.742156
0.058942
0
0.436475
0
0.004098
0.096272
0.001375
0
0
0
0
0
0
null
null
0.010246
0.032787
null
null
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
608656f0bd96bf08ac41285958149184472c4090
934
py
Python
noo/impl/resolvers/github.py
TAG-Epic/noo
e5449b8ca091b63659e833b3a828c3cb272da4a4
[ "MIT" ]
null
null
null
noo/impl/resolvers/github.py
TAG-Epic/noo
e5449b8ca091b63659e833b3a828c3cb272da4a4
[ "MIT" ]
null
null
null
noo/impl/resolvers/github.py
TAG-Epic/noo
e5449b8ca091b63659e833b3a828c3cb272da4a4
[ "MIT" ]
null
null
null
from __future__ import annotations from pathlib import Path from re import compile from shutil import move from tempfile import gettempdir from zipfile import ZipFile from requests import get REPO = compile(r"(?P<author>[a-zA-Z0-9_-]+)\/(?P<repo>[a-zA-Z0-9_-]+)(@(?P<branch>[a-zA-Z0-9_-]+))?") def clone_github(repo...
28.30303
101
0.652034
136
934
4.375
0.455882
0.084034
0.02521
0.030252
0.104202
0
0
0
0
0
0
0.007742
0.170236
934
32
102
29.1875
0.76
0
0
0
0
0.045455
0.328694
0.179872
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.363636
0.045455
0
0
0
null
0
0
0
0
0
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
608a4af7986028299fac16b4f3c735ee4788a3e0
3,030
py
Python
src/labster/lib/menu.py
abilian/labandco
8acfefbebcbc86e67319fa92a7aa4d23ff8a183e
[ "Apache-2.0" ]
2
2019-11-11T22:09:58.000Z
2020-01-20T19:44:30.000Z
src/labster/lib/menu.py
abilian/labandco
8acfefbebcbc86e67319fa92a7aa4d23ff8a183e
[ "Apache-2.0" ]
15
2020-03-31T10:58:37.000Z
2022-01-22T09:14:49.000Z
src/labster/lib/menu.py
abilian/labandco
8acfefbebcbc86e67319fa92a7aa4d23ff8a183e
[ "Apache-2.0" ]
2
2021-05-28T12:20:24.000Z
2021-09-08T11:27:57.000Z
from __future__ import annotations from typing import Any, Dict, List from labster.di import injector from labster.domain2.model.profile import ProfileRepository from labster.domain2.services.roles import Role, RoleService from labster.security import get_current_profile from labster.util import url_for profile_repo...
26.578947
79
0.582508
366
3,030
4.655738
0.226776
0.007042
0.011737
0.016432
0.338615
0.258216
0.237089
0.237089
0.15493
0.15493
0
0.002364
0.30198
3,030
113
80
26.814159
0.80331
0
0
0.345679
0
0
0.028713
0
0
0
0
0
0
1
0.148148
false
0
0.08642
0.061728
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
608fa40f4f5d87216f167d95412ee57eaeec5123
2,521
py
Python
__init__.py
mathstar13/letterer
38b96f89ba33351f079a1cbbcf191ce3f9a4cc1e
[ "MIT" ]
1
2020-12-23T21:42:27.000Z
2020-12-23T21:42:27.000Z
__init__.py
mathstar13/letterer
38b96f89ba33351f079a1cbbcf191ce3f9a4cc1e
[ "MIT" ]
null
null
null
__init__.py
mathstar13/letterer
38b96f89ba33351f079a1cbbcf191ce3f9a4cc1e
[ "MIT" ]
null
null
null
def isfirstwordtitle(txt): allchars = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',' '] for char in allchars: if txt.startswith(char): return True return False def islower(txt,checknum=0): txt = txt.replace(' ','') allchars = ['a', 'b', 'c', ...
30.011905
150
0.476398
419
2,521
2.866348
0.164678
0.054954
0.017485
0.023314
0.669442
0.633639
0.633639
0.633639
0.633639
0.633639
0
0.013313
0.225307
2,521
83
151
30.373494
0.601639
0
0
0.638554
0
0
0.114028
0
0
0
0
0
0
1
0.072289
false
0
0
0
0.192771
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
6091e2aa9f005cc07893188d981bef038f49862a
337
py
Python
inscricao/migrations/0003_remove_alternativa_url.py
edusantana/ecit-app
c130480254fdabf4267960743ac7f2402b0aaaa2
[ "MIT" ]
null
null
null
inscricao/migrations/0003_remove_alternativa_url.py
edusantana/ecit-app
c130480254fdabf4267960743ac7f2402b0aaaa2
[ "MIT" ]
6
2019-12-04T23:16:43.000Z
2021-06-09T17:52:22.000Z
inscricao/migrations/0003_remove_alternativa_url.py
edusantana/ecit-app
c130480254fdabf4267960743ac7f2402b0aaaa2
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-06-05 17:39 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inscricao', '0002_remove_alternativa_info'), ] operations = [ migrations.RemoveField( model_name='alternativa', name='url', ...
18.722222
54
0.602374
35
337
5.685714
0.771429
0.020101
0
0
0
0
0
0
0
0
0
0.079167
0.287834
337
17
55
19.823529
0.75
0.133531
0
0
1
0
0.175862
0.096552
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
60965ff30345ee6d1e9cc5b81bf7f3fad05f4003
609
py
Python
students/K33402/Velts Andrey/lab0304/backend/pets/migrations/0002_auto_20201205_1558.py
ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021
bb91c91a56d21cec2b12ae4cc722eaa652a88420
[ "MIT" ]
4
2020-09-03T15:41:42.000Z
2021-12-24T15:28:20.000Z
students/K33402/Velts Andrey/lab0304/backend/pets/migrations/0002_auto_20201205_1558.py
ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021
bb91c91a56d21cec2b12ae4cc722eaa652a88420
[ "MIT" ]
48
2020-09-13T20:22:42.000Z
2021-04-30T11:13:30.000Z
students/K33402/Velts Andrey/lab0304/backend/pets/migrations/0002_auto_20201205_1558.py
ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021
bb91c91a56d21cec2b12ae4cc722eaa652a88420
[ "MIT" ]
69
2020-09-06T10:32:37.000Z
2021-11-28T18:13:17.000Z
# Generated by Django 3.1.4 on 2020-12-05 12:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pets', '0001_initial'), ] operations = [ migrations.AddField( model_name='pet', name='name', field=model...
24.36
87
0.576355
64
609
5.359375
0.65625
0.052478
0.069971
0.093294
0
0
0
0
0
0
0
0.054118
0.302135
609
24
88
25.375
0.752941
0.073892
0
0.222222
1
0
0.074733
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
609819680610781d2dc0ab10448dbd21a8f6c09a
1,081
py
Python
app/__init__.py
moevm/mse_teacher_plan
f1b102f6bc13927f00ba1408c294ba7095c26fc6
[ "MIT" ]
1
2018-09-25T15:58:39.000Z
2018-09-25T15:58:39.000Z
app/__init__.py
moevm/mse_teacher_plan
f1b102f6bc13927f00ba1408c294ba7095c26fc6
[ "MIT" ]
31
2017-10-26T14:57:20.000Z
2018-12-17T06:57:50.000Z
app/__init__.py
moevm/mse_teacher_plan
f1b102f6bc13927f00ba1408c294ba7095c26fc6
[ "MIT" ]
7
2017-10-31T13:45:05.000Z
2018-12-22T18:41:38.000Z
import logging.config import sentry_sdk from flask import Flask from flask.logging import default_handler from flask_debugtoolbar import DebugToolbarExtension from flask_login import LoginManager from flask_mongoengine import MongoEngine from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integr...
30.027778
105
0.818686
135
1,081
6.385185
0.407407
0.052204
0.030162
0.058005
0
0
0
0
0
0
0
0
0.109158
1,081
35
106
30.885714
0.895119
0.13321
0
0
0
0
0.054721
0.024678
0
0
0
0
0
1
0
false
0
0.392857
0
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
609d78573922b4870135d9b057b836fa8e98a7c9
563
py
Python
excursion/testcases/madgraph5atlasval/share/MC15.311328.MGPy8EG_N30LO_A14N23LO_DMsA_dijet_mR0p6_gSM0p02_xptj10.py
irinaespejo/excursion
c5a5c6d882b8dd1008fbabf1a3b81eaba382bef6
[ "Apache-2.0" ]
2
2021-07-09T13:19:06.000Z
2021-08-20T14:30:20.000Z
excursion/testcases/madgraph5atlasval/share/MC15.311328.MGPy8EG_N30LO_A14N23LO_DMsA_dijet_mR0p6_gSM0p02_xptj10.py
irinaespejo/excursion
c5a5c6d882b8dd1008fbabf1a3b81eaba382bef6
[ "Apache-2.0" ]
null
null
null
excursion/testcases/madgraph5atlasval/share/MC15.311328.MGPy8EG_N30LO_A14N23LO_DMsA_dijet_mR0p6_gSM0p02_xptj10.py
irinaespejo/excursion
c5a5c6d882b8dd1008fbabf1a3b81eaba382bef6
[ "Apache-2.0" ]
4
2020-11-02T10:35:02.000Z
2022-01-14T18:35:05.000Z
MXd = 10000. #DM mass MY1 = 600. #mediator mass gVXd = 0. #vector coupling to DM gAXd = 1. #axial coupling to DM gAd11 = 0.02 #axial couplings to quarks gAu11 = 0.02 gAd22 = 0.02 gAu22 = 0.02 gAd33 = 0.02 gAu33 = 0.02 gVd11 = 0. #vector couplings to quarks gVu11 = 0. gVd22 = 0. gVu22 = 0. gVd33 = 0. gVu33 = 0. xp...
22.52
103
0.731794
89
563
4.494382
0.573034
0.045
0.06
0.175
0.25
0.25
0.25
0.25
0
0
0
0.162447
0.158082
563
24
104
23.458333
0.681435
0.403197
0
0
0
0
0.235474
0.17737
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
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
60a4e19109e71a6be0a1c97c2561791fc9f7ffdc
1,401
py
Python
tests/functional_tests/test_staff_user.py
dolikemc/hostthewaytry
a1dcbc596da18aac760a18773bb89896a44e842d
[ "BSD-2-Clause" ]
null
null
null
tests/functional_tests/test_staff_user.py
dolikemc/hostthewaytry
a1dcbc596da18aac760a18773bb89896a44e842d
[ "BSD-2-Clause" ]
38
2019-01-22T10:50:01.000Z
2019-01-28T15:19:15.000Z
tests/functional_tests/test_staff_user.py
dolikemc/hostthewaytry
a1dcbc596da18aac760a18773bb89896a44e842d
[ "BSD-2-Clause" ]
null
null
null
from tests.functional_tests.base import FunctionalTest class TestWorkflow(FunctionalTest): def setUp(self): super().setUp() self.set_up_staff() self.browser.get(self.live_server_url) self.do_logon() def test_login(self): self.assertTrue(self.check_if_logged_in()) ...
35.025
90
0.691649
187
1,401
4.823529
0.390374
0.085366
0.100887
0.116408
0.286031
0.286031
0.217295
0.124169
0
0
0
0.008094
0.206281
1,401
39
91
35.923077
0.803058
0.062812
0
0.1
0
0
0.134351
0.037405
0
0
0
0
0.1
1
0.2
false
0.233333
0.033333
0
0.266667
0
0
0
0
null
0
0
0
0
0
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
60adfcf4713619280adf128e1340ddaf74a02f26
2,395
py
Python
pyccl/__init__.py
carlosggarcia/CCL
f3fe6383e2cbb804a03ad07e4627de6f226780d7
[ "BSD-3-Clause" ]
null
null
null
pyccl/__init__.py
carlosggarcia/CCL
f3fe6383e2cbb804a03ad07e4627de6f226780d7
[ "BSD-3-Clause" ]
null
null
null
pyccl/__init__.py
carlosggarcia/CCL
f3fe6383e2cbb804a03ad07e4627de6f226780d7
[ "BSD-3-Clause" ]
null
null
null
# flake8: noqa from pkg_resources import get_distribution, DistributionNotFound try: __version__ = get_distribution(__name__).version except DistributionNotFound: # package is not installed pass # Sets the environment variable for default config path if it does not # exist yet from os import environ, path ...
33.732394
112
0.811273
311
2,395
5.96463
0.533762
0.02965
0.014016
0
0
0
0
0
0
0
0
0.010125
0.134029
2,395
70
113
34.214286
0.884282
0.204593
0
0
0
0
0.015898
0
0
0
0
0
0
1
0
false
0.027778
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
60b07299b945923fbea836f17d2de9c92d063947
727
py
Python
main_biomarker.py
gxouc/MOGONET
697f8ad4c8550cb4ab4f05ad2c5a5dbe1826d845
[ "MIT" ]
null
null
null
main_biomarker.py
gxouc/MOGONET
697f8ad4c8550cb4ab4f05ad2c5a5dbe1826d845
[ "MIT" ]
null
null
null
main_biomarker.py
gxouc/MOGONET
697f8ad4c8550cb4ab4f05ad2c5a5dbe1826d845
[ "MIT" ]
null
null
null
""" Example for biomarker identification """ import os import copy from feat_importance import cal_feat_imp, summarize_imp_feat if __name__ == "__main__": data_folder = '/content/MOGONET/BRCA' model_folder = os.path.join(data_folder, 'models') view_list = [1,2,3] if data_folder == '/content/MOGONET/ROS...
31.608696
89
0.664374
98
727
4.55102
0.418367
0.112108
0.11435
0.161435
0.188341
0
0
0
0
0
0
0.0125
0.229711
727
22
90
33.045455
0.783929
0.049519
0
0
0
0
0.115666
0.095168
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60b1d2dce6c35ead56231ad5e6d1f8163ce6033c
500
py
Python
api/utils/files.py
MrNaif2018/bitcart
19191d21765a03292526e57d3bace23261c0d100
[ "MIT" ]
48
2019-03-06T09:40:44.000Z
2020-09-08T23:30:07.000Z
api/utils/files.py
MrNaif2018/bitcart
19191d21765a03292526e57d3bace23261c0d100
[ "MIT" ]
68
2019-05-09T13:16:23.000Z
2020-09-07T14:28:32.000Z
api/utils/files.py
MrNaif2018/bitcart
19191d21765a03292526e57d3bace23261c0d100
[ "MIT" ]
19
2019-03-07T09:19:40.000Z
2020-08-09T18:03:43.000Z
import os from api import settings def get_image_filename(model_id): return f"images/products/{model_id}.png" async def save_image(filename, image): filename = os.path.join(settings.settings.products_image_dir, os.path.basename(filename)) with open(filename, "wb") as f: f.write(await image.read...
20
93
0.698
71
500
4.774648
0.591549
0.115044
0
0
0
0
0
0
0
0
0
0
0.188
500
24
94
20.833333
0.834975
0
0
0
0
0
0.064
0.06
0
0
0
0
0
1
0.2
false
0.066667
0.133333
0.066667
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
60bb42d96efc03626559f9680ced1d1ffcd82fc3
3,738
py
Python
core/views.py
GabsGeorge/LMS-FINAL
f8ef34eb8f1fc308930c3343d327f6b1255ea09c
[ "Apache-2.0" ]
null
null
null
core/views.py
GabsGeorge/LMS-FINAL
f8ef34eb8f1fc308930c3343d327f6b1255ea09c
[ "Apache-2.0" ]
null
null
null
core/views.py
GabsGeorge/LMS-FINAL
f8ef34eb8f1fc308930c3343d327f6b1255ea09c
[ "Apache-2.0" ]
1
2018-03-08T19:57:30.000Z
2018-03-08T19:57:30.000Z
from django.shortcuts import render, redirect , HttpResponseRedirect, get_object_or_404 from django.contrib.auth.decorators import login_required, user_passes_test from django.contrib.auth.forms import UserCreationForm, PasswordChangeForm from django.views.generic import View, TemplateView, CreateView, UpdateView from ...
27.895522
116
0.731942
449
3,738
5.995546
0.282851
0.057949
0.091753
0.044577
0.213967
0.164562
0.127415
0.079495
0.055721
0.055721
0
0.005431
0.162654
3,738
133
117
28.105263
0.854633
0.086142
0
0.21875
0
0
0.092298
0.006593
0
0
0
0
0
1
0.166667
false
0.072917
0.145833
0.09375
0.489583
0
0
0
0
null
0
0
0
0
0
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
60c00a58d2402f5d9c1dbe2d5a31584e12babd3f
3,158
py
Python
win/devkit/plug-ins/scripted/pyHelloWorldCmd.py
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
10
2018-03-30T16:09:02.000Z
2021-12-07T07:29:19.000Z
win/devkit/plug-ins/scripted/pyHelloWorldCmd.py
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
null
null
null
win/devkit/plug-ins/scripted/pyHelloWorldCmd.py
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
9
2018-06-02T09:18:49.000Z
2021-12-20T09:24:35.000Z
""" To use, make sure that pyHelloWorldCmd.py is in your MAYA_PLUG_IN_PATH then do the following: import maya maya.cmds.loadPlugin("pyHelloWorldCmd.py") maya.cmds.pyHelloWorld() """ import sys import maya.api.OpenMaya as om def maya_useNewAPI(): """ The presence of this function tells Maya that the p...
31.89899
77
0.69886
398
3,158
5.515075
0.512563
0.01139
0.014579
0.03098
0.13713
0.102961
0.038269
0
0
0
0
0.002333
0.18556
3,158
98
78
32.22449
0.851089
0.573148
0
0.30303
0
0
0.10274
0
0
0
0
0
0
0
null
null
0.030303
0.060606
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60c088ee2dda603d3e3d2a63b7e0ebd39f5a4f99
1,014
py
Python
code/chapter1/figures11.py
jandremarais/TabularLearner
7905b06a31fc6e0b0adf6a13a0fb445bdfe00c96
[ "MIT" ]
14
2019-07-15T07:38:36.000Z
2021-12-08T23:54:15.000Z
code/chapter1/figures11.py
jandremarais/TabularLearner
7905b06a31fc6e0b0adf6a13a0fb445bdfe00c96
[ "MIT" ]
2
2019-05-07T13:56:51.000Z
2019-08-08T01:27:58.000Z
code/chapter1/figures11.py
jandremarais/TabularLearner
7905b06a31fc6e0b0adf6a13a0fb445bdfe00c96
[ "MIT" ]
2
2021-03-23T11:06:45.000Z
2021-03-23T11:34:48.000Z
from sklearn.datasets import make_classification from matplotlib import pyplot as plt import pdb import numpy as np import matplotlib.patches as mpatches from sklearn.linear_model import LinearRegression from matplotlib.lines import Line2D X, y = make_classification(n_samples=20, n_features=2, n_redundant=0, random_s...
37.555556
141
0.715976
174
1,014
4.063218
0.5
0.029703
0.022631
0.028289
0
0
0
0
0
0
0
0.04476
0.096647
1,014
27
142
37.555556
0.727074
0.009862
0
0
0
0
0.10668
0.037886
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
60c1ba7e2024e25995de980c22f634203e691a85
764
py
Python
scanner/app.py
FreeWillaert/altimeter-neo4j-graphql
0c71143aec8e10089d3720f32c67318c52838230
[ "MIT" ]
null
null
null
scanner/app.py
FreeWillaert/altimeter-neo4j-graphql
0c71143aec8e10089d3720f32c67318c52838230
[ "MIT" ]
null
null
null
scanner/app.py
FreeWillaert/altimeter-neo4j-graphql
0c71143aec8e10089d3720f32c67318c52838230
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from aws_cdk import core as cdk from stacks.vpc_stack import VpcStack from stacks.scanner_stack import ScannerStack from stacks.neo4j_stack import Neo4jStack from stacks.graphql_api_stack import GraphqlApiStack from stacks.config import read_config app = cdk.App() config = read_co...
31.833333
147
0.808901
111
764
5.351351
0.27027
0.10101
0.094276
0.085859
0.20202
0.20202
0.20202
0.20202
0.20202
0.20202
0
0.017316
0.092932
764
23
148
33.217391
0.839827
0.027487
0
0
0
0
0.126685
0.09973
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
60cd24c060454f78df6e93afc2582c512e79a6fd
2,437
py
Python
runmanager/batch_compiler.py
specialforcea/labscript_suite
a4ad5255207cced671990fff94647b1625aa0049
[ "BSD-2-Clause" ]
null
null
null
runmanager/batch_compiler.py
specialforcea/labscript_suite
a4ad5255207cced671990fff94647b1625aa0049
[ "BSD-2-Clause" ]
null
null
null
runmanager/batch_compiler.py
specialforcea/labscript_suite
a4ad5255207cced671990fff94647b1625aa0049
[ "BSD-2-Clause" ]
null
null
null
##################################################################### # # # /batch_compiler.py # # # # Copyright 2013, Monash University ...
45.12963
87
0.482561
219
2,437
5.141553
0.479452
0.042629
0.056838
0.047957
0.069272
0.069272
0
0
0
0
0
0.005498
0.402954
2,437
53
88
45.981132
0.768385
0.396799
0
0
0
0
0.018639
0
0
0
0
0.018868
0
1
0.076923
false
0
0.192308
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
60cdcda3bdad0d38d2a71660684a1e2abb010416
591
py
Python
TI/src/World/Prop.py
smips/Temporary_Insanity
2befafd03150673a5ad500d5c459b9d980acb773
[ "MIT" ]
null
null
null
TI/src/World/Prop.py
smips/Temporary_Insanity
2befafd03150673a5ad500d5c459b9d980acb773
[ "MIT" ]
null
null
null
TI/src/World/Prop.py
smips/Temporary_Insanity
2befafd03150673a5ad500d5c459b9d980acb773
[ "MIT" ]
null
null
null
import GameObject import DataGrinder class Prop(GameObject.GameObject): """Game objects which do not act(unless perhaps acted upon). Only 1 per Tile.""" def __init__(self, x, y, ID, map): self.x = x self.y = y prop_data = DataGrinder.get_prop_data(ID) self.char = p...
26.863636
85
0.588832
81
591
4.135802
0.444444
0.167164
0.029851
0
0
0
0
0
0
0
0
0.002375
0.287648
591
21
86
28.142857
0.790974
0
0
0
0
0
0.061602
0
0
0
0
0
0
0
null
null
0
0.142857
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
60d065356d79147e60daa25cffbf00c119b34cad
7,884
py
Python
tests/test_executor.py
prezesp/flask-executor
d455e5b2c037c79f924107513cdf8a849d8e3213
[ "MIT" ]
null
null
null
tests/test_executor.py
prezesp/flask-executor
d455e5b2c037c79f924107513cdf8a849d8e3213
[ "MIT" ]
null
null
null
tests/test_executor.py
prezesp/flask-executor
d455e5b2c037c79f924107513cdf8a849d8e3213
[ "MIT" ]
null
null
null
import concurrent.futures from multiprocessing import cpu_count import random from flask import Flask, current_app, g, request import pytest from flask_executor import Executor from flask_executor.executor import ExecutorJob, default_workers, WORKERS_MULTIPLIER # Reusable functions for tests def fib(n): if n <...
33.982759
98
0.724252
1,013
7,884
5.351431
0.101678
0.077476
0.049806
0.06235
0.762959
0.71389
0.648035
0.53551
0.470577
0.4228
0
0.009915
0.181253
7,884
231
99
34.12987
0.829899
0.014079
0
0.545918
0
0
0.054726
0.01043
0
0
0
0
0.219388
1
0.163265
false
0.005102
0.035714
0.035714
0.244898
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
60d16a0dcf01245b8fe54d5cfdaee79ebad6d26f
2,531
py
Python
code/exp_tunedalpha/runscript2.py
ludwigbald/probprec
227a924a725551f4531cbe682da4830305f55277
[ "MIT" ]
null
null
null
code/exp_tunedalpha/runscript2.py
ludwigbald/probprec
227a924a725551f4531cbe682da4830305f55277
[ "MIT" ]
null
null
null
code/exp_tunedalpha/runscript2.py
ludwigbald/probprec
227a924a725551f4531cbe682da4830305f55277
[ "MIT" ]
null
null
null
"""Simple run script using SORunner.""" import torch.optim as optim import deepobs.pytorch as pyt from sorunner import SORunner from probprec import Preconditioner import numpy import math class PreconditionedSGD(Preconditioner): """docstring for PreconditionedSGD""" def __init__(self, *args, **kwargs): ...
38.938462
114
0.724615
286
2,531
6.15035
0.286713
0.051165
0.054576
0.047754
0.544628
0.48664
0.442297
0.396816
0.37635
0.37635
0
0.038661
0.161991
2,531
64
115
39.546875
0.790665
0.13631
0
0.487179
0
0
0.121254
0.038728
0
0
0
0.015625
0
1
0.128205
false
0
0.153846
0
0.358974
0.102564
0
0
0
null
0
0
0
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
60d367f53675f8b74edea09807ebf9704a9643a0
7,454
py
Python
geometry/simple.py
sharky5102/fbmatrix
6558e1b249d94908d92a6475b07ebf9beae776a1
[ "BSD-2-Clause" ]
4
2021-01-31T07:06:33.000Z
2022-01-22T09:28:21.000Z
geometry/simple.py
sharky5102/fbmatrix
6558e1b249d94908d92a6475b07ebf9beae776a1
[ "BSD-2-Clause" ]
3
2021-03-02T20:31:41.000Z
2021-12-18T12:52:59.000Z
geometry/simple.py
sharky5102/fbmatrix
6558e1b249d94908d92a6475b07ebf9beae776a1
[ "BSD-2-Clause" ]
3
2021-08-02T17:10:24.000Z
2022-02-14T11:24:49.000Z
import geometry import math import OpenGL.GL as gl import numpy as np import ctypes class circle(geometry.base): srcblend = gl.GL_SRC_ALPHA dstblend = gl.GL_ONE segs = 16 def __init__(self): self.color = (1,1,1,1) super(circle, self).__init__() def getVertices(self): ...
27.007246
100
0.493695
921
7,454
3.893594
0.13355
0.021751
0.024261
0.02454
0.678472
0.63971
0.615728
0.612939
0.527607
0.499721
0
0.052079
0.374027
7,454
275
101
27.105455
0.716245
0
0
0.591346
0
0.028846
0.527573
0.018248
0
0
0
0
0
0
null
null
0
0.024038
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
60d37fb3b3e72b7363fcbb87d893109c4093faf0
4,537
py
Python
omaha_server/feedback/proto_gen/common_pb2.py
makar21/omaha-server
b84cdf6e67d9106e7a86b447204de4f82397b019
[ "Apache-2.0" ]
142
2015-02-10T05:46:28.000Z
2020-03-21T13:18:31.000Z
omaha_server/feedback/proto_gen/common_pb2.py
tuladhar/omaha-server
6cfd86e4319e03af0eb319fae6c867691ffc2c36
[ "Apache-2.0" ]
272
2015-01-15T09:43:49.000Z
2020-03-30T08:29:30.000Z
omaha_server/feedback/proto_gen/common_pb2.py
tuladhar/omaha-server
6cfd86e4319e03af0eb319fae6c867691ffc2c36
[ "Apache-2.0" ]
77
2015-01-29T19:13:39.000Z
2020-03-21T06:45:35.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: common.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflec...
40.508929
449
0.743443
603
4,537
5.320066
0.240464
0.054863
0.049875
0.074813
0.456359
0.38591
0.38591
0.38591
0.374065
0.374065
0
0.039929
0.127838
4,537
111
450
40.873874
0.770786
0.046727
0
0.391304
1
0.01087
0.171567
0.133133
0
0
0
0
0
1
0
false
0
0.065217
0
0.065217
0
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
60e101dd352974dd7d1137e7c359f0aa165fa802
4,036
py
Python
rank/views.py
justnclrk/MCURanker
97f946e75bb911a2073955c1ea66402da839d2ef
[ "MIT" ]
null
null
null
rank/views.py
justnclrk/MCURanker
97f946e75bb911a2073955c1ea66402da839d2ef
[ "MIT" ]
6
2020-09-24T04:35:08.000Z
2022-03-12T00:27:25.000Z
rank/views.py
justnclrk/MCURanker
97f946e75bb911a2073955c1ea66402da839d2ef
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.views.generic import ListView, CreateView, DeleteView, UpdateView from django.contrib.auth.decorators import login_required from django.core.exceptions import PermissionDenied from dj...
33.633333
101
0.667493
486
4,036
5.417695
0.238683
0.054311
0.056969
0.071781
0.375237
0.342955
0.339157
0.313331
0.298899
0.298899
0
0.003856
0.22894
4,036
119
102
33.915966
0.842224
0
0
0.42268
0
0
0.055748
0.007185
0
0
0
0
0
1
0.123711
false
0.030928
0.123711
0.030928
0.556701
0
0
0
0
null
0
0
0
0
0
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
60e2fad6eb4a9cac79db9e1396ae8341f6ef5e00
2,658
py
Python
polyaxon/db/models/repos.py
vfdev-5/polyaxon
3e1511a993dc1a03e0a0827de0357f4adcc0015f
[ "MIT" ]
null
null
null
polyaxon/db/models/repos.py
vfdev-5/polyaxon
3e1511a993dc1a03e0a0827de0357f4adcc0015f
[ "MIT" ]
null
null
null
polyaxon/db/models/repos.py
vfdev-5/polyaxon
3e1511a993dc1a03e0a0827de0357f4adcc0015f
[ "MIT" ]
null
null
null
import os from django.conf import settings from django.db import models from constants.urls import API_V1 from db.models.utils import DiffModel class RepoMixin(object): @property def user_path(self): return os.path.join(settings.REPOS_MOUNT_PATH, self.project.user.username) @property def pr...
27.402062
92
0.621896
333
2,658
4.828829
0.306306
0.044776
0.029851
0.039801
0.303483
0.264925
0.212687
0.139303
0.097015
0
0
0.006186
0.270128
2,658
96
93
27.6875
0.82268
0.106847
0
0.347826
0
0
0.051709
0.009402
0
0
0
0
0
1
0.144928
false
0
0.101449
0.086957
0.57971
0
0
0
0
null
0
0
0
0
0
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
60e815ae016563d176933f0bfb151f19dd45ad63
356
py
Python
other/packageCompile.py
JosephAbbey/PAPICompetition-LostProperty
f46bae82741331ba0bf5f1abb09ec89ea2ffef5a
[ "MIT" ]
3
2022-02-04T13:55:43.000Z
2022-03-09T17:14:48.000Z
other/packageCompile.py
JosephAbbey/PAPICompetition-LostProperty
f46bae82741331ba0bf5f1abb09ec89ea2ffef5a
[ "MIT" ]
null
null
null
other/packageCompile.py
JosephAbbey/PAPICompetition-LostProperty
f46bae82741331ba0bf5f1abb09ec89ea2ffef5a
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name='serverLib', version='0.2.3', author='Benjamin Jones', description='The core library for the LostProperty project', license='MIT', install_requires=["flask"], packages=setuptools.find_packages(include=['serverLib']), python_required=">=3.7" ) # ...
25.428571
64
0.705056
41
356
6.02439
0.829268
0
0
0
0
0
0
0
0
0
0
0.016667
0.157303
356
14
65
25.428571
0.806667
0.101124
0
0
0
0
0.297806
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
60f4bdaf126331bb0bad05933464d6e522e28bb8
212
py
Python
fourth_project/basic_app/urls.py
DhanushEswar/django_deployment
4e6d6a92020b0106bf7df74b73127ff9db0e8558
[ "MIT" ]
null
null
null
fourth_project/basic_app/urls.py
DhanushEswar/django_deployment
4e6d6a92020b0106bf7df74b73127ff9db0e8558
[ "MIT" ]
null
null
null
fourth_project/basic_app/urls.py
DhanushEswar/django_deployment
4e6d6a92020b0106bf7df74b73127ff9db0e8558
[ "MIT" ]
null
null
null
from django.urls import path from basic_app import views app_name = 'basic_app' urlpatterns= [ path('register/',views.register,name='register'), path('user_login',views.user_login,name='user_login'), ]
23.555556
58
0.735849
30
212
5
0.433333
0.18
0
0
0
0
0
0
0
0
0
0
0.122642
212
9
59
23.555556
0.806452
0
0
0
0
0
0.215962
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60f4fb8de3f525812fbf0234870f9a5a1788c92e
163
py
Python
functions/reduce_.py
marioymario/scripts
1bd61bc0beb912cce1c85997e3ecdb3fa0161167
[ "MIT" ]
null
null
null
functions/reduce_.py
marioymario/scripts
1bd61bc0beb912cce1c85997e3ecdb3fa0161167
[ "MIT" ]
1
2021-07-22T20:54:57.000Z
2021-07-22T20:54:57.000Z
functions/reduce_.py
marioymario/scripts
1bd61bc0beb912cce1c85997e3ecdb3fa0161167
[ "MIT" ]
null
null
null
from functools import reduce lista = [2, 3, 4, 5, 6] lista2 = [1, 4, 5, 4, 7] e = reduce(lambda x, y : x + y, lista) print(e) # wont print because is a function
20.375
43
0.619632
32
163
3.15625
0.71875
0.039604
0
0
0
0
0
0
0
0
0
0.088
0.233129
163
7
44
23.285714
0.72
0.196319
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60fc1a110445a702a783245e543c2ba6c9321ba9
1,597
py
Python
hpc-historias-clinicas/anamnesis/views.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
hpc-historias-clinicas/anamnesis/views.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
hpc-historias-clinicas/anamnesis/views.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.views.generic import ListView, CreateView, UpdateView, DeleteView from django.contrib import messages from django.core import serializers from django.http import HttpResponse from braces.views import LoginRequiredMixin from .models import MotivosConsultas class MotivosMixin(object...
31.94
78
0.747026
174
1,597
6.775862
0.425287
0.047498
0.094996
0.071247
0.205259
0.205259
0.170483
0.170483
0.170483
0.170483
0
0.000749
0.163431
1,597
49
79
32.591837
0.881737
0.119599
0
0.142857
0
0
0.112727
0
0
0
0
0
0
1
0.107143
false
0
0.214286
0.035714
0.892857
0
0
0
0
null
0
0
0
0
0
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
60fd80613b6065f448718ea17a1d1efe97ee43fa
1,149
py
Python
fclsp/max_pen_val_fclsp.py
idc9/fclsp
8e379c88386580df9ab2574e01240a43bd5fa51c
[ "MIT" ]
null
null
null
fclsp/max_pen_val_fclsp.py
idc9/fclsp
8e379c88386580df9ab2574e01240a43bd5fa51c
[ "MIT" ]
null
null
null
fclsp/max_pen_val_fclsp.py
idc9/fclsp
8e379c88386580df9ab2574e01240a43bd5fa51c
[ "MIT" ]
null
null
null
from fclsp.reshaping_utils import get_adj_mat from fclsp.lla import eigh_lap_abs def get_max_pen_val_fclsp(lasso_max_val, init, pen_func, pen_func_kws={}, var_type='hollow_sym', shape=None): """ Returns the largest reasonable tuning...
25.533333
71
0.612707
155
1,149
4.316129
0.509677
0.052317
0.049327
0.044843
0.116592
0.116592
0.116592
0.116592
0.116592
0.116592
0
0
0.311575
1,149
44
72
26.113636
0.845765
0.425587
0
0
0
0
0.023451
0
0
0
0
0.022727
0
1
0.071429
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
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
60fef912ed0e0d5d0cec7e54fbb9939fd67110e5
2,119
py
Python
io/io.py
GEverding/touchVision
9513f881339e9b7299c1de42c7615f5be926cec8
[ "MIT" ]
null
null
null
io/io.py
GEverding/touchVision
9513f881339e9b7299c1de42c7615f5be926cec8
[ "MIT" ]
1
2015-01-15T14:59:17.000Z
2015-01-15T14:59:17.000Z
io/io.py
GEverding/touchVision
9513f881339e9b7299c1de42c7615f5be926cec8
[ "MIT" ]
null
null
null
import sys, getopt import time import logging from glove import Glove from playback import Playback # set up logging to file - see previous section for more details logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', datefmt='%m...
31.626866
81
0.58235
251
2,119
4.860558
0.370518
0.04918
0.046721
0.051639
0.108197
0.065574
0.065574
0.065574
0.065574
0.065574
0
0.005972
0.288815
2,119
66
82
32.106061
0.803583
0.067957
0
0.067797
0
0
0.205987
0
0
0
0
0
0
0
null
null
0
0.084746
null
null
0.033898
0
0
0
null
0
0
0
0
0
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
88055962fe7bf7f3a06a93b705e145758f395205
17,021
py
Python
charms/seldon-core/reactive/seldon_core.py
lqdev/bundle-kubeflow
65a85f47dcf358372332e403f94fa5add9ae878f
[ "Apache-2.0" ]
null
null
null
charms/seldon-core/reactive/seldon_core.py
lqdev/bundle-kubeflow
65a85f47dcf358372332e403f94fa5add9ae878f
[ "Apache-2.0" ]
null
null
null
charms/seldon-core/reactive/seldon_core.py
lqdev/bundle-kubeflow
65a85f47dcf358372332e403f94fa5add9ae878f
[ "Apache-2.0" ]
null
null
null
import os import shutil from base64 import b64encode from pathlib import Path from subprocess import run import yaml from charmhelpers.core import hookenv from charms import layer from charms.reactive import clear_flag, hook, set_flag, when, when_any, when_not @hook('upgrade-charm') def upgrade_charm(): clear_f...
45.632708
111
0.330415
829
17,021
6.685163
0.249698
0.030314
0.062252
0.051967
0.636593
0.605918
0.572537
0.556297
0.550523
0.53284
0
0.007979
0.543505
17,021
372
112
45.755376
0.705277
0.185653
0
0.352727
0
0
0.266749
0.093634
0
0
0
0
0
1
0.014545
false
0.003636
0.032727
0
0.047273
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
8809b23fe4189b0fb99e1a38366558f11b587238
657
py
Python
tut_3.py
SGyutan/streamlit_aggrid
3459b39c9f6109975fc99be2818738009fd039f1
[ "MIT" ]
null
null
null
tut_3.py
SGyutan/streamlit_aggrid
3459b39c9f6109975fc99be2818738009fd039f1
[ "MIT" ]
null
null
null
tut_3.py
SGyutan/streamlit_aggrid
3459b39c9f6109975fc99be2818738009fd039f1
[ "MIT" ]
null
null
null
# tut_3.py import pandas as pd import streamlit as st from st_aggrid import AgGrid from st_aggrid.grid_options_builder import GridOptionsBuilder st.set_page_config(page_title="Netflix Shows", layout="wide") st.title("Netlix shows analysis") shows = pd.read_csv("netflix_titles.csv") gb = GridOptionsBuilder....
29.863636
107
0.773212
91
657
5.373626
0.571429
0.067485
0.02454
0
0
0
0
0
0
0
0
0.003472
0.123288
657
22
108
29.863636
0.845486
0.076104
0
0
0
0
0.101549
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8810dfa441ee3a13ebf15fb4d73e326ae98eceff
1,058
py
Python
regname_plugin.py
lallouslab/oregami
6855bb6ed0213f8e081e822842c094f06bf3bee8
[ "MIT" ]
179
2020-04-06T12:50:13.000Z
2022-03-17T15:46:48.000Z
regname_plugin.py
lallouslab/oregami
6855bb6ed0213f8e081e822842c094f06bf3bee8
[ "MIT" ]
null
null
null
regname_plugin.py
lallouslab/oregami
6855bb6ed0213f8e081e822842c094f06bf3bee8
[ "MIT" ]
23
2020-04-06T23:24:28.000Z
2022-01-27T04:50:14.000Z
import idaapi import sark from oregami.reg_frame import RegFrame from oregami.reg_utils import conf, get_reg_from_user from oregami.reg_name import rf_rename, get_name_from_user def regname_plugin_starter(ea): # Get register reg = get_reg_from_user(ea) if reg is None: return # Get new name ...
20.745098
70
0.673913
145
1,058
4.668966
0.434483
0.047267
0.062038
0.041359
0
0
0
0
0
0
0
0
0.250473
1,058
50
71
21.16
0.85372
0.034972
0
0.151515
0
0
0.096362
0
0
0
0
0
0
1
0.151515
false
0.030303
0.151515
0.060606
0.606061
0
0
0
0
null
0
0
0
0
0
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
71494a8b5c08da152995a836338e9ee9d9e8821d
1,047
py
Python
tests/syft/lib/python/tuple/tuple_test.py
dnabanita7/PySyft
ce2510e65f5bad382e88806bcde30fa38c3c76c4
[ "Apache-2.0" ]
8,428
2017-08-10T09:17:49.000Z
2022-03-31T08:20:14.000Z
packages/syft/tests/syft/lib/python/tuple/tuple_test.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
4,779
2017-08-09T23:19:00.000Z
2022-03-29T11:49:36.000Z
packages/syft/tests/syft/lib/python/tuple/tuple_test.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
2,307
2017-08-10T08:52:12.000Z
2022-03-30T05:36:07.000Z
# syft absolute from syft.lib.python.tuple import Tuple type2test = Tuple def test_constructors(): assert Tuple() == () assert Tuple([]) == () assert Tuple([0, 1, 2, 3]) == (0, 1, 2, 3) assert Tuple("") == () assert Tuple("spam") == ("s", "p", "a", "m") assert Tuple(x for x in range(10) if x ...
18.368421
66
0.494747
166
1,047
3.078313
0.277108
0.039139
0.029354
0.129159
0.113503
0.113503
0.086106
0.086106
0
0
0
0.084791
0.290353
1,047
56
67
18.696429
0.602961
0.012416
0
0.153846
0
0
0.021318
0
0
0
0
0
0.512821
1
0.179487
false
0
0.025641
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
715053641f18293e531adeb334fd62575c484109
237
py
Python
example_app.py
douganger/flask-ipfilter
1c3d515f795701171bb9c138320abd21fadb5829
[ "MIT" ]
null
null
null
example_app.py
douganger/flask-ipfilter
1c3d515f795701171bb9c138320abd21fadb5829
[ "MIT" ]
1
2020-07-10T18:10:23.000Z
2020-07-11T05:33:00.000Z
example_app.py
douganger/flask-ipfilter
1c3d515f795701171bb9c138320abd21fadb5829
[ "MIT" ]
null
null
null
from flask import Flask from flask_ipfilter import IPFilter, Whitelist app = Flask(__name__) ip_filter = IPFilter(app, ruleset=Whitelist()) ip_filter.ruleset.permit("127.0.0.1") @app.route("/") def route_test(): return "Allowed."
19.75
46
0.738397
34
237
4.911765
0.558824
0.107784
0
0
0
0
0
0
0
0
0
0.028846
0.122363
237
11
47
21.545455
0.774038
0
0
0
0
0
0.075949
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
7151a3d57241157a63c00e35132a56c5860d36a1
1,082
py
Python
Examples/AppKit/CurrencyConverter/CurrencyConverter.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/Examples/AppKit/CurrencyConverter/CurrencyConverter.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/Examples/AppKit/CurrencyConverter/CurrencyConverter.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
import time import sys from AppKit import * class Converter (NSObject): def convertAmount(self, amt, rate): return amt*rate class ConverterController (NSObject): # First define the IB Outlets, the 'ivar' calls below define new # instance variables in the objective-C class (e.g. visible # fo...
27.05
68
0.670055
123
1,082
5.853659
0.528455
0.066667
0
0
0
0
0
0
0
0
0
0.004773
0.225508
1,082
39
69
27.74359
0.854415
0.260628
0
0
0
0
0
0
0
0
0
0
0
1
0.136364
false
0
0.136364
0.045455
0.590909
0
0
0
0
null
0
0
0
0
0
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
71554b600e585238c7f1fc16ac94496facb3249a
807
py
Python
Excel_Structure_Validation/__main__.py
ankhipaul/python_workspace
0a100b935e360930085e0b2f913f0504a72eea32
[ "BSD-3-Clause" ]
null
null
null
Excel_Structure_Validation/__main__.py
ankhipaul/python_workspace
0a100b935e360930085e0b2f913f0504a72eea32
[ "BSD-3-Clause" ]
null
null
null
Excel_Structure_Validation/__main__.py
ankhipaul/python_workspace
0a100b935e360930085e0b2f913f0504a72eea32
[ "BSD-3-Clause" ]
null
null
null
############################################################## #### Written By: ANKHI PAUL #### #### Written On: 20-APR-2020 #### #### Modified On 20-APR-2020 #### #### Objective: Main calling script #### #####...
40.35
74
0.519207
65
807
6.246154
0.569231
0.073892
0.034483
0.054187
0
0
0
0
0
0
0
0.025806
0.231722
807
19
75
42.473684
0.629032
0.237918
0
0
0
0
0.110345
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
716353a943d41257cb1dcb405114579a52843fb0
8,050
py
Python
RigelProjectfin_pub.py
erellaz/Radial_Noise_Removal
951852ad5807c18931e8a03fc2669cd8ddf8a823
[ "MIT" ]
1
2020-05-30T17:11:21.000Z
2020-05-30T17:11:21.000Z
RigelProjectfin_pub.py
erellaz/Radial_Noise_Removal
951852ad5807c18931e8a03fc2669cd8ddf8a823
[ "MIT" ]
null
null
null
RigelProjectfin_pub.py
erellaz/Radial_Noise_Removal
951852ad5807c18931e8a03fc2669cd8ddf8a823
[ "MIT" ]
null
null
null
# Apply a mute in the linear radon domain to clean linear noise on an image # Visit http://erellaz.com for details # 2017-03-05 #______________________________________________________________________________ #Parameters, change only this block: #input fit file to process fitin='C:\Users\User\Desktop\WH3.fit' fit...
38.151659
131
0.657267
998
8,050
3.866733
0.288577
0.016325
0.016585
0.011402
0.158849
0.131899
0.100285
0.072299
0.060897
0.060897
0
0.037323
0.227826
8,050
211
132
38.151659
0.583494
0.342112
0
0.071429
0
0
0.114666
0.012719
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71659c49906c67f836813662c36c8a78e81bd241
690
py
Python
djedi/templatetags/djedi_admin.py
andreif/djedi-cms
045ae18ed2f32d249a4763873dbc14198f6f27b8
[ "BSD-3-Clause" ]
null
null
null
djedi/templatetags/djedi_admin.py
andreif/djedi-cms
045ae18ed2f32d249a4763873dbc14198f6f27b8
[ "BSD-3-Clause" ]
null
null
null
djedi/templatetags/djedi_admin.py
andreif/djedi-cms
045ae18ed2f32d249a4763873dbc14198f6f27b8
[ "BSD-3-Clause" ]
null
null
null
import json import logging from django import template from cio.pipeline import pipeline from djedi.auth import has_permission from djedi.compat import render_to_string register = template.Library() logger = logging.getLogger(__name__) @register.simple_tag(takes_context=True) def djedi_admin(context): output ...
23.793103
110
0.704348
88
690
5.363636
0.613636
0.038136
0.059322
0
0
0
0
0
0
0
0
0.001757
0.175362
690
28
111
24.642857
0.827768
0.02029
0
0
0
0
0.071217
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
716b0818b4bdff3c62aa6733e74bdc1d54544803
406
py
Python
accounts/migrations/0002_alter_user_first_name.py
rkisdp/rkisdp.django.backend
771481cdeea6a101305c4819b06b839266ce6921
[ "MIT" ]
null
null
null
accounts/migrations/0002_alter_user_first_name.py
rkisdp/rkisdp.django.backend
771481cdeea6a101305c4819b06b839266ce6921
[ "MIT" ]
null
null
null
accounts/migrations/0002_alter_user_first_name.py
rkisdp/rkisdp.django.backend
771481cdeea6a101305c4819b06b839266ce6921
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-29 04:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='first_name', ...
21.368421
78
0.603448
45
406
5.333333
0.777778
0.075
0.108333
0
0
0
0
0
0
0
0
0.075085
0.278325
406
18
79
22.555556
0.744027
0.110837
0
0
1
0
0.122563
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
716b2a99400581520c7c8b99b5030df0ee259c3d
5,251
py
Python
lib/GetTor.py
kaner/gettor
1c5087980ec2192bce18b1c7ab7da0405efe878c
[ "BSD-3-Clause" ]
1
2015-05-07T10:42:28.000Z
2015-05-07T10:42:28.000Z
lib/GetTor.py
kaner/gettor
1c5087980ec2192bce18b1c7ab7da0405efe878c
[ "BSD-3-Clause" ]
null
null
null
lib/GetTor.py
kaner/gettor
1c5087980ec2192bce18b1c7ab7da0405efe878c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- __program__ = 'GetTor.py' __url__ = 'https://svn.torproject.org/svn/projects/gettor' __author__ = 'Jacob Appelbaum <jacob@appelbaum.net>, Christian Fromme <kaner@strace.org>' __copyright__ = 'Copyright (c) 2008, 2009, The Tor Project' __license__ = 'See LICENSE for licensing i...
34.774834
89
0.657399
644
5,251
5.315217
0.392857
0.038563
0.043821
0.015776
0.066608
0.063979
0.063979
0
0
0
0
0.00252
0.244144
5,251
150
90
35.006667
0.859914
0.0996
0
0.152381
0
0
0.150499
0.005631
0
0
0
0
0
0
null
null
0.019048
0.114286
null
null
0.019048
0
0
0
null
0
0
0
0
0
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
716c9ead75e04d5ce341ea383559ce636577bd70
498
py
Python
flask_app/tests/conftest.py
BlacksInTechnologyOrg/bit-job-board
6f8bc45496e2c7e97eb8f89af2bff248a83e97c0
[ "MIT" ]
1
2018-04-17T22:59:22.000Z
2018-04-17T22:59:22.000Z
flask_app/tests/conftest.py
BlacksInTechnologyOrg/bit-job-board
6f8bc45496e2c7e97eb8f89af2bff248a83e97c0
[ "MIT" ]
null
null
null
flask_app/tests/conftest.py
BlacksInTechnologyOrg/bit-job-board
6f8bc45496e2c7e97eb8f89af2bff248a83e97c0
[ "MIT" ]
null
null
null
import pytest import logging from flask import current_app from .. import create_app from ..models.user import User from ..db_init import db from ..script import PopulateDB, ResetDB @pytest.fixture def client(): jbapp = create_app(config_name="testing") client = jbapp.test_client() ResetDB().drop_collecti...
21.652174
45
0.720884
64
498
5.4375
0.515625
0.137931
0
0
0
0
0
0
0
0
0
0
0.176707
498
22
46
22.636364
0.84878
0
0
0
0
0
0.014056
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
716dce9e5deae82ad3b6f359f9a32d8ff1f26653
662
py
Python
GuessTheNumber.py
mparshorov/Py-Games
f0199456024e0f332cab1ccc498edb3eb2e0463c
[ "MIT" ]
null
null
null
GuessTheNumber.py
mparshorov/Py-Games
f0199456024e0f332cab1ccc498edb3eb2e0463c
[ "MIT" ]
null
null
null
GuessTheNumber.py
mparshorov/Py-Games
f0199456024e0f332cab1ccc498edb3eb2e0463c
[ "MIT" ]
null
null
null
''' This is a Guess the Number Game ''' from random import randint name=raw_input("Hello! What's your name?\n") print "Well, {0}, I am thinking of a number between 1 and 20.".format(name) actNum=randint(1,20) number=0 for i in xrange(6): number=input("Take a guess.\n") if number > actNum: print "Your gu...
30.090909
75
0.63142
106
662
3.933962
0.490566
0.115108
0.16307
0.091127
0.247002
0.148681
0.148681
0
0
0
0
0.026157
0.249245
662
22
76
30.090909
0.812877
0
0
0.105263
0
0
0.375
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.263158
0
0
0
null
0
0
0
0
0
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
716ddae29cc6756511e7b24d7bd99a10f56a85dd
2,039
py
Python
src/nwc_pattern_miner/tests/pruning/test_ub_pruning.py
anirudhagar13/nwc_pattern_mining
f13a6c5e4be69a99f38000294033a82118345b78
[ "MIT" ]
null
null
null
src/nwc_pattern_miner/tests/pruning/test_ub_pruning.py
anirudhagar13/nwc_pattern_mining
f13a6c5e4be69a99f38000294033a82118345b78
[ "MIT" ]
null
null
null
src/nwc_pattern_miner/tests/pruning/test_ub_pruning.py
anirudhagar13/nwc_pattern_mining
f13a6c5e4be69a99f38000294033a82118345b78
[ "MIT" ]
1
2021-02-23T01:37:49.000Z
2021-02-23T01:37:49.000Z
import unittest import numpy as np import pandas as pd from module.patterncount import SequenceMap from module.mining import EnumeratedPattern from module.pruning import UBPruning class TestUBPruning(unittest.TestCase): engrpm = np.array([2015, 1755, 1076, 2015, 1755, 1076, 2014, 1755, 1076]) brkpw = np.array...
35.155172
91
0.689063
273
2,039
4.893773
0.395604
0.026198
0.017964
0.053892
0.214072
0.214072
0.214072
0.214072
0.214072
0.152695
0
0.078076
0.214811
2,039
57
92
35.77193
0.756402
0.104463
0
0.1
0
0
0.02309
0
0
0
0
0
0.025
1
0.025
false
0
0.15
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71709e5000efdc980bc1856f2a0d26d554718499
7,659
py
Python
PNCat.py
sys-core/PNCat
ff31b5b37b42b4dae26427e77c1fabd7fcdaa670
[ "CC0-1.0" ]
null
null
null
PNCat.py
sys-core/PNCat
ff31b5b37b42b4dae26427e77c1fabd7fcdaa670
[ "CC0-1.0" ]
null
null
null
PNCat.py
sys-core/PNCat
ff31b5b37b42b4dae26427e77c1fabd7fcdaa670
[ "CC0-1.0" ]
null
null
null
import sys import socket import getopt import threading import subprocess # définire quelque variables globales ecouter = False commande = False charger = False executer = "" charger_destination = "" port = 0 cible = "" def usage(): print "PNCat outil réseau" print print "Usag...
37.360976
137
0.483483
770
7,659
4.741558
0.331169
0.036154
0.011504
0.012051
0.057245
0.035333
0.022186
0.022186
0.022186
0.022186
0
0.01784
0.443792
7,659
204
138
37.544118
0.839202
0.176394
0
0.214815
0
0.014815
0.137942
0.007964
0
0
0
0
0.007407
0
null
null
0.007407
0.037037
null
null
0.125926
0
0
0
null
0
0
0
0
0
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
7174ce61bce081a80dab0e387af913ec2f43eecb
2,127
py
Python
apps/team/migrations/0005_auto_20210225_0740.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
3
2021-03-12T18:32:39.000Z
2021-11-08T10:21:04.000Z
apps/team/migrations/0005_auto_20210225_0740.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
null
null
null
apps/team/migrations/0005_auto_20210225_0740.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
2
2021-01-29T14:52:53.000Z
2022-03-05T10:24:24.000Z
# Generated by Django 3.1.5 on 2021-02-25 07:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('team', '0004_auto_202102...
54.538462
221
0.635637
236
2,127
5.567797
0.427966
0.041096
0.042618
0.066971
0.300609
0.267123
0.242009
0.242009
0.207002
0.207002
0
0.029621
0.206394
2,127
38
222
55.973684
0.748815
0.021157
0
0.0625
1
0
0.165865
0.031731
0
0
0
0
0
1
0
false
0
0.09375
0
0.1875
0
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
7178255f2f9eff64f3ef7257e38fc14e2bb75603
659
py
Python
hicstuff/__init__.py
zhuakexi/hicstuff
b74bec7f62c355d351a70751e20646b34dfa036f
[ "BSD-3-Clause" ]
22
2018-12-13T00:15:31.000Z
2022-03-14T12:30:02.000Z
hicstuff/__init__.py
zhuakexi/hicstuff
b74bec7f62c355d351a70751e20646b34dfa036f
[ "BSD-3-Clause" ]
53
2018-12-11T15:18:31.000Z
2022-03-17T13:43:05.000Z
hicstuff/__init__.py
zhuakexi/hicstuff
b74bec7f62c355d351a70751e20646b34dfa036f
[ "BSD-3-Clause" ]
7
2020-02-08T13:03:20.000Z
2022-01-27T12:31:22.000Z
"""Stuff to do with Hi-C data A simple library/pipeline to generate and handle simple Hi-C data. """ from .hicstuff import * __author__ = "Lyam Baudry, \ Axel Cournac, \ Cyril Matthey-Doret, \ Rémi Montagne, \ Vittore Scolari" __copyright__ = "Copyright © 2017...
24.407407
72
0.62519
73
659
5.273973
0.630137
0.103896
0.132468
0.109091
0.332468
0.332468
0.332468
0.332468
0.332468
0.332468
0
0.018595
0.265554
659
26
73
25.346154
0.774793
0.14264
0
0
1
0
0.314183
0.041293
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
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
71799c64e8670964510edd6968266d5dfdd78b60
11,556
py
Python
lunr/db/models.py
PythonGirlSam/lunr
9476436a46d377fab26674d41ac7444d98df1cbd
[ "Apache-2.0" ]
6
2015-11-09T14:16:26.000Z
2018-04-05T14:27:35.000Z
lunr/db/models.py
PythonGirlSam/lunr
9476436a46d377fab26674d41ac7444d98df1cbd
[ "Apache-2.0" ]
16
2016-01-28T20:16:47.000Z
2019-03-07T07:30:29.000Z
lunr/db/models.py
SaumyaRackspace/lunr
9476436a46d377fab26674d41ac7444d98df1cbd
[ "Apache-2.0" ]
18
2015-10-23T10:10:52.000Z
2020-12-15T07:11:52.000Z
#!/usr/bin/env python # Copyright (c) 2011-2016 Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
33.789474
79
0.633351
1,374
11,556
5.06623
0.197962
0.043097
0.024134
0.029881
0.325672
0.23919
0.190346
0.172389
0.154575
0.142508
0
0.014481
0.247058
11,556
341
80
33.888563
0.785542
0.085497
0
0.291339
0
0
0.086753
0.002004
0
0
0
0.002933
0
1
0.110236
false
0
0.059055
0.03937
0.566929
0
0
0
0
null
0
0
0
0
0
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
7180fcd61d7f083e6086eb09caee47561cccab87
35,675
py
Python
XOalign/XOalign.py
ErwinP/xdsme
ff834b048510724b977bab144a5cabae81eee512
[ "BSD-3-Clause" ]
11
2016-09-21T01:44:04.000Z
2021-11-15T04:11:29.000Z
XOalign/XOalign.py
ErwinP/xdsme
ff834b048510724b977bab144a5cabae81eee512
[ "BSD-3-Clause" ]
11
2016-09-09T15:00:15.000Z
2021-05-07T15:02:10.000Z
XOalign/XOalign.py
ErwinP/xdsme
ff834b048510724b977bab144a5cabae81eee512
[ "BSD-3-Clause" ]
8
2016-05-13T14:37:58.000Z
2019-09-10T12:38:31.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # Copyright (C) 2012, Pierre Legrand # 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 copyri...
36.62731
85
0.575501
4,353
35,675
4.643005
0.195268
0.003562
0.004503
0.002474
0.164663
0.121666
0.099253
0.090545
0.072931
0.060957
0
0.03863
0.307022
35,675
973
86
36.664954
0.778901
0.164821
0
0.177049
0
0.003279
0.296053
0.008903
0.001639
0
0
0
0
0
null
null
0.008197
0.022951
null
null
0.12459
0
0
0
null
0
0
0
0
0
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
7182de6b2928a7b5d219549de5faadf7581acff6
246
py
Python
website/home/urls.py
SebastiaanZ/minigigscyclingteam
6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e
[ "MIT" ]
null
null
null
website/home/urls.py
SebastiaanZ/minigigscyclingteam
6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e
[ "MIT" ]
9
2020-01-25T12:24:43.000Z
2022-03-12T00:18:38.000Z
website/home/urls.py
SebastiaanZ/minigigscyclingteam
6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e
[ "MIT" ]
null
null
null
from django.urls import path, re_path from .views import Home, News app_name = "home" urlpatterns = [ path('', Home.as_view(), name='index'), re_path(r'nieuws/(?P<pk>[\d]{1,})-(?P<slug>[\w-]+[\w]+)/$', News.as_view(), name='article') ]
24.6
95
0.605691
39
246
3.692308
0.615385
0.083333
0.138889
0
0
0
0
0
0
0
0
0.004695
0.134146
246
9
96
27.333333
0.671362
0
0
0
0
0
0.256098
0.191057
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7183ef4269c3b34c4198b61c93d624b81c6e5022
1,989
py
Python
apps/api/urls.py
Praetorian-Defence/praetorian-api
181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4
[ "MIT" ]
2
2020-06-29T15:12:04.000Z
2020-10-13T14:18:21.000Z
apps/api/urls.py
Praetorian-Defence/praetorian-api
181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4
[ "MIT" ]
10
2021-01-04T11:33:38.000Z
2021-05-07T10:23:48.000Z
apps/api/urls.py
zurek11/praetorian-api
181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4
[ "MIT" ]
null
null
null
from django.urls import path from apps.api.views import project, auth, user, remote, service, device, api_key, log_entry, temporary_user urlpatterns = [ # Authentication path('tokens/', auth.AuthUser.as_view(), name='auth-user'), path('2fa/', auth.Auth2fa.as_view(), name='auth-2fa'), # Api standard ...
48.512195
112
0.714932
250
1,989
5.52
0.268
0.082609
0.137681
0.04058
0.050725
0
0
0
0
0
0
0.003343
0.097536
1,989
40
113
49.725
0.76546
0.024133
0
0
0
0
0.321631
0.129582
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
718550bc33baa2349b4ed0ad0015eb94abf9f048
1,035
py
Python
combinedfile/main.py
raabsm/silvius
d2ea2e741c7f7c01bd4a676d66eab3ddf2dc7883
[ "BSD-2-Clause" ]
null
null
null
combinedfile/main.py
raabsm/silvius
d2ea2e741c7f7c01bd4a676d66eab3ddf2dc7883
[ "BSD-2-Clause" ]
null
null
null
combinedfile/main.py
raabsm/silvius
d2ea2e741c7f7c01bd4a676d66eab3ddf2dc7883
[ "BSD-2-Clause" ]
null
null
null
# Main file. Parse new commands from stdin until EOF. from scan import find_keywords from scan import scan from parse import parse from parse import GrammaticalError from parse import SingleInputParser import execute from ast import printAST import OLEDclass OLED = OLEDclass.OLEDclass() if __name__ == '__main__': ...
23.522727
67
0.606763
127
1,035
4.866142
0.464567
0.043689
0.072816
0
0
0
0
0
0
0
0
0.002766
0.301449
1,035
43
68
24.069767
0.852006
0.088889
0
0
0
0
0.020234
0
0
0
0
0
0
0
null
null
0
0.264706
null
null
0.205882
0
0
0
null
0
0
0
0
0
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
7192d1fbbcc2963e14a2e513ca12ef9060b051c8
22,495
py
Python
datastore/core/test/test_store.py
Swixx/py-datastore
dfa1f9dcc3cc3beac3c3e79d085cb6e89da97a1c
[ "MIT" ]
null
null
null
datastore/core/test/test_store.py
Swixx/py-datastore
dfa1f9dcc3cc3beac3c3e79d085cb6e89da97a1c
[ "MIT" ]
null
null
null
datastore/core/test/test_store.py
Swixx/py-datastore
dfa1f9dcc3cc3beac3c3e79d085cb6e89da97a1c
[ "MIT" ]
null
null
null
import importlib import logging from typing import Callable, List, Tuple, Type, TypeVar, Union, TYPE_CHECKING import pytest import trio.testing from datastore import BinaryDictDatastore, ObjectDictDatastore from datastore import BinaryNullDatastore, ObjectNullDatastore from datastore import Key from datastore import ...
28.619593
93
0.708869
3,291
22,495
4.712549
0.076572
0.046425
0.064092
0.026823
0.76936
0.715133
0.687149
0.642272
0.610097
0.579148
0
0.018713
0.137675
22,495
785
94
28.656051
0.780802
0.040276
0
0.609319
0
0
0.061893
0.02202
0
0
0
0
0.281362
1
0.02509
false
0.010753
0.021505
0.010753
0.062724
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
7196df947a719f1ad906027a0121949c2fb6e0d6
1,039
py
Python
python/oneflow/framework/tensor_tuple_util.py
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
3,285
2020-07-31T05:51:22.000Z
2022-03-31T15:20:16.000Z
python/oneflow/framework/tensor_tuple_util.py
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
2,417
2020-07-31T06:28:58.000Z
2022-03-31T23:04:14.000Z
python/oneflow/framework/tensor_tuple_util.py
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
520
2020-07-31T05:52:42.000Z
2022-03-29T02:38:11.000Z
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
32.46875
77
0.758422
146
1,039
5.342466
0.60274
0.076923
0.033333
0.041026
0
0
0
0
0
0
0
0.009379
0.179018
1,039
31
78
33.516129
0.905041
0.559192
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
719963f42385986d1f11536271822b722ef3125b
428
py
Python
Ruby/migrations/0007_alter_user_cart_list.py
IHIMEKPEN/RubyStore
1914dd8138a2aa5b63f5c1f611b02fab14802aa5
[ "MIT" ]
null
null
null
Ruby/migrations/0007_alter_user_cart_list.py
IHIMEKPEN/RubyStore
1914dd8138a2aa5b63f5c1f611b02fab14802aa5
[ "MIT" ]
null
null
null
Ruby/migrations/0007_alter_user_cart_list.py
IHIMEKPEN/RubyStore
1914dd8138a2aa5b63f5c1f611b02fab14802aa5
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-17 14:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Ruby', '0006_auto_20211117_1510'), ] operations = [ migrations.AlterField( model_name='user', name='cart_list', ...
22.526316
94
0.61215
48
428
5.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.098413
0.264019
428
18
95
23.777778
0.714286
0.10514
0
0
1
0
0.149606
0.060367
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
719adc4b98d41e3b9af014ef9c2f1a8d97e8ddaa
2,207
py
Python
src/record_label/migrations/0001_initial.py
RamParameswaran/energyaustralia-coding-test
bf9e274dbfb8f7f38e9528a945bbafff642ae33f
[ "MIT" ]
null
null
null
src/record_label/migrations/0001_initial.py
RamParameswaran/energyaustralia-coding-test
bf9e274dbfb8f7f38e9528a945bbafff642ae33f
[ "MIT" ]
null
null
null
src/record_label/migrations/0001_initial.py
RamParameswaran/energyaustralia-coding-test
bf9e274dbfb8f7f38e9528a945bbafff642ae33f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-29 00:05 from django.db import migrations, models import django.db.models.deletion import django.db.models.functions.text class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name=...
36.783333
140
0.563208
215
2,207
5.67907
0.297674
0.052416
0.080262
0.075348
0.660115
0.638002
0.638002
0.638002
0.638002
0.551188
0
0.015474
0.297236
2,207
59
141
37.40678
0.77176
0.02039
0
0.576923
1
0
0.093981
0.021296
0
0
0
0
0
1
0
false
0
0.057692
0
0.134615
0
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
71a5fb9ae717fb7efd6402472333e7fd55e9e2f9
557
py
Python
Python Snippets with Documentation/05 Data Structures/23 Exercise.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
1
2021-09-27T16:47:25.000Z
2021-09-27T16:47:25.000Z
Python Snippets with Documentation/05 Data Structures/23 Exercise.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
null
null
null
Python Snippets with Documentation/05 Data Structures/23 Exercise.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
1
2021-09-27T16:47:33.000Z
2021-09-27T16:47:33.000Z
# 23 Exercise # Write a program to find the most repeated character in this sentence from pprint import pprint sentence = "This is a commom interview question" char_frequency= {} for char in sentence: if char in char_frequency: char_frequency[char] += 1 else: char_frequency[char] = 1 # print...
25.318182
81
0.752244
80
557
5.05
0.475
0.225248
0.126238
0.089109
0
0
0
0
0
0
0
0.015054
0.165171
557
22
82
25.318182
0.853763
0.244165
0
0
0
0
0.083933
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.25
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
71aa48b7ba27a847b31af846b83b8c402b83aa30
7,136
py
Python
test/tools/gcov_coveralls.py
skorpy2009/rspamd
30cbcd080977a0c00cbe160d6a350549ea4bf7fd
[ "Apache-2.0" ]
1
2020-07-02T01:32:52.000Z
2020-07-02T01:32:52.000Z
test/tools/gcov_coveralls.py
skorpy2009/rspamd
30cbcd080977a0c00cbe160d6a350549ea4bf7fd
[ "Apache-2.0" ]
null
null
null
test/tools/gcov_coveralls.py
skorpy2009/rspamd
30cbcd080977a0c00cbe160d6a350549ea4bf7fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ Script to save coverage info for C source files in JSON for coveralls.io When C code compiled with --coverage flag, for each object files *.gcno is generated, it contains information to reconstruct the basic block graphs and assign source line numbers to blocks When binary executed *.gcda f...
34.47343
109
0.61421
937
7,136
4.591249
0.326574
0.029289
0.015109
0.019758
0.036262
0.009763
0
0
0
0
0
0.003176
0.294002
7,136
206
110
34.640777
0.850734
0.340247
0
0.183333
1
0.008333
0.189622
0.009081
0
0
0
0
0.008333
1
0.033333
false
0
0.083333
0
0.125
0.008333
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
71af4c6f8b5b844addab684bada4407203a22e01
13,893
py
Python
test/test_common.py
C2Devel/mongo-python-driver
7b090b9c89a52504ac85af6028a52a4a4af35221
[ "Apache-2.0" ]
null
null
null
test/test_common.py
C2Devel/mongo-python-driver
7b090b9c89a52504ac85af6028a52a4a4af35221
[ "Apache-2.0" ]
null
null
null
test/test_common.py
C2Devel/mongo-python-driver
7b090b9c89a52504ac85af6028a52a4a4af35221
[ "Apache-2.0" ]
1
2018-10-19T09:05:26.000Z
2018-10-19T09:05:26.000Z
# Copyright 2011-2012 10gen, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
38.484765
86
0.638235
1,685
13,893
5.103858
0.12819
0.09593
0.039302
0.037442
0.720698
0.693256
0.647674
0.609535
0.591628
0.569535
0
0.011331
0.237746
13,893
360
87
38.591667
0.800755
0.071331
0
0.693103
0
0
0.038602
0.009165
0
0
0
0
0.503448
1
0.024138
false
0
0.044828
0
0.072414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
71b037c3abeacda7907851138191dd20d7ce9ac7
1,533
py
Python
cyborg/accelerator/drivers/fpga/base.py
NeCTAR-RC/cyborg
e0fab29181467c0c72667ea26a8b04c53b238ddb
[ "Apache-2.0" ]
37
2017-03-23T02:10:35.000Z
2021-11-25T07:57:36.000Z
cyborg/accelerator/drivers/fpga/base.py
openstack/nomad
8cd846a16c2da04c2f204b02b90db814e32acd63
[ "Apache-2.0" ]
null
null
null
cyborg/accelerator/drivers/fpga/base.py
openstack/nomad
8cd846a16c2da04c2f204b02b90db814e32acd63
[ "Apache-2.0" ]
27
2017-07-14T02:26:24.000Z
2022-01-19T07:55:10.000Z
# Copyright 2018 Intel, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
28.388889
76
0.678408
194
1,533
5.293814
0.57732
0.058423
0.025316
0.031159
0
0
0
0
0
0
0
0.012744
0.232224
1,533
53
77
28.924528
0.859813
0.463144
0
0.2
0
0
0.075738
0
0
0
0.007702
0
0
1
0.25
false
0.05
0.05
0.05
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
71b297d2a3e2fb8b0984de5aef77f672591154dd
10,256
py
Python
nova/network/quantum/nova_ipam_lib.py
bopopescu/openstack-12
2c7e0d1e63cae7aaa38095439843c9a2abb0382b
[ "Apache-2.0" ]
null
null
null
nova/network/quantum/nova_ipam_lib.py
bopopescu/openstack-12
2c7e0d1e63cae7aaa38095439843c9a2abb0382b
[ "Apache-2.0" ]
null
null
null
nova/network/quantum/nova_ipam_lib.py
bopopescu/openstack-12
2c7e0d1e63cae7aaa38095439843c9a2abb0382b
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 Nicira Networks, Inc # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apach...
42.205761
78
0.606572
1,279
10,256
4.640344
0.220485
0.056613
0.025611
0.036394
0.217186
0.202022
0.171862
0.134962
0.104802
0.098568
0
0.008481
0.31016
10,256
242
79
42.380165
0.830389
0.278764
0
0.132867
0
0
0.070605
0
0
0
0
0.012397
0
1
0.118881
false
0
0.048951
0.020979
0.27972
0
0
0
0
null
0
0
0
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
71b34a25b0e138784660ac92009b1d19800ad7d5
521
py
Python
poe_client/schemas/filter.py
moowiz/poe-client
f6d1e45039e3f683ef8a95f2a75f44cb5d5aa359
[ "MIT" ]
5
2021-07-21T22:37:04.000Z
2022-02-02T10:27:27.000Z
poe_client/schemas/filter.py
moowiz/poe-client
f6d1e45039e3f683ef8a95f2a75f44cb5d5aa359
[ "MIT" ]
2
2021-12-16T07:18:45.000Z
2022-01-13T07:41:01.000Z
poe_client/schemas/filter.py
moowiz/poe-client
f6d1e45039e3f683ef8a95f2a75f44cb5d5aa359
[ "MIT" ]
4
2021-12-09T16:58:34.000Z
2022-01-28T09:27:20.000Z
from datetime import datetime from typing import Optional from poe_client.schemas import Model class Validation(Model): """Dataclass to describe the validation field of an ItemFilter.""" valid: bool version: Optional[str] validated: Optional[datetime] class ItemFilter(Model): """Dataclass to d...
20.038462
70
0.704415
62
521
5.887097
0.5
0.076712
0.087671
0.131507
0
0
0
0
0
0
0
0
0.216891
521
25
71
20.84
0.894608
0.18618
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.1875
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71bf2608825f74af9618b630200c7fabdb86d633
1,232
py
Python
applications/AE2/models/menu.py
Mexarm/web2pytests
d8917751cbc5f0adc6f9f7f47654dae2e6b591d4
[ "BSD-3-Clause" ]
null
null
null
applications/AE2/models/menu.py
Mexarm/web2pytests
d8917751cbc5f0adc6f9f7f47654dae2e6b591d4
[ "BSD-3-Clause" ]
null
null
null
applications/AE2/models/menu.py
Mexarm/web2pytests
d8917751cbc5f0adc6f9f7f47654dae2e6b591d4
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations ######################################################################### ## Customize your APP title, subtitle and menus here ######################################################################### response.logo...
39.741935
79
0.539773
123
1,232
5.365854
0.739837
0.054545
0
0
0
0
0
0
0
0
0
0.004541
0.106331
1,232
30
80
41.066667
0.594914
0.298701
0
0
0
0
0.389286
0.058929
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71c4d952da2b992d259732bbc023301bca8ee31b
3,558
py
Python
data_scraper/mappings.py
jonathanhild/recalls-dashboard
0d2c14ffc878788175c36bd0e9b52d483510477b
[ "MIT" ]
null
null
null
data_scraper/mappings.py
jonathanhild/recalls-dashboard
0d2c14ffc878788175c36bd0e9b52d483510477b
[ "MIT" ]
null
null
null
data_scraper/mappings.py
jonathanhild/recalls-dashboard
0d2c14ffc878788175c36bd0e9b52d483510477b
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Jonathan Hildenbrand # # This software is released under the MIT License. # https://opensource.org/licenses/MIT from sqlalchemy import Column, Integer, String, Date, ForeignKey from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base Base = declarative_base...
29.404959
70
0.613547
358
3,558
5.798883
0.265363
0.144509
0.050578
0.042389
0.177264
0.177264
0.177264
0.177264
0.177264
0.177264
0
0.003235
0.304947
3,558
120
71
29.65
0.836231
0.046093
0
0.215909
0
0
0.039268
0.012696
0
0
0
0
0
1
0.056818
false
0
0.034091
0.034091
0.647727
0
0
0
0
null
0
0
0
0
0
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
71c61af755dc32649a099179f71a8dd58213ae98
589
py
Python
source/ProblemSet2/pset2a.py
ahmedraza007/6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python
a2e3960c8e703148e6c8d5d397baea7283f209dc
[ "MIT" ]
null
null
null
source/ProblemSet2/pset2a.py
ahmedraza007/6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python
a2e3960c8e703148e6c8d5d397baea7283f209dc
[ "MIT" ]
null
null
null
source/ProblemSet2/pset2a.py
ahmedraza007/6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python
a2e3960c8e703148e6c8d5d397baea7283f209dc
[ "MIT" ]
null
null
null
balance = float(raw_input("enter balance: ")) annualInterestRate = float(raw_input("enter annual interest rate: ")) monthlyPaymentRate = float(raw_input("enter monthly payment rate: ")) z = 0 for n in range(12): minpay = balance*monthlyPaymentRate ub = balance - minpay mir = annualInterestRate/12.0 i = ub*mir fb ...
28.047619
69
0.684211
87
589
4.597701
0.390805
0.06
0.0975
0.135
0.15
0.15
0.15
0
0
0
0
0.028689
0.171477
589
21
70
28.047619
0.790984
0
0
0.1
0
0
0.257627
0
0
0
0
0
0
0
null
null
0
0
null
null
0.35
0
0
0
null
0
0
0
0
0
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
71c6f16fe463776f78b1cae23430d7c458394ea2
891
py
Python
setup.py
dsiddy/lightning
97815461a54d574da0a37b5a642129fb19bcc7e3
[ "MIT" ]
1
2019-09-01T00:26:14.000Z
2019-09-01T00:26:14.000Z
setup.py
dsiddy/lightning
97815461a54d574da0a37b5a642129fb19bcc7e3
[ "MIT" ]
null
null
null
setup.py
dsiddy/lightning
97815461a54d574da0a37b5a642129fb19bcc7e3
[ "MIT" ]
null
null
null
"""Boilerplate for publishing Python packages. See <https://packaging.python.org/guides/distributing-packages-using-setuptools/> for more information. # noqa: E501 """ import setuptools setuptools.setup( name='lightning', version='0.0.1', description='', # long_description='', url='https://www...
21.731707
117
0.575758
75
891
6.746667
0.72
0.083004
0
0
0
0
0
0
0
0
0
0.012103
0.258137
891
40
118
22.275
0.753404
0.358025
0
0.105263
0
0
0.339964
0.047016
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
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
71d3f622e826cca7e475b8a19c03c23b87de15bb
577
py
Python
day01/part1.py
stevotvr/adventofcode2016
a3b811d88fabdd632682c95b107923da720e237a
[ "Unlicense" ]
3
2016-12-03T00:50:16.000Z
2016-12-03T22:40:51.000Z
day01/part1.py
ultramega/adventofcode2016
a3b811d88fabdd632682c95b107923da720e237a
[ "Unlicense" ]
null
null
null
day01/part1.py
ultramega/adventofcode2016
a3b811d88fabdd632682c95b107923da720e237a
[ "Unlicense" ]
2
2018-12-10T20:30:57.000Z
2021-02-26T00:13:15.000Z
x = y = direction = 0 moves = open('input.txt', 'r').readline().strip().split(', ') for move in moves: if move[0] == 'L': if direction == 0: direction = 3 else: direction -= 1 elif move[0] == 'R': if direction == 3: direction = 0 else: ...
20.607143
61
0.450607
71
577
3.661972
0.380282
0.153846
0.196154
0.138462
0
0
0
0
0
0
0
0.03966
0.388215
577
27
62
21.37037
0.696884
0
0
0.166667
0
0
0.024263
0
0
0
0
0
0
1
0
false
0
0
0
0
0.041667
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
71d466b7f92d0e89a30466ccd5e4ef89952e75c3
2,434
py
Python
concourse/model/traits/__init__.py
EmoinLanyu/cc-utils
d075f161d955ad88040b28d3143f627c944d566b
[ "Apache-2.0" ]
null
null
null
concourse/model/traits/__init__.py
EmoinLanyu/cc-utils
d075f161d955ad88040b28d3143f627c944d566b
[ "Apache-2.0" ]
null
null
null
concourse/model/traits/__init__.py
EmoinLanyu/cc-utils
d075f161d955ad88040b28d3143f627c944d566b
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019-2020 SAP SE or an SAP affiliate company. All rights reserved. This file is # licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the L...
36.328358
96
0.771569
290
2,434
6.389655
0.475862
0.037777
0.017269
0.023745
0
0
0
0
0
0
0
0.006363
0.160641
2,434
66
97
36.878788
0.900636
0.292112
0
0
0
0
0.110656
0.012295
0
0
0
0
0
1
0.022727
false
0
0.409091
0
0.477273
0
0
0
0
null
0
0
0
0
0
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
71e389499ac251a95a4cf7b13f8af0e7d6c6d09a
6,132
py
Python
opencanary/modules/mysql.py
joubin/opencanary
2eb0d48e7f14d0894ee61e74f6c31d11b083010f
[ "BSD-3-Clause" ]
1
2020-07-28T06:49:06.000Z
2020-07-28T06:49:06.000Z
opencanary/modules/mysql.py
MikeLindner/opencanary
c2cd7ee5cf411f8eb1d8fd4f27c343fb62cd6570
[ "BSD-3-Clause" ]
null
null
null
opencanary/modules/mysql.py
MikeLindner/opencanary
c2cd7ee5cf411f8eb1d8fd4f27c343fb62cd6570
[ "BSD-3-Clause" ]
null
null
null
from opencanary.modules import CanaryService from opencanary.config import ConfigException, PY3 from twisted.protocols.policies import TimeoutMixin from twisted.internet.protocol import Protocol from twisted.internet.protocol import Factory from twisted.application import internet from random import randint import st...
35.859649
334
0.61546
785
6,132
4.658599
0.298089
0.027345
0.019688
0.02297
0.121958
0.097348
0.097348
0.08805
0.08805
0.038283
0
0.044946
0.270711
6,132
170
335
36.070588
0.772809
0.070776
0
0.148438
0
0.007813
0.090733
0.047653
0
0
0.007737
0.005882
0
1
0.125
false
0.0625
0.070313
0.007813
0.414063
0
0
0
0
null
0
0
0
0
0
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
71e7d04ae04d733286e8b6c1b56a8c1afd05886c
368
py
Python
app/core/migrations/0003_auto_20210909_1523.py
clicktravel-andrew/tk_django_exercise
a23ebe8fc4d8ea2b39325aa2bc0126d4666eb1dc
[ "MIT" ]
null
null
null
app/core/migrations/0003_auto_20210909_1523.py
clicktravel-andrew/tk_django_exercise
a23ebe8fc4d8ea2b39325aa2bc0126d4666eb1dc
[ "MIT" ]
null
null
null
app/core/migrations/0003_auto_20210909_1523.py
clicktravel-andrew/tk_django_exercise
a23ebe8fc4d8ea2b39325aa2bc0126d4666eb1dc
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2021-09-09 15:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0002_ingredient'), ] operations = [ migrations.AlterField( model_name='recipe', name='description', ...
19.368421
48
0.581522
37
368
5.72973
0.783784
0
0
0
0
0
0
0
0
0
0
0.077821
0.30163
368
18
49
20.444444
0.747082
0.125
0
0
1
0
0.1125
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e083db695680a4833b860c9c95601e695d73d9a3
9,367
py
Python
flsim/data/data_sharder.py
karthikprasad/FLSim
3c62fe83de2f06feffb9ed65ce9f71803bbd6027
[ "Apache-2.0" ]
null
null
null
flsim/data/data_sharder.py
karthikprasad/FLSim
3c62fe83de2f06feffb9ed65ce9f71803bbd6027
[ "Apache-2.0" ]
null
null
null
flsim/data/data_sharder.py
karthikprasad/FLSim
3c62fe83de2f06feffb9ed65ce9f71803bbd6027
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from __future__ import annotations import abc import random from collections import defaultdict from dataclass...
32.524306
89
0.64898
1,137
9,367
5.116974
0.21372
0.02647
0.017188
0.027501
0.398591
0.352355
0.302166
0.302166
0.284806
0.275352
0
0.007061
0.259101
9,367
287
90
32.637631
0.831268
0.232839
0
0.497207
0
0
0.035867
0
0
0
0
0.013937
0.027933
1
0.106145
false
0.011173
0.067039
0.005587
0.402235
0
0
0
0
null
0
0
0
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
e08b3ea32e5bbd53a7b664e8ad00f11c7fac4ae6
1,448
py
Python
bin/sa_haveibeenpwned/aob_py2/future/builtins/iterators.py
hRun/SA-haveibeenpwned
2a8ae3dedc405dc3c8dac1cb6a705a70f574afdb
[ "Apache-2.0" ]
2
2020-08-17T07:52:48.000Z
2020-12-18T16:39:32.000Z
bin/sa_haveibeenpwned/aob_py3/future/builtins/iterators.py
hRun/SA-haveibeenpwned
2a8ae3dedc405dc3c8dac1cb6a705a70f574afdb
[ "Apache-2.0" ]
5
2020-12-15T23:40:14.000Z
2022-02-23T15:43:18.000Z
bin/sa_haveibeenpwned/aob_py2/future/builtins/iterators.py
hRun/SA-haveibeenpwned
2a8ae3dedc405dc3c8dac1cb6a705a70f574afdb
[ "Apache-2.0" ]
4
2019-05-16T09:57:33.000Z
2021-07-14T12:31:21.000Z
""" This module is designed to be used as follows:: from future.builtins.iterators import * And then, for example:: for i in range(10**15): pass for (a, b) in zip(range(10**15), range(-10**15, 0)): pass Note that this is standard Python 3 code, plus some imports that do no...
27.320755
74
0.667818
206
1,448
4.601942
0.436893
0.03692
0.028481
0.031646
0
0
0
0
0
0
0
0.01982
0.233425
1,448
52
75
27.846154
0.834234
0.64779
0
0
0
0
0.037778
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
0
0
0
0
1
0
0
0
0
1
e08f74348478839f87f2da438ada0780357e7629
1,318
py
Python
second class with dr. kazeem.py
dave-ik/davidCSC102
68d1acb20d028136bd9f00ad3d68d7cb5368c3c4
[ "MIT" ]
null
null
null
second class with dr. kazeem.py
dave-ik/davidCSC102
68d1acb20d028136bd9f00ad3d68d7cb5368c3c4
[ "MIT" ]
null
null
null
second class with dr. kazeem.py
dave-ik/davidCSC102
68d1acb20d028136bd9f00ad3d68d7cb5368c3c4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue May 25 11:16:49 2021 @author: SST-Lab """ class XBank: loggedinCounter = 0 def _init_(self, atmpin, theaccountbalance, thename): self.atmpin = theatmpin self.accountbalance = theaccountbalance self.name = thename XBank.loggedinCounter ...
26.897959
87
0.620637
161
1,318
5.068323
0.546584
0.036765
0.039216
0.04902
0.061275
0
0
0
0
0
0
0.023139
0.245827
1,318
49
88
26.897959
0.797787
0.072079
0
0
0
0
0.204938
0.032099
0
0
0
0
0
1
0.121212
false
0.121212
0
0
0.181818
0.151515
0
0
0
null
0
0
0
0
0
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
e092cf2f2f03240fce789d7689bee2c57d684faa
1,892
py
Python
sa/profiles/Cisco/SMB/get_portchannel.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
sa/profiles/Cisco/SMB/get_portchannel.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
sa/profiles/Cisco/SMB/get_portchannel.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# ---------------------------------------------------------------------- # Cisco.SMB.get_portchannel # ---------------------------------------------------------------------- # Copyright (C) 2007-2019 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Py...
35.037037
107
0.459831
197
1,892
4.370558
0.48731
0.02439
0.025552
0.051103
0
0
0
0
0
0
0
0.013699
0.305497
1,892
53
108
35.698113
0.641553
0.27167
0
0
0
0.026316
0.135432
0.068082
0
0
0
0.018868
0
1
0.052632
false
0
0.105263
0
0.289474
0
0
0
0
null
0
0
0
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
e094dc4e23c1612160a01db2c8b7a4eae9705d4e
200
py
Python
run.py
VitorBonella/ProjetoIntegrado1-2021-1
3193dd1967b1b8ea4fd3a46517e6de054da47d28
[ "MIT" ]
1
2021-09-02T16:24:12.000Z
2021-09-02T16:24:12.000Z
run.py
VitorBonella/ProjetoIntegrado1-2021-1
3193dd1967b1b8ea4fd3a46517e6de054da47d28
[ "MIT" ]
null
null
null
run.py
VitorBonella/ProjetoIntegrado1-2021-1
3193dd1967b1b8ea4fd3a46517e6de054da47d28
[ "MIT" ]
null
null
null
""" Módulo de inicialização do servidor """ from app import app import os import locale if __name__ == "__main__": port = int(os.environ.get("PORT", 5000)) app.run(host="0.0.0.0", port=port)
18.181818
44
0.67
32
200
3.9375
0.65625
0.047619
0.047619
0
0
0
0
0
0
0
0
0.048193
0.17
200
10
45
20
0.710843
0.175
0
0
0
0
0.121019
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e09569e7941e231b97ea7f9fa4bcbe227b1e62a2
808
py
Python
scripts/pipelines/setup.py
daaaaande/circs_snake
941ba8e5bcdb63797d9957ccea988f245a61b922
[ "MIT" ]
59
2015-01-15T19:12:32.000Z
2022-03-18T10:00:46.000Z
scripts/pipelines/setup.py
daaaaande/circs_snake
941ba8e5bcdb63797d9957ccea988f245a61b922
[ "MIT" ]
16
2015-01-21T01:16:39.000Z
2021-05-09T00:58:56.000Z
scripts/pipelines/setup.py
daaaaande/circs_snake
941ba8e5bcdb63797d9957ccea988f245a61b922
[ "MIT" ]
33
2015-03-12T05:36:25.000Z
2021-12-10T08:56:53.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name='CIRCexplorer', version='1.1.10', description='A combined strategy to identify circular RNAs (circRNAs and ciRNAs)', author='Xiao-Ou Zhang', author_email='zhangxiaoou@picb.ac.cn', maintai...
28.857143
88
0.589109
92
808
5.054348
0.728261
0.03871
0.034409
0
0
0
0
0
0
0
0
0.013468
0.264851
808
27
89
29.925926
0.76936
0.05198
0
0.086957
0
0
0.429319
0.167539
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
0
0
0
0
null
0
0
0
0
0
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
e09e633342749e862040cebeccc6ce9eac0e840b
8,632
py
Python
Signature electronique/M2Crypto/contrib/isaac.httpslib.py
PL4typus/SysNetProject17
283c127a3363876360bc52b54eae939c6104c6b4
[ "MIT" ]
null
null
null
Signature electronique/M2Crypto/contrib/isaac.httpslib.py
PL4typus/SysNetProject17
283c127a3363876360bc52b54eae939c6104c6b4
[ "MIT" ]
null
null
null
Signature electronique/M2Crypto/contrib/isaac.httpslib.py
PL4typus/SysNetProject17
283c127a3363876360bc52b54eae939c6104c6b4
[ "MIT" ]
null
null
null
from __future__ import print_function """M2Crypto support for Python 2.x's httplib. Copyright (c) 1999-2002 Ng Pheng Siong. All rights reserved.""" import string import SSL from httplib import FakeSocket, HTTP, HTTPConnection, HTTPResponse, HTTPS_PORT class HTTPSConnection(HTTPConnection): """ This clas...
36.117155
85
0.635658
1,054
8,632
5.079696
0.247628
0.019425
0.018678
0.020919
0.385133
0.331341
0.322002
0.280164
0.280164
0.280164
0
0.013168
0.26981
8,632
238
86
36.268908
0.836268
0.403151
0
0.295238
0
0
0.039174
0
0
0
0
0
0.009524
1
0.114286
false
0.104762
0.057143
0
0.266667
0.019048
0
0
0
null
0
0
0
0
0
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
e0a28e97e53db541ef67b970749c32b4e65a0b35
1,785
py
Python
src/cnaas_nms/db/linknet.py
krihal/cnaas-nms
16af6dd9e9748a708e12442b63838ad6c6d29f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/cnaas_nms/db/linknet.py
krihal/cnaas-nms
16af6dd9e9748a708e12442b63838ad6c6d29f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/cnaas_nms/db/linknet.py
krihal/cnaas-nms
16af6dd9e9748a708e12442b63838ad6c6d29f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import ipaddress import enum import datetime from sqlalchemy import Column, Integer, Unicode, UniqueConstraint from sqlalchemy import ForeignKey from sqlalchemy.orm import relationship from sqlalchemy_utils import IPAddressType import cnaas_nms.db.base import cnaas_nms.db.site import cnaas_nms.db.device class Linkn...
33.679245
69
0.673389
214
1,785
5.303738
0.303738
0.043172
0.044053
0.042291
0.259031
0.068722
0.068722
0
0
0
0
0.007954
0.22521
1,785
52
70
34.326923
0.812726
0.016807
0
0.045455
0
0
0.054951
0
0
0
0
0
0
1
0.022727
false
0
0.227273
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e0a66e4fed6c6488799708c43dd5f5256bd1e21a
25,318
py
Python
docker_containers/eas_base/python_modules/plato_wp36/src/plato_wp36/lightcurve.py
dcf21/plato-wp36-v2
9e7a215fbc0c3a1ce38369cbb54ffb7f84a9d8d7
[ "MIT" ]
null
null
null
docker_containers/eas_base/python_modules/plato_wp36/src/plato_wp36/lightcurve.py
dcf21/plato-wp36-v2
9e7a215fbc0c3a1ce38369cbb54ffb7f84a9d8d7
[ "MIT" ]
null
null
null
docker_containers/eas_base/python_modules/plato_wp36/src/plato_wp36/lightcurve.py
dcf21/plato-wp36-v2
9e7a215fbc0c3a1ce38369cbb54ffb7f84a9d8d7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # lightcurve.py """ Classes for representing light curves, either on arbitrary time rasters, or on rasters with fixed step. """ # This allows class methods to type-hint their arguments as being class instances, before the class is fully defined from __future__ import annotations import gzip i...
33.892905
118
0.60767
2,866
25,318
5.230635
0.110258
0.030018
0.020412
0.023481
0.700287
0.687146
0.674938
0.666667
0.653192
0.644387
0
0.006359
0.316731
25,318
746
119
33.938338
0.860223
0.303223
0
0.594427
0
0
0.019793
0
0
0
0
0
0.034056
1
0.111455
false
0
0.037152
0
0.232198
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
e0af1e1269d81835ace24694def5e009847abb86
1,456
py
Python
tests/test_driver.py
suddrey-qut/armer
ebe74c487c74138eba07f204c87aa433b9cdf0fc
[ "MIT" ]
10
2021-08-02T03:42:07.000Z
2022-03-22T10:16:38.000Z
tests/test_driver.py
suddrey-qut/armer
ebe74c487c74138eba07f204c87aa433b9cdf0fc
[ "MIT" ]
14
2021-06-24T23:30:28.000Z
2021-12-14T02:11:15.000Z
tests/test_driver.py
suddrey-qut/armer
ebe74c487c74138eba07f204c87aa433b9cdf0fc
[ "MIT" ]
5
2021-07-15T04:34:44.000Z
2021-12-14T14:19:45.000Z
#!/usr/bin/env python """ @author: Gavin Suddrey """ import unittest import subprocess import signal import time import rospy from roboticstoolbox.backends.swift import Swift from roboticstoolbox.models.URDF.Panda import Panda from armer.robots.ROSRobot import ROSRobot class TestDriver(unittest.TestCase): """ ...
24.677966
100
0.627747
157
1,456
5.700637
0.471338
0.044693
0.042458
0.044693
0.12067
0.12067
0.12067
0.12067
0.12067
0
0
0.002788
0.260989
1,456
58
101
25.103448
0.828996
0.144918
0
0.114286
0
0
0.041773
0
0
0
0
0
0.057143
1
0.142857
false
0
0.314286
0
0.485714
0
0
0
0
null
0
0
0
0
0
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
e0b3ddfdb61d8cb2c495ab91814ea0c4adf4a781
2,248
py
Python
src/update_all_complexes.py
lubianat/complex_bot
e0ddabcc0487c52b14fb94950c5a812f0bdb2283
[ "MIT" ]
1
2021-10-06T00:21:10.000Z
2021-10-06T00:21:10.000Z
src/update_all_complexes.py
lubianat/complex_bot
e0ddabcc0487c52b14fb94950c5a812f0bdb2283
[ "MIT" ]
14
2021-01-15T21:51:38.000Z
2021-11-10T10:08:22.000Z
src/update_all_complexes.py
lubianat/complex_bot
e0ddabcc0487c52b14fb94950c5a812f0bdb2283
[ "MIT" ]
1
2021-01-18T10:32:56.000Z
2021-01-18T10:32:56.000Z
# Code modified from original by @jvfe (BSD2) # Copyright (c) 2020, jvfe # https://github.com/jvfe/wdt_contribs/tree/master/complex_portal/src import pandas as pd from wikidataintegrator import wdi_login import utils from login import WDPASS, WDUSER # Imported from the environment on Jenkins # from login import WDPAS...
27.414634
90
0.661032
287
2,248
4.947735
0.407666
0.054225
0.047887
0.029577
0.069014
0
0
0
0
0
0
0.009456
0.247331
2,248
81
91
27.753086
0.829787
0.117438
0
0.1
0
0
0.178048
0.011634
0
0
0
0
0
1
0.016667
false
0.083333
0.116667
0
0.133333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e0be90ab56c56c737ded10dd22243c76a45b786a
9,600
py
Python
pycco_resources/__init__.py
Penagwin/pycco
af28c1f7fa0b07687408d446b30d3270d0c899cc
[ "MIT" ]
null
null
null
pycco_resources/__init__.py
Penagwin/pycco
af28c1f7fa0b07687408d446b30d3270d0c899cc
[ "MIT" ]
null
null
null
pycco_resources/__init__.py
Penagwin/pycco
af28c1f7fa0b07687408d446b30d3270d0c899cc
[ "MIT" ]
null
null
null
import pystache css = """\ .pydoc { padding-top: 0px!important; padding-bottom: 0px!important; margin-top: 0px!important; padding-left: 15px; margin-bottom: 0px!important; font-size: .75em!important; background-color: #fafafa; } .def.nf{ font-wieght: lighter; font-size: .9em; } .class.nf code::be...
29.357798
81
0.55625
1,098
9,600
4.846995
0.309654
0.030064
0.042089
0.027058
0.128711
0.09395
0.015408
0
0
0
0
0.07392
0.274271
9,600
326
82
29.447853
0.689967
0.007188
0
0.154605
0
0.019737
0.982999
0.058138
0
0
0
0
0
1
0.003289
false
0
0.049342
0.003289
0.055921
0
0
0
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
e0c7ba4f781f5c42a2a2117ba3b8362f6287fbec
206
py
Python
3. Comando Condicional/Lista 02/quest 01.py
enosteteo/Introducao-a-Programacao-P1
bd8f90c96fd16c88e7dc7136942fe29a828f86fa
[ "MIT" ]
null
null
null
3. Comando Condicional/Lista 02/quest 01.py
enosteteo/Introducao-a-Programacao-P1
bd8f90c96fd16c88e7dc7136942fe29a828f86fa
[ "MIT" ]
null
null
null
3. Comando Condicional/Lista 02/quest 01.py
enosteteo/Introducao-a-Programacao-P1
bd8f90c96fd16c88e7dc7136942fe29a828f86fa
[ "MIT" ]
null
null
null
# Quest 01 num = int(input("Digite um número: ")) positivo = num > 0 negativo = num < 0 neutro = num == 0 if (positivo): print("Positivo") elif(negativo): print("Negativo") else: print("Neutro")
18.727273
38
0.626214
28
206
4.607143
0.571429
0.093023
0
0
0
0
0
0
0
0
0
0.030488
0.203884
206
11
39
18.727273
0.756098
0.038835
0
0
0
0
0.203046
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3
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
e0cba7530f3c8d7201fda0a260ba18ddbcf41e75
2,159
py
Python
artifact/paper-scripts/cmail_loc.py
herbelin/perennial
49b044fa83b4df2dc23262571e79c1165006bdc8
[ "MIT" ]
null
null
null
artifact/paper-scripts/cmail_loc.py
herbelin/perennial
49b044fa83b4df2dc23262571e79c1165006bdc8
[ "MIT" ]
null
null
null
artifact/paper-scripts/cmail_loc.py
herbelin/perennial
49b044fa83b4df2dc23262571e79c1165006bdc8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # when run, prints out aggregate lines of code from the CSPEC lines of code # table import pandas as pd from io import StringIO def get_data(): cspec_table = """ layer spec code proof MailServerComposed 78 11 65 MailServerPerUser 1...
28.786667
79
0.565076
266
2,159
4.5
0.526316
0.033417
0.027569
0
0
0
0
0
0
0
0
0.075833
0.346457
2,159
74
80
29.175676
0.771084
0.165354
0
0
0
0
0.609593
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0.019608
0.156863
0.117647
0
0
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
e0ccd375ee97b3de89797ebcade6c92844431741
527
py
Python
Make bottom-left node first.py
simoncozens/GlyphsScripts
dc474b598a4016b5df8aa088362e72bdaffa8034
[ "MIT" ]
18
2015-11-04T07:48:31.000Z
2021-08-07T02:09:40.000Z
Make bottom-left node first.py
simoncozens/GlyphsScripts
dc474b598a4016b5df8aa088362e72bdaffa8034
[ "MIT" ]
6
2015-11-04T06:06:40.000Z
2020-10-16T08:13:14.000Z
Make bottom-left node first.py
simoncozens/GlyphsScripts
dc474b598a4016b5df8aa088362e72bdaffa8034
[ "MIT" ]
6
2015-10-22T20:49:34.000Z
2020-12-01T05:22:10.000Z
#MenuTitle: Make bottom left node first # -*- coding: utf-8 -*- __doc__=""" Makes the bottom left node in each path the first node in all masters """ def left(x): return x.position.x def bottom(x): return x.position.y layers = Glyphs.font.selectedLayers for aLayer in layers: for idx, thisLayer in enumerate(a...
27.736842
70
0.686907
80
527
4.475
0.575
0.055866
0.078212
0.089385
0
0
0
0
0
0
0
0.004662
0.185958
527
19
71
27.736842
0.829837
0.113852
0
0
0
0
0.169528
0
0
0
0
0
0
1
0.142857
false
0
0
0.142857
0.285714
0
0
0
0
null
0
0
0
0
0
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
e0cd50cb3a85a945339619c369aa4b396174a722
1,053
py
Python
alshamelah_api/apps/books/migrations/0012_auto_20200623_1017.py
devna-dev/durar-backend
36ea29bafd4cb95098e4057eb71df211dc923008
[ "MIT" ]
null
null
null
alshamelah_api/apps/books/migrations/0012_auto_20200623_1017.py
devna-dev/durar-backend
36ea29bafd4cb95098e4057eb71df211dc923008
[ "MIT" ]
null
null
null
alshamelah_api/apps/books/migrations/0012_auto_20200623_1017.py
devna-dev/durar-backend
36ea29bafd4cb95098e4057eb71df211dc923008
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-23 10:17 import apps.books.models import django.db.models.deletion import easy_thumbnails.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('authors', '0001_initial'), ('books', '0011_auto_20200622_2252'...
31.909091
114
0.574549
107
1,053
5.495327
0.53271
0.040816
0.066327
0.086735
0.17517
0.12585
0
0
0
0
0
0.048544
0.31529
1,053
32
115
32.90625
0.76699
0.042735
0
0.296296
1
0
0.109344
0.022863
0
0
0
0
0
1
0
false
0
0.148148
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0d172252cb706304fea6f184107677b83e2b831
4,462
py
Python
testCode.py
rrozewsk/Credit-Risk-Project
f8f99741a8c26e268636aba7cf7878619d71c0a6
[ "MIT" ]
2
2018-07-04T06:10:33.000Z
2021-09-27T19:18:58.000Z
testCode.py
rrozewsk/Credit-Risk-Project
f8f99741a8c26e268636aba7cf7878619d71c0a6
[ "MIT" ]
2
2016-10-17T00:31:32.000Z
2016-10-30T20:47:08.000Z
testCode.py
rrozewsk/Credit-Risk-Project
f8f99741a8c26e268636aba7cf7878619d71c0a6
[ "MIT" ]
null
null
null
####### from datetime import timedelta from scipy.stats import norm, mvn # normal and bivariate normal from numpy import sqrt class CDS(object): """A generic CDS class. Can also be used for CDO tranches. Attributes: today (datetime.date): The present date. maturity (datetime.date): The...
35.133858
81
0.576423
643
4,462
3.982893
0.297045
0.028114
0.015619
0.021866
0.186646
0.142132
0.102304
0.084342
0.072628
0.072628
0
0.038948
0.309502
4,462
127
82
35.133858
0.792275
0.062752
0
0.035088
0
0
0
0
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.017544
0
0
0
null
0
0
0
0
0
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
e0d1e6b1944cab1bf141883712b3a5d01139f06d
432
py
Python
passaas/__init__.py
jlmelville/passaas
e40715d51a43bdd605b5b2025e348786802ed929
[ "MIT" ]
null
null
null
passaas/__init__.py
jlmelville/passaas
e40715d51a43bdd605b5b2025e348786802ed929
[ "MIT" ]
null
null
null
passaas/__init__.py
jlmelville/passaas
e40715d51a43bdd605b5b2025e348786802ed929
[ "MIT" ]
null
null
null
""" App Initialization. Uses an extension of the single source versioning strategy #5 from: https://packaging.python.org/guides/single-sourcing-package-version/ Version is taken from that in setup.py, which in turn looks in openapi.yaml """ import pkg_resources try: __version__ = pkg_resources.get_distribution("p...
30.857143
75
0.775463
59
432
5.491525
0.813559
0.074074
0
0
0
0
0
0
0
0
0
0.002667
0.131944
432
13
76
33.230769
0.861333
0.648148
0
0
0
0
0.097222
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e0d4acf9e44bcfcd6bb2c31591a11cb567053326
1,243
py
Python
aioweb/util/__init__.py
kreopt/aioweb
85a9de73d7e6c6951717744c8ef2963062a7e579
[ "MIT" ]
3
2017-05-04T05:46:44.000Z
2017-10-04T07:35:24.000Z
aioweb/util/__init__.py
kreopt/aioweb
85a9de73d7e6c6951717744c8ef2963062a7e579
[ "MIT" ]
null
null
null
aioweb/util/__init__.py
kreopt/aioweb
85a9de73d7e6c6951717744c8ef2963062a7e579
[ "MIT" ]
null
null
null
import asyncio import inspect import os import re import importlib.util import inflection def extract_name_from_class(class_name, item_type): return inflection.underscore(re.sub('%s$' % item_type, '', class_name)) def awaitable(result): if asyncio.iscoroutine(result): return result f = asyncio....
25.367347
104
0.695093
166
1,243
4.981928
0.421687
0.065296
0.062878
0
0
0
0
0
0
0
0
0.00099
0.18745
1,243
48
105
25.895833
0.817822
0
0
0
0
0
0.057924
0
0
0
0
0
0.03125
1
0.1875
false
0
0.28125
0.09375
0.6875
0
0
0
0
null
0
0
0
0
0
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
e0d4e018ab74e7e70c93054c595d598b6b95a282
707
py
Python
lino_xl/lib/dupable_partners/models.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
1
2018-01-12T14:09:48.000Z
2018-01-12T14:09:48.000Z
lino_xl/lib/dupable_partners/models.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
1
2019-09-10T05:03:47.000Z
2019-09-10T05:03:47.000Z
lino_xl/lib/dupable_partners/models.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # Copyright 2014-2015 Luc Saffre # # License: BSD (see file COPYING for details) """ Database models for `lino_xl.lib.dupable_partners`. """ from lino.api import dd, _ from lino.mixins.dupable import PhoneticWordBase, SimilarObjects class Word(PhoneticWordBase): """Phonetic words for Pa...
21.424242
75
0.708628
83
707
5.86747
0.614458
0.061602
0
0
0
0
0
0
0
0
0
0.015358
0.171146
707
32
76
22.09375
0.8157
0.251768
0
0
0
0
0.181641
0.041016
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
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
e0dfccaf424b43e1539d71328471d57881583ed7
16,433
py
Python
modules/export_xlsx.py
InfoSecSystems/XML_EXPORTER
be68539325d07afc09f2fd657c041c0e167cacf8
[ "Apache-2.0" ]
6
2015-01-29T17:46:27.000Z
2022-01-31T13:52:33.000Z
modules/export_xlsx.py
InfoSecSystems/XML_EXPORTER
be68539325d07afc09f2fd657c041c0e167cacf8
[ "Apache-2.0" ]
1
2015-09-03T14:42:04.000Z
2015-09-30T20:35:58.000Z
modules/export_xlsx.py
InfoSecConsulting/XML_EXPORTER
be68539325d07afc09f2fd657c041c0e167cacf8
[ "Apache-2.0" ]
2
2018-10-15T21:44:34.000Z
2020-03-18T19:53:39.000Z
#!/usr/local/bin/python3 # -*- coding: utf-8 -*- """ (C) Copyright [2015] InfoSec Consulting, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless...
50.563077
123
0.65338
2,138
16,433
4.651076
0.104771
0.102273
0.171963
0.153862
0.799578
0.7321
0.669449
0.633146
0.600161
0.573411
0
0.014425
0.240674
16,433
324
124
50.719136
0.782497
0.062253
0
0.360976
0
0
0.053141
0.001555
0
0
0
0
0
1
0.004878
false
0
0.029268
0
0.034146
0.004878
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
e0e3b11d3edc5e7c852b736afcded1069336d240
915
py
Python
tools/wikiparser.py
IMOKURI/nlp100.github.io
61b0326ab9c0b50558376131618f78f3e350bda3
[ "MIT" ]
null
null
null
tools/wikiparser.py
IMOKURI/nlp100.github.io
61b0326ab9c0b50558376131618f78f3e350bda3
[ "MIT" ]
null
null
null
tools/wikiparser.py
IMOKURI/nlp100.github.io
61b0326ab9c0b50558376131618f78f3e350bda3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from xml.etree.ElementTree import XMLParser class WikiParser: def __init__(self, handler): self.elements = [] self.title = '' self.text = '' self.handler = handler def start(self, tag, attrib): p = tag.rfind('}') ...
26.911765
72
0.526776
104
915
4.596154
0.413462
0.175732
0.175732
0.209205
0.274059
0.129707
0
0
0
0
0
0.004769
0.312568
915
33
73
27.727273
0.755167
0.045902
0
0.24
0
0
0.080367
0
0
0
0
0
0
1
0.2
false
0.04
0.04
0
0.28
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
e0e6cb5c556c07d853e01dcfab1221e6b54c093f
1,119
py
Python
fabfile.py
bharathh4/kencochrane_django-gunicorn-nginx-supervisord-bootstrap
b772cf9f2ad2a65506c68a8a05ad02f745909a81
[ "BSD-3-Clause" ]
null
null
null
fabfile.py
bharathh4/kencochrane_django-gunicorn-nginx-supervisord-bootstrap
b772cf9f2ad2a65506c68a8a05ad02f745909a81
[ "BSD-3-Clause" ]
null
null
null
fabfile.py
bharathh4/kencochrane_django-gunicorn-nginx-supervisord-bootstrap
b772cf9f2ad2a65506c68a8a05ad02f745909a81
[ "BSD-3-Clause" ]
null
null
null
from __future__ import with_statement from fabric.api import * from fabric.contrib.console import confirm from fabric.contrib.files import exists def update_server(): code_dir = '/opt/django/apps/my_app/current/my_app/' with settings(user='django'): with cd(code_dir): # pull down and update...
38.586207
83
0.583557
142
1,119
4.507042
0.542254
0.039063
0.060938
0.070313
0.185938
0.185938
0.146875
0.146875
0.146875
0.146875
0
0.005333
0.329759
1,119
29
84
38.586207
0.848
0.370867
0
0
0
0
0.228777
0.056115
0
0
0
0
0
1
0.076923
false
0
0.307692
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0e7a1b7108c9facc0852a5a43d1af6adc11be26
4,180
py
Python
skmob/tessellation/tests/test_tilers.py
vlingenfelter/scikit-mobility
d9a7bbcac30efbf5bd834c2e5e3a3264c3d9dbc1
[ "BSD-3-Clause" ]
489
2019-05-05T07:47:35.000Z
2022-03-31T10:36:00.000Z
skmob/tessellation/tests/test_tilers.py
vlingenfelter/scikit-mobility
d9a7bbcac30efbf5bd834c2e5e3a3264c3d9dbc1
[ "BSD-3-Clause" ]
204
2019-05-02T22:51:05.000Z
2022-03-19T17:14:29.000Z
skmob/tessellation/tests/test_tilers.py
vlingenfelter/scikit-mobility
d9a7bbcac30efbf5bd834c2e5e3a3264c3d9dbc1
[ "BSD-3-Clause" ]
119
2019-05-28T19:51:29.000Z
2022-03-23T03:43:00.000Z
import geopandas as gpd import pytest import shapely from pandas import DataFrame from shapely.geometry import Point, Polygon from skmob.tessellation import tilers poly = [ [ [116.1440758191, 39.8846396072], [116.3449987678, 39.8846396072], [116.3449987678, 40.0430521004], [116.144...
32.403101
87
0.764354
569
4,180
5.202109
0.228471
0.077027
0.05777
0.058784
0.338514
0.280743
0.205405
0.171622
0.171622
0.144595
0
0.087469
0.127512
4,180
128
88
32.65625
0.724157
0.002392
0
0.119048
0
0
0.0631
0.006478
0
0
0
0
0.202381
1
0.238095
false
0
0.071429
0.011905
0.345238
0
0
0
0
null
0
0
0
0
0
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
e0e8d535dbe9d49c223e329dbf8f9984300d5c4d
295
py
Python
endpoint/urls.py
mbp76/tasklist-django
e2a092ae6e704d5c4bfcacd0df5e4c6753373d40
[ "Apache-2.0" ]
1
2017-04-30T11:08:02.000Z
2017-04-30T11:08:02.000Z
endpoint/urls.py
mbp76/django-endpoint
e2a092ae6e704d5c4bfcacd0df5e4c6753373d40
[ "Apache-2.0" ]
null
null
null
endpoint/urls.py
mbp76/django-endpoint
e2a092ae6e704d5c4bfcacd0df5e4c6753373d40
[ "Apache-2.0" ]
1
2020-06-24T15:30:11.000Z
2020-06-24T15:30:11.000Z
""" URL Configuration The `urlpatterns` list routes URLs to views. For more information please, see https://docs.djangoproject.com/en/1.10/topics/http/urls/ """ from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), ]
21.071429
77
0.735593
43
295
5.046512
0.744186
0.092166
0
0
0
0
0
0
0
0
0
0.011719
0.132203
295
13
78
22.692308
0.835938
0.518644
0
0
0
0
0.052239
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
e0ed0ebbda55722055cbfd08f150d7b946f36687
365
py
Python
heltour/settings.py
colwem/heltour
e6666f864e588b64ade337590f305ac4d796e929
[ "MIT" ]
1
2019-02-13T01:39:18.000Z
2019-02-13T01:39:18.000Z
heltour/settings.py
colwem/heltour
e6666f864e588b64ade337590f305ac4d796e929
[ "MIT" ]
8
2019-06-17T15:03:56.000Z
2019-07-14T00:29:28.000Z
heltour/settings.py
colwem/heltour
e6666f864e588b64ade337590f305ac4d796e929
[ "MIT" ]
null
null
null
import os if 'HELTOUR_ENV' in os.environ and os.environ['HELTOUR_ENV'] == 'STAGING': from .staging_settings import * STAGING = True elif 'HELTOUR_ENV' in os.environ and os.environ['HELTOUR_ENV'] == 'LIVE': from .live_settings import * STAGING = False else: raise Exception('HELTOUR_ENV environment v...
33.181818
90
0.712329
53
365
4.773585
0.490566
0.197628
0.094862
0.110672
0.339921
0.339921
0.339921
0.339921
0.339921
0.339921
0
0
0.178082
365
10
91
36.5
0.843333
0
0
0
0
0
0.334247
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
e0ede7bec014613e6ce1f5ebf70af8b41e0e301f
2,576
py
Python
tracim/migration/versions/15305f71bfda_fill_content_file_extension_column.py
lebouquetin/tracim
dc3485f92b07ced3230834a5852c9f9574477c1c
[ "MIT" ]
1
2016-09-27T12:16:05.000Z
2016-09-27T12:16:05.000Z
tracim/migration/versions/15305f71bfda_fill_content_file_extension_column.py
lebouquetin/tracim
dc3485f92b07ced3230834a5852c9f9574477c1c
[ "MIT" ]
null
null
null
tracim/migration/versions/15305f71bfda_fill_content_file_extension_column.py
lebouquetin/tracim
dc3485f92b07ced3230834a5852c9f9574477c1c
[ "MIT" ]
null
null
null
"""fill content file_extension column Revision ID: 15305f71bfda Revises: e31ddc009b37 Create Date: 2016-11-25 10:50:01.874820 """ # revision identifiers, used by Alembic. import os revision = '15305f71bfda' down_revision = 'e31ddc009b37' from alembic import op import sqlalchemy as sa content_revision_helper = sa...
33.025641
74
0.64014
313
2,576
5.124601
0.329073
0.099751
0.140274
0.196384
0.342269
0.291147
0.1702
0.110973
0
0
0
0.033907
0.232919
2,576
77
75
33.454545
0.777834
0.104814
0
0
0
0
0.128596
0.010026
0
0
0
0
0
1
0.037736
false
0.018868
0.056604
0
0.09434
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
e0f1ef01cfb7fa27fd3de46f0e2d510610b35354
1,464
py
Python
xgunicorn/views.py
zhenkai/xgunicorn
33fc122fdc9435ba0b6562186d3c86d983eb992a
[ "Apache-2.0" ]
null
null
null
xgunicorn/views.py
zhenkai/xgunicorn
33fc122fdc9435ba0b6562186d3c86d983eb992a
[ "Apache-2.0" ]
null
null
null
xgunicorn/views.py
zhenkai/xgunicorn
33fc122fdc9435ba0b6562186d3c86d983eb992a
[ "Apache-2.0" ]
1
2020-03-03T04:04:56.000Z
2020-03-03T04:04:56.000Z
from __future__ import absolute_import from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.contrib import messages from django.core.urlresolvers import reverse_lazy from django.http import HttpResp...
28.705882
78
0.780738
192
1,464
5.802083
0.395833
0.062837
0.061041
0.056553
0.035907
0
0
0
0
0
0
0
0.130464
1,464
51
79
28.705882
0.875098
0
0
0.052632
0
0
0.098294
0
0
0
0
0
0
1
0.078947
false
0.052632
0.236842
0
0.736842
0
0
0
0
null
0
0
0
0
0
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
e0fdb111382770d5ae0fd1c7026379cfccf11e11
548
py
Python
Python/ImageProcessing/10_finding_edges.py
James-McNeill/Learning
3c4fe1a64240cdf5614db66082bd68a2f16d2afb
[ "MIT" ]
null
null
null
Python/ImageProcessing/10_finding_edges.py
James-McNeill/Learning
3c4fe1a64240cdf5614db66082bd68a2f16d2afb
[ "MIT" ]
null
null
null
Python/ImageProcessing/10_finding_edges.py
James-McNeill/Learning
3c4fe1a64240cdf5614db66082bd68a2f16d2afb
[ "MIT" ]
null
null
null
# Import the canny edge detector from skimage.feature import canny # Convert image to grayscale grapefruit = color.rgb2gray(grapefruit) # Apply canny edge detector canny_edges = canny(grapefruit) # Show resulting image show_image(canny_edges, "Edges with Canny") # Apply canny edge detector with a sigma of 1.8 edge...
24.909091
47
0.768248
93
548
4.387097
0.290323
0.02451
0.166667
0.161765
0.166667
0.166667
0.166667
0.166667
0
0
0
0.044968
0.14781
548
21
48
26.095238
0.828694
0.399635
0
0
0
0
0.124611
0
0
0
0
0
0
1
0
false
0
0.125
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