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
4473dea74ad824b410db2d46eaf6858a8677dd85
857
py
Python
src/bin_print.py
wykys/MIKS-FSK
a28255a1a184fb0b9753fcb133ea12e1b75ae93d
[ "MIT" ]
null
null
null
src/bin_print.py
wykys/MIKS-FSK
a28255a1a184fb0b9753fcb133ea12e1b75ae93d
[ "MIT" ]
null
null
null
src/bin_print.py
wykys/MIKS-FSK
a28255a1a184fb0b9753fcb133ea12e1b75ae93d
[ "MIT" ]
null
null
null
# wykys 2019 def bin_print(byte_array: list, num_in_line: int = 8, space: str = ' | '): def bin_to_str(byte_array: list) -> str: return ''.join([ chr(c) if c > 32 and c < 127 else '.' for c in byte_array ]) tmp = '' for i, byte in enumerate(byte_array): tmp = ''.join([t...
26.78125
74
0.424737
115
857
2.930435
0.295652
0.103858
0.186944
0.083086
0.394659
0.344214
0.272997
0.136499
0.136499
0
0
0.041257
0.406068
857
31
75
27.645161
0.620825
0.011669
0
0.5
0
0
0.023669
0
0
0
0
0
0
1
0.076923
false
0
0
0.038462
0.115385
0.076923
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
4476220506d945bb783299ab9c689b2af1b83a67
1,363
py
Python
tests/test_modifiers.py
mbillingr/friendly-iter
77e1ce72100f592b6155a2152fcc03165af22714
[ "MIT" ]
null
null
null
tests/test_modifiers.py
mbillingr/friendly-iter
77e1ce72100f592b6155a2152fcc03165af22714
[ "MIT" ]
null
null
null
tests/test_modifiers.py
mbillingr/friendly-iter
77e1ce72100f592b6155a2152fcc03165af22714
[ "MIT" ]
null
null
null
from unittest.mock import Mock import pytest from friendly_iter.iterator_modifiers import flatten, take, skip, step def test_flatten(): result = flatten([range(4), [], [4, 5]]) assert list(result) == [0, 1, 2, 3, 4, 5] def test_take_limits_number_of_resulting_items(): result = take(3, range(10)) a...
21.296875
70
0.663977
205
1,363
4.112195
0.370732
0.083037
0.132859
0.060498
0.142349
0.084223
0.061684
0.061684
0
0
0
0.042357
0.203228
1,363
63
71
21.634921
0.733886
0.011739
0
0.052632
0
0
0.015613
0
0
0
0
0
0.210526
1
0.315789
false
0
0.078947
0.026316
0.447368
0
0
0
0
null
0
0
0
0
0
0
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
447c96e01f699a1d061bedede73a165b4923aa49
404
py
Python
backend/apps/role/migrations/0003_auto_20200329_1414.py
highproformas-friends/curaSWISS
cf6c1ac9c0c80026f1667a7155290c37be8dec7c
[ "MIT" ]
3
2020-03-27T20:39:31.000Z
2020-03-31T20:24:55.000Z
backend/apps/role/migrations/0003_auto_20200329_1414.py
highproformas-friends/curaSWISS
cf6c1ac9c0c80026f1667a7155290c37be8dec7c
[ "MIT" ]
21
2020-03-28T09:57:15.000Z
2020-03-31T11:38:00.000Z
backend/apps/role/migrations/0003_auto_20200329_1414.py
highproformas-friends/curaSWISS
cf6c1ac9c0c80026f1667a7155290c37be8dec7c
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-29 14:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('role', '0002_auto_20200329_1412'), ] operations = [ migrations.AlterField( model_name='role', name='name', ...
21.263158
75
0.596535
45
404
5.244444
0.8
0
0
0
0
0
0
0
0
0
0
0.113402
0.279703
404
18
76
22.444444
0.697595
0.111386
0
0
1
0
0.098039
0.064426
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
447db70fcaa354f16105d556a4943d598b33148f
816
py
Python
scifiweb/urls.py
project-scifi/scifiweb
cc51d9ea6e7f302c503174e92029188a7e252753
[ "Apache-2.0" ]
1
2018-04-18T04:37:43.000Z
2018-04-18T04:37:43.000Z
scifiweb/urls.py
project-scifi/scifiweb
cc51d9ea6e7f302c503174e92029188a7e252753
[ "Apache-2.0" ]
12
2017-06-26T05:20:28.000Z
2022-01-13T00:48:58.000Z
scifiweb/urls.py
project-scifi/scifiweb
cc51d9ea6e7f302c503174e92029188a7e252753
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import include from django.conf.urls import url from django.shortcuts import redirect from django.shortcuts import reverse import scifiweb.about.urls import scifiweb.news.urls from scifiweb.home import home from scifiweb.robots import robots_dot_txt urlpatterns = [ url(r'^$', home, name='hom...
35.478261
95
0.720588
112
816
5.1875
0.258929
0.048193
0.041308
0.067126
0.172117
0.089501
0
0
0
0
0
0
0.120098
816
22
96
37.090909
0.809192
0.033088
0
0
0
0
0.152478
0
0
0
0
0
0
1
0
false
0
0.470588
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
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
447ff5764e0b94f97e6c66b9deb62f15c5007620
535
py
Python
solutions/Array-02.py
mrocklin/dask-tutorial
efb87e83eefa816ef23083fc1329af1d7da452a8
[ "BSD-3-Clause" ]
2
2018-03-17T16:41:28.000Z
2019-06-19T06:38:06.000Z
solutions/Array-02.py
mrocklin/dask-tutorial
efb87e83eefa816ef23083fc1329af1d7da452a8
[ "BSD-3-Clause" ]
null
null
null
solutions/Array-02.py
mrocklin/dask-tutorial
efb87e83eefa816ef23083fc1329af1d7da452a8
[ "BSD-3-Clause" ]
3
2018-07-13T15:33:55.000Z
2020-11-29T14:27:45.000Z
import h5py from glob import glob import os filenames = sorted(glob(os.path.join('data', 'weather-big', '*.hdf5'))) dsets = [h5py.File(filename)['/t2m'] for filename in filenames] import dask.array as da arrays = [da.from_array(dset, chunks=(500, 500)) for dset in dsets] x = da.stack(arrays, axis=0) result = x.mean...
24.318182
71
0.699065
92
535
4.032609
0.48913
0.040431
0.048518
0.053908
0.247978
0.247978
0.247978
0.247978
0.247978
0.247978
0
0.042918
0.128972
535
21
72
25.47619
0.753219
0
0
0.266667
0
0
0.069159
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
4485c2de2544e40db08213560e7dfbba9933c235
245
py
Python
examples/python/corepy/userandom.py
airgiser/ucb
d03e62a17f35a9183ed36662352f603f0f673194
[ "MIT" ]
1
2022-01-08T14:59:44.000Z
2022-01-08T14:59:44.000Z
examples/python/corepy/userandom.py
airgiser/just-for-fun
d03e62a17f35a9183ed36662352f603f0f673194
[ "MIT" ]
null
null
null
examples/python/corepy/userandom.py
airgiser/just-for-fun
d03e62a17f35a9183ed36662352f603f0f673194
[ "MIT" ]
null
null
null
#!/usr/bin/python from random import Random onelist = [1, 2, 3, 4, 5, 6, 7] rd = Random() for i in range(5): print(rd.randint(0, 100)) print(rd.uniform(0, 100)) print(rd.random()) print(rd.choice(onelist)) print('-' * 30)
17.5
31
0.587755
41
245
3.512195
0.634146
0.194444
0.125
0.152778
0
0
0
0
0
0
0
0.09375
0.216327
245
13
32
18.846154
0.65625
0.065306
0
0
0
0
0.004386
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
44877d856034bf8fe04f668f3d82b679a04011e9
516
py
Python
productdb/testing/unittests/products.py
tspycher/python-productdb
17970a681b32eb249b78fab7dbeaee9d63ca7c05
[ "MIT" ]
null
null
null
productdb/testing/unittests/products.py
tspycher/python-productdb
17970a681b32eb249b78fab7dbeaee9d63ca7c05
[ "MIT" ]
null
null
null
productdb/testing/unittests/products.py
tspycher/python-productdb
17970a681b32eb249b78fab7dbeaee9d63ca7c05
[ "MIT" ]
null
null
null
from . import BasicTestCase class ProductsTestCase(BasicTestCase): def test_basic(self): rv = self.client.get('/') assert rv.status_code == 200 data = self.parseJsonResponse(rv) assert '_links' in data def test_get_all_products(self): rv = self.client.get('/product')...
21.5
66
0.625969
62
516
5.080645
0.516129
0.044444
0.063492
0.101587
0.463492
0.342857
0.342857
0.342857
0.342857
0.342857
0
0.01626
0.284884
516
23
67
22.434783
0.837398
0.108527
0
0.307692
0
0
0.046053
0
0
0
0
0
0.307692
1
0.153846
false
0.076923
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
448799a4fc1952a7fcd243848401d2c0a08268d0
196
py
Python
src/main.py
Quin-Darcy/Crawler
3e0d9f0b5dce43206606b19e5fb4dd84f4614fb1
[ "MIT" ]
null
null
null
src/main.py
Quin-Darcy/Crawler
3e0d9f0b5dce43206606b19e5fb4dd84f4614fb1
[ "MIT" ]
null
null
null
src/main.py
Quin-Darcy/Crawler
3e0d9f0b5dce43206606b19e5fb4dd84f4614fb1
[ "MIT" ]
null
null
null
import crawler import os def main(): root = crawler.Crawler() root.set_start() root.burrow() root.show() os.system('killall firefox') if __name__ == '__main__': main()
13.066667
32
0.617347
24
196
4.666667
0.625
0
0
0
0
0
0
0
0
0
0
0
0.239796
196
14
33
14
0.751678
0
0
0
0
0
0.117347
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
448a636d024dfa5f84fbc271a201ee5abe77a7d5
2,118
py
Python
jerk_agent_for_understanding/scripts/map-paths.py
tristansokol/Bobcats
71461b5c969b24e5379a63d2bc22bf173ae76f9b
[ "MIT" ]
2
2018-06-20T13:36:54.000Z
2018-10-28T17:06:31.000Z
jerk_agent_for_understanding/scripts/map-paths.py
tristansokol/Bobcats
71461b5c969b24e5379a63d2bc22bf173ae76f9b
[ "MIT" ]
null
null
null
jerk_agent_for_understanding/scripts/map-paths.py
tristansokol/Bobcats
71461b5c969b24e5379a63d2bc22bf173ae76f9b
[ "MIT" ]
1
2019-04-30T06:24:03.000Z
2019-04-30T06:24:03.000Z
#!/usr/bin/python import sys import retro import numpy as np from os import listdir from os.path import isfile, join, isdir, dirname, realpath from PIL import Image # find level maps here: http://info.sonicretro.org/Sonic_the_Hedgehog_(16-bit)_level_maps mp = Image.open(dirname(realpath(__file__))+"/01.PNG") mp.load...
33.09375
109
0.566572
377
2,118
3.106101
0.291777
0.081981
0.157131
0.176772
0.291204
0.075149
0.075149
0.023911
0
0
0
0.085578
0.211048
2,118
63
110
33.619048
0.6152
0.068933
0
0.076923
0
0
0.025407
0
0
0
0
0
0
1
0.019231
false
0
0.115385
0
0.134615
0.038462
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
4498797169e379e4f71ed514fe503e98825e7c72
4,897
py
Python
languageModel.py
Zgjszjggjt/DeepLearning
51889e57f8c7a0a861c356a0e3454c3c3625b0a7
[ "MIT" ]
null
null
null
languageModel.py
Zgjszjggjt/DeepLearning
51889e57f8c7a0a861c356a0e3454c3c3625b0a7
[ "MIT" ]
null
null
null
languageModel.py
Zgjszjggjt/DeepLearning
51889e57f8c7a0a861c356a0e3454c3c3625b0a7
[ "MIT" ]
null
null
null
#!/usr/bin/evn python #-*- coding: utf-8 -*- # =================================== # Filename : languageModel.py # Author : GT # Create date : 17-09-20 18:33:43 # Description: # =================================== # Script starts from here # this is for chinese characters # import sys # reload(sys) # sys.setdefault...
37.381679
129
0.604656
732
4,897
3.881148
0.230874
0.045759
0.051742
0.021119
0.13974
0.104893
0.097149
0.084477
0.084477
0.084477
0
0.019989
0.244027
4,897
130
130
37.669231
0.747434
0.089034
0
0
0
0
0.071847
0.008333
0
0
0
0
0
0
null
null
0
0.044944
null
null
0.123596
0
0
0
null
0
0
0
0
0
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
92254e7c44b4d02b62556b08a59fb86995acbb5b
2,463
py
Python
openstack/tests/unit/network/v2/test_firewall_v1_rule.py
morganseznec/openstacksdk
7b245c16556a04497ce701d959a889eca6f26a83
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/network/v2/test_firewall_v1_rule.py
morganseznec/openstacksdk
7b245c16556a04497ce701d959a889eca6f26a83
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/network/v2/test_firewall_v1_rule.py
morganseznec/openstacksdk
7b245c16556a04497ce701d959a889eca6f26a83
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 Morgan Seznec <morgan.s134@gmail.com> # 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 # # Unles...
37.892308
75
0.686561
310
2,463
5.306452
0.412903
0.136778
0.160486
0.066869
0.080243
0.042553
0
0
0
0
0
0.020131
0.19326
2,463
64
76
38.484375
0.80775
0.243605
0
0
0
0
0.185065
0.02381
0
0
0
0
0.465116
1
0.046512
false
0
0.046512
0
0.116279
0
0
0
0
null
0
0
0
0
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
922b49321572191d7b66c10a4c4bde3685820be0
2,598
py
Python
OpenSources/GDAL_moreExamples/class08demos_ogr_gdal/class08_ogr_buffer.py
mehran66/python-geospatial-open-sources
6c56922bdd2a815a98faeb5ac65f674c22486923
[ "MIT" ]
null
null
null
OpenSources/GDAL_moreExamples/class08demos_ogr_gdal/class08_ogr_buffer.py
mehran66/python-geospatial-open-sources
6c56922bdd2a815a98faeb5ac65f674c22486923
[ "MIT" ]
null
null
null
OpenSources/GDAL_moreExamples/class08demos_ogr_gdal/class08_ogr_buffer.py
mehran66/python-geospatial-open-sources
6c56922bdd2a815a98faeb5ac65f674c22486923
[ "MIT" ]
null
null
null
'''********************************************* author: Galen Maclaurin Date: 12/11/2012 Updated: 03/14/2016 , Stefan Leyk Purpose: Simple Buffer example using OGR *********************************************''' from time import clock start = clock() import os from osgeo import ogr # Define variables yo...
37.652174
82
0.706697
376
2,598
4.875
0.454787
0.02455
0.022913
0.017458
0
0
0
0
0
0
0
0.011315
0.183603
2,598
68
83
38.205882
0.8529
0.494226
0
0
0
0
0.150794
0.020833
0
0
0
0
0
0
null
null
0
0.096774
null
null
0.096774
0
0
0
null
0
0
0
0
0
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
9237845df9705971fc68a591a3a63ea569aa3bde
26,319
py
Python
src/utils/adbtool.py
wangzhi2689/data_analysis
3410856d1df1a9cd95660e28e6ed47fd0102f6aa
[ "Apache-2.0" ]
1
2022-01-01T09:36:54.000Z
2022-01-01T09:36:54.000Z
src/utils/adbtool.py
wangzhi2689/data_analysis
3410856d1df1a9cd95660e28e6ed47fd0102f6aa
[ "Apache-2.0" ]
1
2022-02-26T13:07:05.000Z
2022-02-26T13:07:05.000Z
src/utils/adbtool.py
wangzhi2689/data_analysis
3410856d1df1a9cd95660e28e6ed47fd0102f6aa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/evn python # -*- coding:utf-8 -*- # FileName adbtools.py # Author: HeyNiu # Created Time: 2016/9/19 """ adb 工具类 """ import os import platform import re import time #import utils.timetools class AdbTools(object): def __init__(self, device_id=''): self.__system = platform.s...
30.010262
120
0.49356
2,812
26,319
4.421408
0.25569
0.034022
0.027749
0.023647
0.245395
0.206467
0.169871
0.155715
0.126116
0.11389
0
0.022763
0.374064
26,319
877
121
30.010262
0.731941
0.109807
0
0.142544
0
0
0.192996
0.065467
0
0
0
0
0
1
0.153509
false
0.004386
0.008772
0
0.502193
0.028509
0
0
0
null
0
0
0
0
0
0
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
9238a72a6c6ffca4fc17e398558fafc0e65223b0
425
py
Python
apps/company/migrations/0018_alter_inspection_is_inspection_successful.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
apps/company/migrations/0018_alter_inspection_is_inspection_successful.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
apps/company/migrations/0018_alter_inspection_is_inspection_successful.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-04-17 22:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0017_inspection_description'), ] operations = [ migrations.AlterField( model_name='inspection', name='is_...
22.368421
63
0.628235
44
425
5.954545
0.818182
0
0
0
0
0
0
0
0
0
0
0.060703
0.263529
425
18
64
23.611111
0.776358
0.105882
0
0
1
0
0.179894
0.134921
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
92394ab87ad3c0d381f474179d582c21604b15ff
816
py
Python
vyperlogix/misc/_getframeInfo.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
1
2020-09-29T01:36:33.000Z
2020-09-29T01:36:33.000Z
vyperlogix/misc/_getframeInfo.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
vyperlogix/misc/_getframeInfo.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
# use sys._getframe() -- it returns a frame object, whose attribute # f_code is a code object, whose attribute co_name is the name: import sys this_function_name = sys._getframe().f_code.co_name # the frame and code objects also offer other useful information: this_line_number = sys._getframe().f_lineno this_filename ...
29.142857
67
0.75
132
816
4.462121
0.484848
0.13073
0.047538
0.056027
0.149406
0
0
0
0
0
0
0.007353
0.166667
816
27
68
30.222222
0.858824
0.551471
0
0.25
0
0
0
0
0
0
0
0
0
1
0.166667
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
923c9cf40938312d11d7cd0afb9a1a8d330bf48b
24,250
py
Python
floodlight/vll_pusher.py
netgroup/Dreamer-VLL-Pusher
9b543a2799d7805ac2e1b5d4cfd3fa86d93875c6
[ "Apache-2.0" ]
1
2018-10-27T11:18:26.000Z
2018-10-27T11:18:26.000Z
floodlight/vll_pusher.py
netgroup/Dreamer-VLL-Pusher
9b543a2799d7805ac2e1b5d4cfd3fa86d93875c6
[ "Apache-2.0" ]
null
null
null
floodlight/vll_pusher.py
netgroup/Dreamer-VLL-Pusher
9b543a2799d7805ac2e1b5d4cfd3fa86d93875c6
[ "Apache-2.0" ]
1
2018-11-21T10:21:26.000Z
2018-11-21T10:21:26.000Z
#!/usr/bin/python ############################################################################################## # Copyright (C) 2014 Pier Luigi Ventre - (Consortium GARR and University of Rome "Tor Vergata") # Copyright (C) 2014 Giuseppe Siracusano, Stefano Salsano - (CNIT and University of Rome "Tor Vergata") # www....
45.66855
371
0.623258
3,225
24,250
4.607752
0.122791
0.018304
0.01319
0.011844
0.604038
0.587954
0.54603
0.536137
0.519785
0.493674
0
0.023864
0.172289
24,250
530
372
45.754717
0.716471
0.157567
0
0.474114
0
0.013624
0.254951
0
0
0
0.001185
0
0
0
null
null
0
0.024523
null
null
0.269755
0
0
0
null
0
0
0
0
0
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
9242fcee18924cfc75c9b5f04ff881874a1a4e66
1,229
py
Python
iot_services_sdk/session.py
sap-archive/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
4
2019-05-02T07:51:13.000Z
2019-09-25T12:14:06.000Z
iot_services_sdk/session.py
sap-archive/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
2
2019-09-13T15:36:32.000Z
2019-11-15T06:01:09.000Z
iot_services_sdk/session.py
SAP/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
1
2020-01-17T15:44:52.000Z
2020-01-17T15:44:52.000Z
""" Author: Philipp Steinrötter (steinroe) """ from .iot_service import IoTService from .response import Response class SessionService(IoTService): def __init__(self, instance, user, password): """Instantiate SessionService object Arguments: ...
29.97561
106
0.597234
121
1,229
5.958678
0.38843
0.049931
0.070735
0.052705
0.382802
0.382802
0.382802
0.382802
0.382802
0.382802
0
0
0.315704
1,229
40
107
30.725
0.857313
0.337673
0
0.181818
0
0
0.024259
0
0
0
0
0
0
1
0.136364
false
0.090909
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9244aa4117e40f1bf99002ca86723057b1690b0e
736
py
Python
tests/test_pieces.py
trslater/chess
0c29faf1296f76020f8e213e9c218c05043668bb
[ "MIT" ]
null
null
null
tests/test_pieces.py
trslater/chess
0c29faf1296f76020f8e213e9c218c05043668bb
[ "MIT" ]
null
null
null
tests/test_pieces.py
trslater/chess
0c29faf1296f76020f8e213e9c218c05043668bb
[ "MIT" ]
null
null
null
from chess.pieces import Pawn, Knight, Bishop, Rook, Queen, King class TestPiece: def test_sum(self): groups = ((Pawn(), Knight(), Bishop()), (Knight(), Bishop(), Queen()), (Pawn(), Pawn(), Pawn(), Pawn())) actual_sums = tuple(map(sum, groups)) expected...
30.666667
72
0.532609
79
736
4.835443
0.379747
0.078534
0.08377
0.104712
0
0
0
0
0
0
0
0.007984
0.319293
736
23
73
32
0.754491
0
0
0
0
0
0
0
0
0
0
0
0.444444
1
0.111111
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
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
924898f498fe7a8a90741bbddcf129930d8751be
11,617
py
Python
tarpn/netrom/router.py
rxt1077/tarpn-node-controller
ffbe1d78fbd1c10e891b3339b50002e5233e21ad
[ "MIT" ]
null
null
null
tarpn/netrom/router.py
rxt1077/tarpn-node-controller
ffbe1d78fbd1c10e891b3339b50002e5233e21ad
[ "MIT" ]
null
null
null
tarpn/netrom/router.py
rxt1077/tarpn-node-controller
ffbe1d78fbd1c10e891b3339b50002e5233e21ad
[ "MIT" ]
null
null
null
import datetime import os from dataclasses import dataclass, field from operator import attrgetter from typing import List, Dict, Optional, cast, Set from tarpn.ax25 import AX25Call from tarpn.netrom import NetRomPacket, NetRomNodes, NodeDestination from tarpn.network import L3RoutingTable, L3Address import tarpn.net...
40.197232
132
0.608419
1,379
11,617
4.971719
0.165337
0.019691
0.008751
0.021879
0.176634
0.129522
0.101663
0.063886
0.034714
0.013419
0
0.008692
0.296892
11,617
288
133
40.336806
0.830681
0.123698
0
0.232227
0
0.004739
0.055644
0.002294
0
0
0
0.010417
0
1
0.104265
false
0.014218
0.047393
0.047393
0.379147
0.014218
0
0
0
null
0
0
0
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
924ad870dca0b68ac369ce463d3a75f82ddca91b
1,119
py
Python
blacktape/pipeline.py
carascap/blacktape
52e0b912f4c67899911d10d2d6e3770671db02fa
[ "MIT" ]
null
null
null
blacktape/pipeline.py
carascap/blacktape
52e0b912f4c67899911d10d2d6e3770671db02fa
[ "MIT" ]
1
2022-02-22T19:45:27.000Z
2022-02-22T19:45:27.000Z
blacktape/pipeline.py
carascap/blacktape
52e0b912f4c67899911d10d2d6e3770671db02fa
[ "MIT" ]
null
null
null
from concurrent.futures import ProcessPoolExecutor, as_completed from typing import Iterable, Optional from blacktape.lib import match_entities_in_text, match_pattern_in_text from blacktape.util import worker_init class Pipeline: """ Wrapper around ProcessPoolExecutor """ def __init__(self, spacy_mo...
30.243243
87
0.688114
136
1,119
5.360294
0.382353
0.032922
0.057613
0.052126
0.109739
0.109739
0.109739
0
0
0
0
0
0.226095
1,119
36
88
31.083333
0.841801
0.030384
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.041667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
925679157584e0c93b47453d951d15d7ead1a249
1,299
py
Python
graph.py
tannerb/genetic_math
96fd0fb2b988a22ff0399b4e8386570ae377e284
[ "MIT" ]
null
null
null
graph.py
tannerb/genetic_math
96fd0fb2b988a22ff0399b4e8386570ae377e284
[ "MIT" ]
null
null
null
graph.py
tannerb/genetic_math
96fd0fb2b988a22ff0399b4e8386570ae377e284
[ "MIT" ]
null
null
null
# graph from datetime import date import numpy as np from bokeh.client import push_session from bokeh.io import output_server, show, vform from bokeh.palettes import RdYlBu3 from bokeh.plotting import figure, curdoc, vplot, output_server from bokeh.models import ColumnDataSource from bokeh.models.widgets im...
28.23913
78
0.69746
181
1,299
4.883978
0.497238
0.061086
0.033937
0.033937
0.029412
0
0
0
0
0
0
0.029273
0.184758
1,299
45
79
28.866667
0.805477
0.069284
0
0
0
0
0.045729
0
0
0
0
0
0
1
0
false
0
0.310345
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9259b7ed50eae624a0ff1eb302547c63e7d7b373
1,113
py
Python
tests/test_default_currencies_provider.py
pedroburon/python-monon
670a5c5e98171838d43fd1f72d0afbf7a70b937b
[ "MIT" ]
1
2017-07-10T15:32:48.000Z
2017-07-10T15:32:48.000Z
tests/test_default_currencies_provider.py
pedroburon/python-monon
670a5c5e98171838d43fd1f72d0afbf7a70b937b
[ "MIT" ]
5
2017-07-10T16:34:28.000Z
2017-07-10T16:41:38.000Z
tests/test_default_currencies_provider.py
pedroburon/python-monon
670a5c5e98171838d43fd1f72d0afbf7a70b937b
[ "MIT" ]
null
null
null
from unittest import TestCase from decimal import Decimal, ROUND_UP from monon.currency import DefaultCurrenciesProvider class DefaultCurrenciesProviderTestCase(TestCase): def setUp(self): self.provider = DefaultCurrenciesProvider() self.isocode = 'USD' def test_decimal_places(self): ...
30.916667
89
0.716083
127
1,113
6.110236
0.275591
0.108247
0.073454
0.069588
0.190722
0.190722
0.190722
0.190722
0.190722
0.190722
0
0.033954
0.179695
1,113
35
90
31.8
0.815991
0
0
0.086957
0
0
0.03777
0
0
0
0
0
0.26087
1
0.304348
false
0
0.130435
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
925d10b9338d7e7d834dd03a2a709b1fb7059381
5,913
py
Python
combinatorial_gwas/phenotypes/__init__.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
combinatorial_gwas/phenotypes/__init__.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
combinatorial_gwas/phenotypes/__init__.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: notebooks/package/phenotypes.ipynb (unless otherwise specified). __all__ = ['QueryDataframe', 'parameters', 'catalog_all', 'catalog_all', 'read_csv_compressed', 'get_GWAS_result_link', 'heritability_Neale', 'display_cols', 'quality_heritability_phenos', 'quality_h...
46.559055
195
0.753425
839
5,913
4.984505
0.274136
0.040172
0.037303
0.022716
0.196078
0.113343
0.01626
0
0
0
0
0.016205
0.133773
5,913
126
196
46.928571
0.800273
0.072383
0
0
1
0
0.16523
0.025491
0
0
0
0
0.0125
1
0.05
false
0
0.125
0
0.275
0
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
9273889db8121468c67067e3c3728797e69262dd
1,251
py
Python
server/py/dummy.py
sreyas/Attendance-management-system
eeb57bcc942f407151b71bfab528e817c6806c74
[ "MIT" ]
null
null
null
server/py/dummy.py
sreyas/Attendance-management-system
eeb57bcc942f407151b71bfab528e817c6806c74
[ "MIT" ]
null
null
null
server/py/dummy.py
sreyas/Attendance-management-system
eeb57bcc942f407151b71bfab528e817c6806c74
[ "MIT" ]
null
null
null
import numpy as np import glob,os import datetime from pathlib import Path from pymongo import MongoClient from flask_mongoengine import MongoEngine from bson.objectid import ObjectId client = MongoClient(port=27017) db=client.GetMeThrough; binary =0; home = str(os.path.dirname(os.path.abspath(__file__))) + "/../../" ...
37.909091
92
0.723421
172
1,251
5.05814
0.424419
0.027586
0.082759
0.075862
0.085057
0.085057
0.085057
0.085057
0.085057
0
0
0.033364
0.13749
1,251
32
93
39.09375
0.772938
0
0
0.068966
0
0
0.123102
0.059952
0
0
0
0
0
0
null
null
0
0.241379
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
9280f582ef5d54e9016b69411e4065df25b247b7
2,650
py
Python
indicators/data.py
WPRDC/community-simulacrum
c463de3dac1749c82537c6c6ac74c50eb5b9be75
[ "MIT" ]
null
null
null
indicators/data.py
WPRDC/community-simulacrum
c463de3dac1749c82537c6c6ac74c50eb5b9be75
[ "MIT" ]
6
2020-12-18T17:21:35.000Z
2021-03-03T21:08:44.000Z
indicators/data.py
WPRDC/community-simulacrum
c463de3dac1749c82537c6c6ac74c50eb5b9be75
[ "MIT" ]
null
null
null
import dataclasses import typing from dataclasses import dataclass from typing import List from typing import Optional from profiles.settings import DENOM_DKEY, VALUE_DKEY, GEOG_DKEY, TIME_DKEY if typing.TYPE_CHECKING: from indicators.models import CensusVariable, CKANVariable @dataclass class Datum: variab...
37.857143
105
0.655472
321
2,650
5.218069
0.180685
0.053731
0.050149
0.029851
0.274627
0.151642
0.109851
0.109851
0.066866
0.066866
0
0
0.233585
2,650
69
106
38.405797
0.824717
0.044151
0
0.074074
0
0
0.061929
0
0
0
0
0
0
1
0.148148
false
0
0.12963
0.092593
0.574074
0
0
0
0
null
0
0
0
0
0
0
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
9289e747472df431fa07919c97c9bde9926f3780
636
py
Python
1-Algorithmic-Toolbox/week3/assignments/car_fueling.py
Helianus/Data-Structures-and-Algorithms-Coursera
1fe8961cdd77fdeb88490f127e4369680419c428
[ "MIT" ]
null
null
null
1-Algorithmic-Toolbox/week3/assignments/car_fueling.py
Helianus/Data-Structures-and-Algorithms-Coursera
1fe8961cdd77fdeb88490f127e4369680419c428
[ "MIT" ]
null
null
null
1-Algorithmic-Toolbox/week3/assignments/car_fueling.py
Helianus/Data-Structures-and-Algorithms-Coursera
1fe8961cdd77fdeb88490f127e4369680419c428
[ "MIT" ]
null
null
null
# python3 import sys def compute_min_refills(distance, tank, stops): # write your code here if distance <= tank: return 0 else: stops.append(distance) n_stops = len(stops) - 1 count = 0 refill = tank for i in range(n_stops): if refill < stops[i...
22.714286
66
0.52673
81
636
3.950617
0.493827
0.05625
0.10625
0.0875
0
0
0
0
0
0
0
0.019656
0.360063
636
27
67
23.555556
0.766585
0.044025
0
0
0
0
0.013223
0
0
0
0
0.037037
0
1
0.052632
false
0
0.052632
0
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
928bbe7491fdbc0a0f928ea52f2ec3bc8d5bb842
323
py
Python
python/python.py
TimVan1596/ACM-ICPC
07f7d728db1ecd09c5a3d0f05521930b14eb9883
[ "Apache-2.0" ]
1
2019-05-22T07:12:34.000Z
2019-05-22T07:12:34.000Z
python/python.py
TimVan1596/ACM-ICPC
07f7d728db1ecd09c5a3d0f05521930b14eb9883
[ "Apache-2.0" ]
3
2021-12-10T01:13:54.000Z
2021-12-14T21:18:42.000Z
python/python.py
TimVan1596/ACM-ICPC
07f7d728db1ecd09c5a3d0f05521930b14eb9883
[ "Apache-2.0" ]
null
null
null
import xlwt if __name__ == '__main__': workbook = xlwt.Workbook(encoding='utf-8') # 创建workbook 对象 worksheet = workbook.add_sheet('sheet1') # 创建工作表sheet # 往表中写内容,第一各参数 行,第二个参数列,第三个参数内容 worksheet.write(0, 0, 'hello world') worksheet.write(0, 1, '你好') workbook.save('first.xls') # 保存表为students.x...
32.3
63
0.674923
41
323
5.097561
0.756098
0.133971
0.143541
0
0
0
0
0
0
0
0
0.022642
0.179567
323
9
64
35.888889
0.766038
0.219814
0
0
0
0
0.165992
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
928bed2cda12bb44aa28928e0571f9042f5e1006
736
py
Python
kiestze_django/kiestze/migrations/0004_auto_20180719_1438.py
oSoc18/kiest_ze
842eefcf3f6002ea90c2917682f625749398b33e
[ "Apache-2.0" ]
3
2018-07-11T07:59:15.000Z
2018-07-26T19:58:44.000Z
kiestze_django/kiestze/migrations/0004_auto_20180719_1438.py
oSoc18/kiest_ze
842eefcf3f6002ea90c2917682f625749398b33e
[ "Apache-2.0" ]
4
2018-08-11T13:55:50.000Z
2019-12-28T15:41:30.000Z
kiestze_django/kiestze/migrations/0004_auto_20180719_1438.py
oSoc18/kiest_ze
842eefcf3f6002ea90c2917682f625749398b33e
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-19 14:38 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('kiestze', '0003_gemeente'), ] operations = [ migrations.RemoveField( model_name='gemeente', ...
25.37931
104
0.586957
74
736
5.756757
0.581081
0.056338
0.065728
0.103286
0
0
0
0
0
0
0
0.036538
0.293478
736
28
105
26.285714
0.782692
0.061141
0
0.409091
1
0
0.095791
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
0
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
92939cd40ec3f894a9ca9fdc8baa64317efc2816
768
py
Python
Deck.py
Harel92/BlackJack-Game
adba557a025d9633a2cdaca4f59bb7aa4c566f6c
[ "MIT" ]
null
null
null
Deck.py
Harel92/BlackJack-Game
adba557a025d9633a2cdaca4f59bb7aa4c566f6c
[ "MIT" ]
null
null
null
Deck.py
Harel92/BlackJack-Game
adba557a025d9633a2cdaca4f59bb7aa4c566f6c
[ "MIT" ]
null
null
null
import random from Card import Card suits = ('Hearts', 'Diamonds', 'Spades', 'Clubs') ranks = ('Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Jack', 'Queen', 'King', 'Ace') class Deck: def __init__(self): # Note this only happens once upon creation of a new Deck ...
30.72
113
0.578125
101
768
4.306931
0.613861
0.091954
0.110345
0
0
0
0
0
0
0
0
0
0.302083
768
24
114
32
0.811567
0.252604
0
0
0
0
0.141284
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9294963c5c0383860551b27b39a0b277aa9e0e8f
818
py
Python
setup.py
lanius/chord
48e129367080c95116600a80d56b310d06322b21
[ "MIT" ]
null
null
null
setup.py
lanius/chord
48e129367080c95116600a80d56b310d06322b21
[ "MIT" ]
null
null
null
setup.py
lanius/chord
48e129367080c95116600a80d56b310d06322b21
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup setup( name='chord', version='0.0.1', url='https://github.com/lanius/chord/', packages=['chord'], license='MIT', author='lanius', author_email='lanius@nirvake.org', description='Captures current status of keyboard.', install_req...
29.214286
70
0.5978
80
818
6.0875
0.7375
0.117043
0.154004
0.106776
0
0
0
0
0
0
0
0.019386
0.243276
818
27
71
30.296296
0.767367
0.025672
0
0
0
0
0.576101
0
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
92950fc24b8bc2b382fb2963eb44444a27e250ed
4,669
py
Python
modules/deepspell/baseline/symspell_gendawg.py
Klebert-Engineering/deep-spell-9
cabfcbf8238085b139e6b4b0e43f459230ead963
[ "MIT" ]
3
2018-12-16T17:20:39.000Z
2019-01-11T19:45:29.000Z
modules/deepspell/baseline/symspell_gendawg.py
Klebert-Engineering/deep-spell-9
cabfcbf8238085b139e6b4b0e43f459230ead963
[ "MIT" ]
2
2021-11-30T16:35:36.000Z
2022-01-20T12:33:10.000Z
modules/deepspell/baseline/symspell_gendawg.py
Klebert-Engineering/deep-spell-9
cabfcbf8238085b139e6b4b0e43f459230ead963
[ "MIT" ]
null
null
null
# (C) 2018-present Klebert Engineering """ Opens a TSV FTS corpus file and generates misspelled entries for each FTS token with a given maximum edit distance. Takes two arguments: (1) The corpus file (2) The output file. Two output files will be generated from this argument: -> <output file>.refs : Contains pickle...
39.567797
106
0.644892
636
4,669
4.537736
0.284591
0.033264
0.027027
0.025988
0.127166
0.06237
0.050589
0.028413
0.028413
0.028413
0
0.008895
0.253587
4,669
117
107
39.905983
0.819225
0.30649
0
0.054795
1
0
0.063547
0
0
0
0
0
0
1
0.027397
false
0
0.068493
0
0.109589
0.109589
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
9296c38d6179d914971335cddde811e8c8cfc78b
347
py
Python
cfg/launcher/__main__.py
rr-/dotfiles
4a684c43a5714a3312b42b445e5ba9ae1fab0d1a
[ "MIT" ]
16
2015-06-05T12:57:44.000Z
2021-08-05T23:49:42.000Z
cfg/launcher/__main__.py
rr-/dotfiles
4a684c43a5714a3312b42b445e5ba9ae1fab0d1a
[ "MIT" ]
6
2015-11-01T18:18:26.000Z
2020-10-06T09:17:29.000Z
cfg/launcher/__main__.py
rr-/dotfiles
4a684c43a5714a3312b42b445e5ba9ae1fab0d1a
[ "MIT" ]
6
2015-10-31T18:53:12.000Z
2020-11-30T18:03:06.000Z
import os from libdotfiles.util import ( HOME_DIR, PKG_DIR, REPO_ROOT_DIR, create_symlink, run, ) create_symlink( PKG_DIR / "launcher.json", HOME_DIR / ".config" / "launcher.json" ) os.chdir(REPO_ROOT_DIR / "opt" / "launcher") run( ["python3", "-m", "pip", "install", "--user", "--upgrade"...
17.35
69
0.605187
43
347
4.651163
0.604651
0.07
0.11
0
0
0
0
0
0
0
0
0.003636
0.207493
347
19
70
18.263158
0.723636
0
0
0
0
0
0.227666
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
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
9296fb6b24dc3eedf52b5f0b91836cb7ef50d404
2,456
py
Python
problems/737.Sentence-Similarity-II/li.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/737.Sentence-Similarity-II/li.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/737.Sentence-Similarity-II/li.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
# coding=utf-8 # Author: Jianghan LI # Question: 737.Sentence-Similarity-II # Complexity: O(N) # Date: 2018-05 14:50 - 14:56, 1 wrong try class Solution(object): def areSentencesSimilarTwo(self, words1, words2, pairs): """ :type words1: List[str] :type words2: List[str] :type pairs...
38.375
368
0.482085
278
2,456
4.258993
0.377698
0.011824
0.043074
0.025338
0.153716
0.133446
0
0
0
0
0
0.023177
0.279723
2,456
63
369
38.984127
0.646128
0.089169
0
0.219512
0
0
0.220049
0
0
0
0
0
0
0
null
null
0
0
null
null
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
929e35be958ee3633c514ae680ee6e40e159bff6
1,611
py
Python
migrations/versions/f6ee6f9df554_.py
d-demirci/blockpy-server
f596f539d7809054a430a898bee877a0dbcb15b5
[ "MIT" ]
18
2019-10-14T13:56:15.000Z
2022-03-12T23:49:14.000Z
migrations/versions/f6ee6f9df554_.py
acbart/blockpy-server
c504be4dffc624b7161c2c976d2d195f5f08cf9a
[ "MIT" ]
26
2019-08-13T18:17:45.000Z
2021-09-06T12:31:48.000Z
migrations/versions/f6ee6f9df554_.py
DigitalDerrickcs/blockpy-server
4d3da5830ec802ec9d018e2fde91f33e2be38f10
[ "MIT" ]
9
2019-08-27T10:52:31.000Z
2021-07-27T16:10:17.000Z
"""Add Review Table Revision ID: f6ee6f9df554 Revises: Create Date: 2019-08-07 13:09:49.691184 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'f6ee6f9df554' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto g...
34.276596
98
0.676598
197
1,611
5.416244
0.340102
0.082474
0.131209
0.168697
0.367385
0.367385
0.283037
0.082474
0
0
0
0.023256
0.145872
1,611
46
99
35.021739
0.75218
0.177529
0
0
0
0
0.208075
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.142857
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
92adae391b5af1e46c2cbd108fadd2ff78e87772
384
py
Python
app/app/services/forms.py
dtcooper/crazyarms
71ea0e58958233daaceb8750043f74ef1a141079
[ "MIT" ]
15
2021-01-18T17:16:51.000Z
2022-03-28T22:16:19.000Z
app/app/services/forms.py
dtcooper/carb
71ea0e58958233daaceb8750043f74ef1a141079
[ "MIT" ]
4
2021-03-14T16:28:40.000Z
2021-03-31T16:48:49.000Z
app/app/services/forms.py
dtcooper/carb
71ea0e58958233daaceb8750043f74ef1a141079
[ "MIT" ]
3
2021-07-15T02:24:19.000Z
2022-03-18T11:50:05.000Z
from django import forms from .services import HarborService class HarborCustomConfigForm(forms.Form): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) for section_number in range(1, HarborService.CUSTOM_CONFIG_NUM_SECTIONS + 1): self.fields[f"section{section_num...
34.909091
108
0.726563
46
384
5.782609
0.695652
0.075188
0
0
0
0
0
0
0
0
0
0.006211
0.161458
384
10
109
38.4
0.819876
0
0
0
0
0
0.059896
0.059896
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
92adb85a4eb3efaf7dd6076d356a071ec17c7036
26,816
py
Python
deepmars/models/train_model_sys.py
utplanets/deepmars
ba306aa9b25b654636b61cf952af2791b7ed0e56
[ "MIT" ]
2
2021-08-08T03:06:58.000Z
2021-11-25T04:06:00.000Z
deepmars/models/train_model_sys.py
utplanets/deepmars
ba306aa9b25b654636b61cf952af2791b7ed0e56
[ "MIT" ]
null
null
null
deepmars/models/train_model_sys.py
utplanets/deepmars
ba306aa9b25b654636b61cf952af2791b7ed0e56
[ "MIT" ]
2
2020-11-23T09:38:26.000Z
2021-02-26T01:14:28.000Z
#!/usr/bin/env python """Convolutional Neural Network Training Functions Functions for building and training a (UNET) Convolutional Neural Network on images of the Mars and binary ring targets. """ from __future__ import absolute_import, division, print_function import numpy as np import pandas as pd import h5py fro...
36.237838
79
0.545085
3,310
26,816
4.263444
0.171601
0.01644
0.022321
0.021259
0.335176
0.310091
0.280258
0.269841
0.238946
0.218679
0
0.023665
0.316117
26,816
739
80
36.286874
0.745842
0.097479
0
0.217295
0
0
0.10883
0.01319
0
0
0
0
0
0
null
null
0.002217
0.059867
null
null
0.055432
0
0
0
null
0
0
0
0
0
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
92b84f5fd97fe6052eddaf4fb13a8cbc0248d07a
270
py
Python
sample/rubrik_polaris/get_storage_object_ids_ebs.py
talmo77/rubrik-polaris-sdk-for-python
505ce03b7995e7b86206c728be594d56d4431050
[ "MIT" ]
2
2021-07-14T12:54:53.000Z
2022-03-03T21:55:28.000Z
sample/rubrik_polaris/get_storage_object_ids_ebs.py
talmo77/rubrik-polaris-sdk-for-python
505ce03b7995e7b86206c728be594d56d4431050
[ "MIT" ]
8
2021-03-09T13:02:15.000Z
2022-02-24T08:46:50.000Z
sample/rubrik_polaris/get_storage_object_ids_ebs.py
talmo77/rubrik-polaris-sdk-for-python
505ce03b7995e7b86206c728be594d56d4431050
[ "MIT" ]
4
2021-04-16T15:49:36.000Z
2021-11-09T17:58:21.000Z
from rubrik_polaris import PolarisClient domain = 'my-company' username = 'john.doe@example.com' password = 's3cr3tP_a55w0R)' client = PolarisClient(domain, username, password, insecure=True) print(client.get_storage_object_ids_ebs(tags = {"Class": "Management"}))
22.5
72
0.77037
33
270
6.121212
0.848485
0.188119
0
0
0
0
0
0
0
0
0
0.020661
0.103704
270
11
73
24.545455
0.81405
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
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
92b86ef8042175ced0f5be6c5fb6656b4c301369
452
py
Python
lizardanalysis.py
JojoReikun/ClimbingLizardDLCAnalysis
6cc38090217a3ffd4860ef6d06ba7967d3c10b7c
[ "MIT" ]
1
2021-03-09T19:12:44.000Z
2021-03-09T19:12:44.000Z
lizardanalysis.py
JojoReikun/ClimbingLizardDLCAnalysis
6cc38090217a3ffd4860ef6d06ba7967d3c10b7c
[ "MIT" ]
null
null
null
lizardanalysis.py
JojoReikun/ClimbingLizardDLCAnalysis
6cc38090217a3ffd4860ef6d06ba7967d3c10b7c
[ "MIT" ]
null
null
null
""" LizardDLCAnalysis Toolbox © Johanna T. Schultz © Fabian Plum Licensed under MIT License ---------------------------------------------------------- for testing and debugging in pycharm: ---> Tools ---> Python Console ---> (with ipython installed): IN[1]: import lizardanalysis ---> run commands: IN[2]: lizardanalysi...
17.384615
58
0.60177
49
452
5.428571
0.795918
0
0
0
0
0
0
0
0
0
0
0.005181
0.146018
452
25
59
18.08
0.678756
0.756637
0
0
0
0
0.078431
0
0
0
0
0
0
1
0.2
true
0
0.2
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
1
0
0
0
0
0
0
1
92b908d1f507caf2b00b09a9d6cc2b497334bead
3,535
py
Python
logic/auth.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
2
2019-02-21T18:29:09.000Z
2021-01-27T14:52:46.000Z
logic/auth.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
3
2018-11-22T08:34:04.000Z
2021-06-01T22:47:19.000Z
logic/auth.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
1
2019-06-13T10:45:46.000Z
2019-06-13T10:45:46.000Z
import hashlib import logging import random import string import uuid from mongoengine import DoesNotExist, NotUniqueError from models.Invitation import Invitation from models.User import User __author__ = 'Enis Simsar' # from http://www.pythoncentral.io/hashing-strings-with-python/ def hash_password(password): ...
28.97541
101
0.647808
434
3,535
5.16129
0.205069
0.075
0.076339
0.048214
0.474554
0.455804
0.418304
0.418304
0.373661
0.337054
0
0.006869
0.217539
3,535
121
102
29.214876
0.802965
0.046393
0
0.533333
0
0
0.122067
0
0
0
0
0
0
1
0.077778
false
0.111111
0.088889
0
0.411111
0
0
0
0
null
0
0
0
0
0
0
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
2b7ba4ab1cf3dd66d4fbb9e770b9f307a58c473f
8,055
py
Python
UCP/discussion/functions.py
BuildmLearn/University-Campus-Portal-UCP
3cac50bd58f2ef4365522a76a8378d0a6f599832
[ "BSD-3-Clause" ]
13
2016-04-24T10:44:28.000Z
2020-09-07T01:23:18.000Z
UCP/discussion/functions.py
BuildmLearn/University-Campus-Portal-UCP
3cac50bd58f2ef4365522a76a8378d0a6f599832
[ "BSD-3-Clause" ]
16
2016-09-05T10:35:41.000Z
2018-08-25T10:27:13.000Z
UCP/discussion/functions.py
BuildmLearn/University-Campus-Portal-UCP
3cac50bd58f2ef4365522a76a8378d0a6f599832
[ "BSD-3-Clause" ]
24
2016-06-25T08:20:12.000Z
2018-01-11T20:46:24.000Z
""" Functions file for discussion app consists of common functions used by both api.py and views.py file """ from django.contrib.auth.models import User from django.contrib.auth import authenticate, login from django.core.mail import send_mail from django.shortcuts import render from django.template import Context fro...
31.342412
145
0.644693
888
8,055
5.737613
0.191441
0.037684
0.031403
0.040824
0.368989
0.349166
0.336408
0.297743
0.297743
0.29578
0
0.001513
0.261577
8,055
257
146
31.342412
0.855077
0.015022
0
0.424242
0
0
0.063474
0
0
0
0
0
0
0
null
null
0
0.121212
null
null
0.006061
0
0
0
null
0
0
0
0
0
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
2b809f699739184b5a2cfa529c9aff5901c0adf0
2,816
py
Python
src/third_party/pcap2har/main.py
ashumeow/pcaphar
68d20b74bb16fa1b4183ebe04753ffcecf9daedf
[ "Apache-2.0" ]
null
null
null
src/third_party/pcap2har/main.py
ashumeow/pcaphar
68d20b74bb16fa1b4183ebe04753ffcecf9daedf
[ "Apache-2.0" ]
null
null
null
src/third_party/pcap2har/main.py
ashumeow/pcaphar
68d20b74bb16fa1b4183ebe04753ffcecf9daedf
[ "Apache-2.0" ]
null
null
null
# Copyright 2010 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
25.834862
78
0.667259
411
2,816
4.454988
0.394161
0.042054
0.062261
0.017477
0.076461
0.055707
0
0
0
0
0
0.010393
0.214134
2,816
108
79
26.074074
0.816991
0.262429
0
0.185714
0
0
0.095364
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.057143
0
0
0
null
0
0
0
0
0
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
2b85b84ca70ad679c297d70925380a546779f12d
588
py
Python
kunai/torch_utils/seed.py
mjun0812/kunai
6a457c7242ed98dadb29f7002a3c0385ae6c1701
[ "MIT" ]
null
null
null
kunai/torch_utils/seed.py
mjun0812/kunai
6a457c7242ed98dadb29f7002a3c0385ae6c1701
[ "MIT" ]
null
null
null
kunai/torch_utils/seed.py
mjun0812/kunai
6a457c7242ed98dadb29f7002a3c0385ae6c1701
[ "MIT" ]
null
null
null
import random import numpy as np import torch def worker_init_fn(worker_id): """Reset numpy random seed in PyTorch Dataloader Args: worker_id (int): random seed value """ np.random.seed(np.random.get_state()[1][0] + worker_id) def fix_seed(seed): """fix seed on random, numpy, torch mo...
17.294118
59
0.634354
81
588
4.481481
0.395062
0.137741
0.066116
0
0
0
0
0
0
0
0
0.004619
0.263605
588
33
60
17.818182
0.833718
0.382653
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2b8826183338e351fe4dbe3ffb007fda739ce1c8
467
py
Python
datastrucutre/array/find_given_sum_in_array.py
abhishektyagi2912/python-dsa
8f51f15a091ee76e00fb34abc232c23cb68440cb
[ "MIT" ]
1
2021-05-02T05:43:34.000Z
2021-05-02T05:43:34.000Z
datastrucutre/array/find_given_sum_in_array.py
abhishektyagi2912/python-dsa
8f51f15a091ee76e00fb34abc232c23cb68440cb
[ "MIT" ]
null
null
null
datastrucutre/array/find_given_sum_in_array.py
abhishektyagi2912/python-dsa
8f51f15a091ee76e00fb34abc232c23cb68440cb
[ "MIT" ]
null
null
null
def find_sum(arr, s): curr_sum = arr[0] start = 0 n = len(arr) - 1 i = 1 while i <= n: while curr_sum > s and start < i: curr_sum = curr_sum - arr[start] start += 1 if curr_sum == s: return "Found between {} and {}".format(start, i ...
18.68
65
0.466809
73
467
2.863014
0.410959
0.23445
0.143541
0.133971
0.162679
0
0
0
0
0
0
0.067857
0.400428
467
24
66
19.458333
0.678571
0
0
0
0
0
0.077088
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.1875
0.0625
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
2b8a843980224263fdf89972e3e7e0691943f2f7
216
py
Python
tests/test_winterspringbl.py
lamter/slavewg
c3a4098b6c2cbfd232f8ed2290141b7f61d7db6f
[ "Apache-2.0" ]
3
2020-08-13T15:04:33.000Z
2021-03-12T16:12:39.000Z
tests/test_winterspringbl.py
lamter/slavewg
c3a4098b6c2cbfd232f8ed2290141b7f61d7db6f
[ "Apache-2.0" ]
null
null
null
tests/test_winterspringbl.py
lamter/slavewg
c3a4098b6c2cbfd232f8ed2290141b7f61d7db6f
[ "Apache-2.0" ]
null
null
null
import slavewg from threading import Event from queue import Queue def test_runLoop(): q = Queue() s = Event() s.set() lbl = slavewg.LootBlackLotus(s, q) lbl.do(lbl.pos_winterspring_mountain)
15.428571
41
0.680556
30
216
4.8
0.6
0
0
0
0
0
0
0
0
0
0
0
0.222222
216
13
42
16.615385
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b8cd12ab30cf14546818a1c84e84c64173a25c5
2,218
py
Python
thesis_scripts/train_probs_plot.py
jizongFox/kaggle-seizure-prediction
9439d1c8ca9b4282fcd630a20d0d7946b790e218
[ "MIT" ]
55
2015-03-17T16:54:49.000Z
2022-03-10T13:49:08.000Z
thesis_scripts/train_probs_plot.py
jizongFox/kaggle-seizure-prediction
9439d1c8ca9b4282fcd630a20d0d7946b790e218
[ "MIT" ]
2
2018-05-12T20:29:52.000Z
2021-08-10T11:27:05.000Z
thesis_scripts/train_probs_plot.py
jizongFox/kaggle-seizure-prediction
9439d1c8ca9b4282fcd630a20d0d7946b790e218
[ "MIT" ]
18
2015-03-20T03:03:17.000Z
2022-03-10T13:49:20.000Z
import numpy as np import json import cPickle import matplotlib.pyplot as plt from theano import config import matplotlib.cm as cmx import matplotlib.colors as colors from sklearn.metrics import roc_curve from utils.loader import load_train_data from utils.config_name_creator import * from utils.data_scaler import sc...
32.617647
104
0.681695
335
2,218
4.235821
0.370149
0.028189
0.027484
0.018323
0.112755
0.087385
0.053559
0.053559
0
0
0
0.014618
0.167268
2,218
68
105
32.617647
0.753655
0
0
0
0
0
0.098242
0.022533
0
0
0
0
0
0
null
null
0
0.24
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b8eb6f4aea8446268376f43354cab9bc858fe41
9,313
py
Python
jaeun.py
catubc/ensembles
cf4bd380a6ac300e477d555a6b708363100f974b
[ "MIT" ]
null
null
null
jaeun.py
catubc/ensembles
cf4bd380a6ac300e477d555a6b708363100f974b
[ "MIT" ]
null
null
null
jaeun.py
catubc/ensembles
cf4bd380a6ac300e477d555a6b708363100f974b
[ "MIT" ]
null
null
null
# Kang Miller et al 2014 method for computing ensembles # # # import numpy as np import matplotlib.pyplot as plt import os import scipy.stats def PCA(X, n_components): from sklearn import decomposition #pca = decomposition.SparsePCA(n_components=3, n_jobs=1) pca = decomposition.PCA(n_components=n_c...
36.521569
131
0.600021
1,311
9,313
4.134249
0.212052
0.019926
0.019926
0.021587
0.456089
0.414576
0.378967
0.363838
0.33321
0.33321
0
0.026357
0.254483
9,313
254
132
36.665354
0.754285
0.207774
0
0.234899
0
0
0.083379
0.018589
0
0
0
0
0
0
null
null
0.006711
0.040268
null
null
0.14094
0
0
0
null
0
0
0
0
0
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
2b91b64bcf9fb63e83545e349af03a180f049619
3,012
py
Python
fun/fnotification/migrations/0001_initial.py
larryw3i/osp
d9526a179876053a6b93e5a110d2de730376f511
[ "MIT" ]
1
2022-01-01T11:14:58.000Z
2022-01-01T11:14:58.000Z
fun/fnotification/migrations/0001_initial.py
larryw3i/osp
d9526a179876053a6b93e5a110d2de730376f511
[ "MIT" ]
null
null
null
fun/fnotification/migrations/0001_initial.py
larryw3i/osp
d9526a179876053a6b93e5a110d2de730376f511
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-01-13 10:17 import uuid import ckeditor_uploader.fields import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('funuser', '0004_alter_funuse...
35.857143
161
0.479748
245
3,012
5.702041
0.497959
0.086614
0.031496
0.031496
0.030064
0
0
0
0
0
0
0.018713
0.432271
3,012
83
162
36.289157
0.798246
0.014276
0
0.08
1
0.013333
0.186384
0.020897
0
0
0
0
0
1
0
false
0
0.066667
0
0.12
0
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
2b96e0991964b2437d682f1fd12e74f747085a34
302
py
Python
skippa/__init__.py
data-science-lab-amsterdam/skippa
1349317c441f1e46e22f4c02a8aceae767aea5fe
[ "BSD-3-Clause" ]
33
2021-12-15T22:56:12.000Z
2022-02-26T12:33:56.000Z
skippa/__init__.py
data-science-lab-amsterdam/skippa
1349317c441f1e46e22f4c02a8aceae767aea5fe
[ "BSD-3-Clause" ]
null
null
null
skippa/__init__.py
data-science-lab-amsterdam/skippa
1349317c441f1e46e22f4c02a8aceae767aea5fe
[ "BSD-3-Clause" ]
1
2022-01-20T15:41:35.000Z
2022-01-20T15:41:35.000Z
"""Top-level package for skippa. The pipeline module defines the main Skippa methods The transformers subpackage contains various transformers used in the pipeline. """ __author__ = """Robert van Straalen""" __email__ = 'tech@datasciencelab.nl' from .pipeline import Skippa, SkippaPipeline, columns
27.454545
79
0.788079
37
302
6.216216
0.783784
0.095652
0
0
0
0
0
0
0
0
0
0
0.13245
302
10
80
30.2
0.877863
0.536424
0
0
0
0
0.308271
0.165414
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
2ba20cdbe21eded23a10e339852b7da8fa1eb902
948
py
Python
conftest.py
dasap89/rest_accounts
e0daeece000391d93e1bc99db484b8fe45588046
[ "MIT" ]
null
null
null
conftest.py
dasap89/rest_accounts
e0daeece000391d93e1bc99db484b8fe45588046
[ "MIT" ]
null
null
null
conftest.py
dasap89/rest_accounts
e0daeece000391d93e1bc99db484b8fe45588046
[ "MIT" ]
null
null
null
"""Additional configuration for pytest""" import datetime import os import pytest from django.contrib.auth import get_user_model from rest_framework.authtoken.models import Token User = get_user_model() # pylint: disable=redefined-outer-name,unused-argument,no-member @pytest.fixture(scope='session') def django_db_...
26.333333
64
0.714135
135
948
4.837037
0.451852
0.061256
0.036753
0.058193
0.119449
0
0
0
0
0
0
0.003861
0.18038
948
35
65
27.085714
0.836551
0.271097
0
0
0
0
0.083841
0
0
0
0
0
0
1
0.111111
false
0.055556
0.277778
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
1
0
0
0
0
0
1
2ba38d92cac59d9afb0607dd598cb535e95a6b6e
1,099
py
Python
lib/rucio/db/sqla/migrate_repo/versions/35ef10d1e11b_change_index_on_table_requests.py
balrampariyarath/rucio
8a68017af6b44485a9620566f1afc013838413c1
[ "Apache-2.0" ]
1
2017-08-07T13:34:55.000Z
2017-08-07T13:34:55.000Z
lib/rucio/db/sqla/migrate_repo/versions/35ef10d1e11b_change_index_on_table_requests.py
pujanm/rucio
355a997a5ea213c427a5d841ab151ceb01073eb4
[ "Apache-2.0" ]
null
null
null
lib/rucio/db/sqla/migrate_repo/versions/35ef10d1e11b_change_index_on_table_requests.py
pujanm/rucio
355a997a5ea213c427a5d841ab151ceb01073eb4
[ "Apache-2.0" ]
1
2021-06-17T14:15:15.000Z
2021-06-17T14:15:15.000Z
""" Copyright European Organization for Nuclear Research (CERN) 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 Authors: - Vincent Garonne, <vincent...
27.475
97
0.730664
150
1,099
5.173333
0.566667
0.06701
0.082474
0.097938
0.257732
0.216495
0.170103
0
0
0
0
0.07074
0.151046
1,099
39
98
28.179487
0.760986
0.539581
0
0
0
0
0.443011
0.206452
0
0
0
0
0
1
0.222222
false
0
0.111111
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
1
0
0
0
0
0
0
0
1
2bad9543f61fe85bae0ab93637dfc67e43dc0ae6
1,876
py
Python
dm_verity_make_ext4fs.py
bigb123/samsung-android_bootable_recovery_libdmverity
2f9ce00f76ed4f1a251d5244ae2533cf53417478
[ "MIT" ]
1
2020-06-28T00:49:21.000Z
2020-06-28T00:49:21.000Z
dm_verity_make_ext4fs.py
bigb123/samsung-android_bootable_recovery_libdmverity
2f9ce00f76ed4f1a251d5244ae2533cf53417478
[ "MIT" ]
null
null
null
dm_verity_make_ext4fs.py
bigb123/samsung-android_bootable_recovery_libdmverity
2f9ce00f76ed4f1a251d5244ae2533cf53417478
[ "MIT" ]
1
2021-03-05T16:54:52.000Z
2021-03-05T16:54:52.000Z
#! /usr/bin/env python # make_ext4fs -s -S /home/swei/p4/STA-ESG_SWEI_KLTE_ATT-TRUNK_DMV/android/out/target/product/klteatt/root/file_contexts -l 2654994432 -a system system.img.ext4 system import os,posixpath,sys,getopt reserve=1024*1024*32 def run(cmd): print cmd # return 0 return os.system(cmd) def m...
28.861538
166
0.587953
271
1,876
3.900369
0.391144
0.094607
0.098392
0.128666
0.264901
0.203406
0.089877
0.089877
0.064333
0.064333
0
0.041973
0.276119
1,876
64
167
29.3125
0.736377
0.116738
0
0.3
0
0.02
0.170599
0.049002
0
0
0
0
0
0
null
null
0
0.02
null
null
0.14
0
0
0
null
0
0
0
0
0
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
2bb629029f6d9ac0a63d285ca3b6e11796d43870
10,171
py
Python
mcp2515.py
sifosifo/MCP2515LinuxDriver
14e933a81626980ec7c9c9830335383fdd7abe3a
[ "BSD-3-Clause" ]
3
2018-01-31T11:54:21.000Z
2020-02-13T08:12:07.000Z
mcp2515.py
sifosifo/MCP2515LinuxDriver
14e933a81626980ec7c9c9830335383fdd7abe3a
[ "BSD-3-Clause" ]
1
2020-02-15T06:01:39.000Z
2020-02-27T05:23:43.000Z
mcp2515.py
sifosifo/MCP2515LinuxDriver
14e933a81626980ec7c9c9830335383fdd7abe3a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import spidev class mcp2515: SPI_RESET = 0xC0 SPI_READ = 0x03 SPI_READ_RX = 0x90 SPI_WRITE = 0x02 SPI_WRITE_TX = 0x40 SPI_RTS = 0x80 SPI_READ_STATUS = 0xA0 SPI_RX_STATUS = 0xB0 SPI_BIT_MODIFY = 0x05 #/* Configuration Registers */ CANSTAT = 0x0E CANCTRL = 0x0F BFPCTRL ...
22.256018
79
0.478714
1,000
10,171
4.669
0.418
0.01949
0.008996
0.015421
0.017348
0
0
0
0
0
0
0.198031
0.380887
10,171
456
80
22.304825
0.543433
0.174909
0
0.032641
0
0
0
0
0
0
0.151061
0
0
1
0.014837
false
0
0.002967
0
0.952522
0
0
0
0
null
0
0
0
0
0
0
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
2bb62b6a718f65b1214f64e28be9ca336c62449b
3,809
py
Python
model/grouptrack.py
janhradek/regaudio
e3ead0b19f016c645985e5f779414076306be7e0
[ "Zlib" ]
null
null
null
model/grouptrack.py
janhradek/regaudio
e3ead0b19f016c645985e5f779414076306be7e0
[ "Zlib" ]
null
null
null
model/grouptrack.py
janhradek/regaudio
e3ead0b19f016c645985e5f779414076306be7e0
[ "Zlib" ]
null
null
null
import sqlalchemy from .base import Base from .track import Track import model.tracktime class GroupTrack(Base): ''' a link between group and track (association pattern) backrefs group and track (not listed here) To use this first create the group, then group tracks, then tracks and add them to ...
30.96748
111
0.593594
442
3,809
5.090498
0.246606
0.017778
0.018667
0.088
0.348444
0.329778
0.256889
0.192889
0.153778
0.153778
0
0.008432
0.315043
3,809
122
112
31.221311
0.853967
0.18535
0
0.406977
0
0
0.015
0
0
0
0
0
0
1
0.093023
false
0
0.046512
0
0.523256
0
0
0
0
null
0
0
0
0
0
0
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
2bbc1f15ebca775f3d32d7270961e05f3489946d
1,240
py
Python
usaspending_api/common/tests/test_limitable_serializer.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
usaspending_api/common/tests/test_limitable_serializer.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
3
2020-02-12T01:16:46.000Z
2021-06-10T20:36:57.000Z
usaspending_api/common/tests/test_limitable_serializer.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
import pytest import json from model_mommy import mommy from usaspending_api.awards.models import Award @pytest.fixture def mock_limitable_data(): mommy.make(Award, _fill_optional=True) @pytest.mark.django_db def test_nested_field_limiting(client, mock_limitable_data): request_object = { "fields":...
24.8
66
0.678226
150
1,240
5.393333
0.34
0.066749
0.064277
0.093943
0.76885
0.707046
0.618047
0.618047
0.529048
0.529048
0
0.004
0.193548
1,240
49
67
25.306122
0.805
0
0
0.514286
0
0
0.183065
0.040323
0
0
0
0
0.171429
1
0.085714
false
0
0.114286
0
0.2
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
2bbe4807e1342fac308483071d778e38b6d71f3f
2,959
py
Python
yasql/apps/sqlorders/urls.py
Fanduzi/YaSQL
bc6366a9b1c1e9ed84fd24ea2b4a21f8f99d0af5
[ "Apache-2.0" ]
443
2018-02-08T02:53:48.000Z
2020-10-13T10:01:55.000Z
yasql/apps/sqlorders/urls.py
Fanduzi/YaSQL
bc6366a9b1c1e9ed84fd24ea2b4a21f8f99d0af5
[ "Apache-2.0" ]
27
2020-10-14T10:01:52.000Z
2022-03-12T00:49:47.000Z
yasql/apps/sqlorders/urls.py
Fanduzi/YaSQL
bc6366a9b1c1e9ed84fd24ea2b4a21f8f99d0af5
[ "Apache-2.0" ]
148
2018-03-15T06:07:25.000Z
2020-08-17T14:58:45.000Z
# -*- coding:utf-8 -*- # edit by fuzongfei from django.urls import path from sqlorders import views urlpatterns = [ # SQL工单 path('envs', views.GetDBEnvironment.as_view(), name='v1.sqlorders.db-environment'), path('schemas', views.GetDbSchemas.as_view(), name='v1.sqlorders.db-schemas'), path('incep/sy...
61.645833
114
0.707672
371
2,959
5.560647
0.234501
0.075618
0.189045
0.127969
0.33301
0.251575
0.106156
0
0
0
0
0.01091
0.101724
2,959
47
115
62.957447
0.765237
0.02974
0
0
0
0
0.402865
0.272537
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2bc59939181c875a61b3f943ea4d563e7976ef42
1,075
py
Python
LAB/05/0530_PyMongo.py
LegenDad/KTM_Lab
09a1671b1dfe9b667008279ef41a959f08babbfc
[ "MIT" ]
null
null
null
LAB/05/0530_PyMongo.py
LegenDad/KTM_Lab
09a1671b1dfe9b667008279ef41a959f08babbfc
[ "MIT" ]
null
null
null
LAB/05/0530_PyMongo.py
LegenDad/KTM_Lab
09a1671b1dfe9b667008279ef41a959f08babbfc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu May 31 09:09:26 2018 @author: Jeon """ !pip search pymongo !pip install pymongo import pymongo mgclient = pymongo.MongoClient("localhost", 27017) # check start mogodb (mongod) mgclient.database_names() testdb = mgclient.testdb testdb_col = testdb.items data= { "name":"co...
19.545455
63
0.692093
146
1,075
5.068493
0.410959
0.137838
0.141892
0.109459
0.293243
0.091892
0
0
0
0
0
0.033791
0.11907
1,075
55
64
19.545455
0.747624
0.045581
0
0.137931
0
0
0.089027
0
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.344828
0
0
0
null
0
0
0
0
0
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
2bc5fd37e006f771bdbfbce48ca1e4e8865d7cc3
10,285
py
Python
src/animasnd/image.py
N-z0/commonz
275c48ef6aac32f0d809a96e56b0b0c254686747
[ "Unlicense" ]
null
null
null
src/animasnd/image.py
N-z0/commonz
275c48ef6aac32f0d809a96e56b0b0c254686747
[ "Unlicense" ]
null
null
null
src/animasnd/image.py
N-z0/commonz
275c48ef6aac32f0d809a96e56b0b0c254686747
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 #coding: utf-8 ### 1st line allows to execute this script by typing only its name in terminal, with no need to precede it with the python command ### 2nd line declaring source code charset should be not necessary but for exemple pydoc request it __doc__ = "provide images support"#information d...
31.940994
198
0.734565
1,628
10,285
4.523342
0.275184
0.055133
0.012222
0.013308
0.126833
0.076725
0.036936
0.019283
0.010049
0.010049
0
0.013927
0.148274
10,285
321
199
32.040498
0.826712
0.489645
0
0.013514
0
0
0.033421
0
0
0
0
0
0
1
0.216216
false
0
0.054054
0
0.337838
0
0
0
0
null
0
0
0
0
0
0
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
2bd67d5e723b9c06ff50baa0fbd6ffdaf7fb05cb
3,752
py
Python
python/ts/flint/utils.py
mattomatic/flint
ee1dc08b5a7f2c84e41bfbc7a02e069d23d02c72
[ "Apache-2.0" ]
972
2016-10-25T20:56:50.000Z
2022-03-23T06:05:59.000Z
python/ts/flint/utils.py
mattomatic/flint
ee1dc08b5a7f2c84e41bfbc7a02e069d23d02c72
[ "Apache-2.0" ]
66
2016-11-02T15:27:35.000Z
2022-02-15T16:48:48.000Z
python/ts/flint/utils.py
jaewanbahk/flint
eda21faace03ed90258d1008071e9ac7033f5f48
[ "Apache-2.0" ]
218
2016-11-04T11:03:24.000Z
2022-01-21T21:31:59.000Z
# # Copyright 2017 TWO SIGMA OPEN SOURCE, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
30.754098
104
0.67564
525
3,752
4.72
0.321905
0.024213
0.026231
0.040355
0.239306
0.157789
0.054479
0.054479
0
0
0
0.004386
0.210021
3,752
121
105
31.008264
0.831646
0.530117
0
0.078431
0
0
0.050995
0
0
0
0
0
0
1
0.215686
false
0
0.019608
0.039216
0.490196
0
0
0
0
null
0
0
0
0
0
0
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
2bdb91041eec35c1c58197d76e4a723d39aceee0
18,798
py
Python
ttbd/ttbl/quartus.py
inakypg/tcf
569e21b25c8ee72ebad0c80d0a7de0714411185f
[ "Apache-2.0" ]
1
2018-08-31T06:48:14.000Z
2018-08-31T06:48:14.000Z
ttbd/ttbl/quartus.py
inakypg/tcf
569e21b25c8ee72ebad0c80d0a7de0714411185f
[ "Apache-2.0" ]
null
null
null
ttbd/ttbl/quartus.py
inakypg/tcf
569e21b25c8ee72ebad0c80d0a7de0714411185f
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python3 # # Copyright (c) 2021 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # import copy import os import subprocess import commonl import ttbl import ttbl.images import ttbl.power class pgm_c(ttbl.images.flash_shell_cmd_c): """Flash using Intel's Quartus PGM tool This allows to fl...
37.899194
155
0.641132
2,563
18,798
4.601249
0.25595
0.033579
0.030527
0.010684
0.200543
0.171797
0.135928
0.096922
0.079793
0.069024
0
0.02606
0.273274
18,798
495
156
37.975758
0.837201
0.607033
0
0.166667
0
0
0.140263
0.066879
0
0
0
0.010101
0.068182
1
0.045455
false
0
0.05303
0.007576
0.151515
0
0
0
0
null
0
0
0
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
2bdcbb9196f7ddd57e7b4ad584ef8f3fd81fbbd6
565
py
Python
delivery/delivery/exts/cli/__init__.py
all0cer/flask
a72bee18fd8d4ccf0f16e0e637f7e0b1779e7d85
[ "Unlicense" ]
null
null
null
delivery/delivery/exts/cli/__init__.py
all0cer/flask
a72bee18fd8d4ccf0f16e0e637f7e0b1779e7d85
[ "Unlicense" ]
null
null
null
delivery/delivery/exts/cli/__init__.py
all0cer/flask
a72bee18fd8d4ccf0f16e0e637f7e0b1779e7d85
[ "Unlicense" ]
null
null
null
from enum import Flag import click from delivery.exts.db import db from delivery.exts.db import models def init_app(app): @app.cli.command() def create_db(): db.create_all() @app.cli.command() @click.option("--email", "-e") @click.option("--passwd", "-p") @click.option("--admin", "-a...
23.541667
63
0.576991
73
565
4.383562
0.438356
0.103125
0.1
0.1125
0.15
0
0
0
0
0
0
0
0.274336
565
24
64
23.541667
0.780488
0
0
0.1
0
0
0.04947
0
0
0
0
0
0
1
0.15
false
0.15
0.2
0
0.35
0
0
0
0
null
0
0
0
0
0
0
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
2bf2e3db2a5c23652d59aea6af613c4b44bec6ab
948
py
Python
Medium/54_spiralOrder.py
a-shah8/LeetCode
a654e478f51b2254f7b49055beba6b5675bc5223
[ "MIT" ]
1
2021-06-02T15:03:41.000Z
2021-06-02T15:03:41.000Z
Medium/54_spiralOrder.py
a-shah8/LeetCode
a654e478f51b2254f7b49055beba6b5675bc5223
[ "MIT" ]
null
null
null
Medium/54_spiralOrder.py
a-shah8/LeetCode
a654e478f51b2254f7b49055beba6b5675bc5223
[ "MIT" ]
null
null
null
class Solution: def spiralOrder(self, matrix: List[List[int]]) -> List[int]: result = [] rows, columns = len(matrix), len(matrix[0]) up = left = 0 right = columns-1 down = rows-1 while len(result) < rows*columns: for col in r...
29.625
64
0.405063
101
948
3.80198
0.267327
0.072917
0.135417
0.197917
0.114583
0
0
0
0
0
0
0.03272
0.484177
948
31
65
30.580645
0.752556
0
0
0
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.130435
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
2bf566fec30c9deeff3c69426f515c5625a28010
1,661
py
Python
scripts/run-and-rename.py
mfs6174/Deep6174
92e2ceb48134e0cf003f130aef8d838a7a16c27d
[ "Apache-2.0" ]
null
null
null
scripts/run-and-rename.py
mfs6174/Deep6174
92e2ceb48134e0cf003f130aef8d838a7a16c27d
[ "Apache-2.0" ]
null
null
null
scripts/run-and-rename.py
mfs6174/Deep6174
92e2ceb48134e0cf003f130aef8d838a7a16c27d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: UTF-8 -*- # File: run-and-rename.py # Date: Thu Sep 18 15:43:36 2014 -0700 # Author: Yuxin Wu <ppwwyyxxc@gmail.com> import numpy as np from scipy.misc import imread, imsave from itertools import izip import sys, os import shutil import os.path import glob if len(sys.argv) != 3: ...
27.229508
84
0.665262
265
1,661
4.075472
0.441509
0.038889
0.027778
0.025926
0.027778
0
0
0
0
0
0
0.036846
0.183022
1,661
60
85
27.683333
0.759027
0.138471
0
0
0
0
0.124648
0
0
0
0
0
0
0
null
null
0
0.282051
null
null
0.153846
0
0
0
null
0
0
0
0
0
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
2bf7cbd3af3aad19347edaabc6dc3814ebd7e30c
950
py
Python
wk8_hw/ex3_create_2_new_devs.py
philuu12/PYTHON_4_NTWK_ENGRS
ac0126ed687a5201031a6295d0094a536547cb92
[ "Apache-2.0" ]
1
2016-03-01T14:39:17.000Z
2016-03-01T14:39:17.000Z
wk8_hw/ex3_create_2_new_devs.py
philuu12/PYTHON_4_NTWK_ENGRS
ac0126ed687a5201031a6295d0094a536547cb92
[ "Apache-2.0" ]
null
null
null
wk8_hw/ex3_create_2_new_devs.py
philuu12/PYTHON_4_NTWK_ENGRS
ac0126ed687a5201031a6295d0094a536547cb92
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ 3. Create two new test NetworkDevices in the database. Use both direct object creation and the .get_or_create() method to create the devices. """ from net_system.models import NetworkDevice import django def main(): django.setup() brocade_rtr1 = NetworkDevice( device_name='...
22.093023
71
0.649474
129
950
4.55814
0.511628
0.07483
0.044218
0.044218
0.05102
0
0
0
0
0
0
0.046414
0.251579
950
42
72
22.619048
0.780591
0.093684
0
0.076923
0
0
0.130127
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.115385
0
0
0
null
0
0
0
0
0
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
2bf99724df5b4e9cffb019d5c688ef19980283e0
4,545
py
Python
applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/methodDefs_momentEstimator/updateCombinedPowerSums.py
HubertBalcerzak/Kratos
c15689d53f06dabb36dc44c13eeac73d3e183916
[ "BSD-4-Clause" ]
null
null
null
applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/methodDefs_momentEstimator/updateCombinedPowerSums.py
HubertBalcerzak/Kratos
c15689d53f06dabb36dc44c13eeac73d3e183916
[ "BSD-4-Clause" ]
null
null
null
applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/methodDefs_momentEstimator/updateCombinedPowerSums.py
HubertBalcerzak/Kratos
c15689d53f06dabb36dc44c13eeac73d3e183916
[ "BSD-4-Clause" ]
null
null
null
# Import PyCOMPSs # from exaqute.ExaquteTaskPyCOMPSs import * # to execute with runcompss # from exaqute.ExaquteTaskHyperLoom import * # to execute with the IT4 scheduler from exaqute.ExaquteTaskLocal import * # to execute with python3 def updatePowerSumsOrder1Dimension0(): pass @ExaquteTask(samples={Typ...
46.85567
186
0.678768
647
4,545
4.400309
0.094281
0.233228
0.082192
0.0281
0.72111
0.691605
0.671935
0.671935
0.638918
0.496663
0
0.058458
0.220902
4,545
96
187
47.34375
0.745552
0.046205
0
0.404762
0
0
0
0
0
0
0
0
0
1
0.095238
false
0.011905
0.011905
0.047619
0.190476
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2bfae8e287502bfa4fa79da3660a8aed6860e04e
598
py
Python
lista02Exec01.py
marcelocmedeiros/PrimeiraAvalaizcaoPython
6390505530fc4f9acef2e3b93944547a3685d611
[ "MIT" ]
null
null
null
lista02Exec01.py
marcelocmedeiros/PrimeiraAvalaizcaoPython
6390505530fc4f9acef2e3b93944547a3685d611
[ "MIT" ]
null
null
null
lista02Exec01.py
marcelocmedeiros/PrimeiraAvalaizcaoPython
6390505530fc4f9acef2e3b93944547a3685d611
[ "MIT" ]
null
null
null
#MARCELO CAMPOS DE MEDEIROS #ADS UNIFIP P1 2020 #LISTA 02 ''' 1- Faça um programa que solicite ao usuário o valor do litro de combustível (ex. 4,75) e quanto em dinheiro ele deseja abastecer (ex. 50,00). Calcule quantos litros de combustível o usuário obterá com esses valores. ''' valor_gas = float(input('Qual o valo...
33.222222
94
0.714047
100
598
4.23
0.63
0.056738
0.037825
0.070922
0.094563
0
0
0
0
0
0
0.041916
0.162207
598
17
95
35.176471
0.802395
0.448161
0
0.285714
0
0.142857
0.571875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
2bff57af33ceaea8237514bf259d6354d7c86834
8,203
py
Python
spiders/spider.py
gt11799/xueqiu_spider
72be1a983e3b648b902f12475fb914add7bd45e7
[ "MIT" ]
6
2016-09-08T07:30:42.000Z
2021-02-03T18:20:03.000Z
spiders/spider.py
gt11799/xueqiu_spider
72be1a983e3b648b902f12475fb914add7bd45e7
[ "MIT" ]
null
null
null
spiders/spider.py
gt11799/xueqiu_spider
72be1a983e3b648b902f12475fb914add7bd45e7
[ "MIT" ]
2
2017-02-07T08:30:18.000Z
2018-04-24T14:01:01.000Z
# -*- coding: utf-8 -*- import sys import time import json import pickle import hashlib import requests from urlparse import urljoin from config import * from spiders.common import * from spiders.html_parser import * from logs.log import logger reload(sys) sys.setdefaultencoding('utf8') class Spider(object): d...
32.042969
96
0.534561
891
8,203
4.79349
0.208754
0.033482
0.026223
0.028096
0.229689
0.162725
0.13299
0.092718
0.049637
0.028096
0
0.01298
0.351944
8,203
255
97
32.168627
0.790444
0.00573
0
0.275109
0
0
0.064026
0.002576
0
0
0
0
0
0
null
null
0.0131
0.048035
null
null
0.004367
0
0
0
null
0
0
0
0
0
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
920180be669a9b4ba8c22bfaeb59c4b059bb6f59
1,005
py
Python
sympy/diffgeom/tests/test_class_structure.py
shilpiprd/sympy
556e9c61b31d0d5f101cd56b43e843fbf3bcf121
[ "BSD-3-Clause" ]
8,323
2015-01-02T15:51:43.000Z
2022-03-31T13:13:19.000Z
sympy/diffgeom/tests/test_class_structure.py
shilpiprd/sympy
556e9c61b31d0d5f101cd56b43e843fbf3bcf121
[ "BSD-3-Clause" ]
15,102
2015-01-01T01:33:17.000Z
2022-03-31T22:53:13.000Z
sympy/diffgeom/tests/test_class_structure.py
shilpiprd/sympy
556e9c61b31d0d5f101cd56b43e843fbf3bcf121
[ "BSD-3-Clause" ]
4,490
2015-01-01T17:48:07.000Z
2022-03-31T17:24:05.000Z
from sympy.diffgeom import Manifold, Patch, CoordSystem, Point from sympy import symbols, Function from sympy.testing.pytest import warns_deprecated_sympy m = Manifold('m', 2) p = Patch('p', m) a, b = symbols('a b') cs = CoordSystem('cs', p, [a, b]) x, y = symbols('x y') f = Function('f') s1, s2 = cs.coord_functions()...
30.454545
62
0.610945
173
1,005
3.462428
0.260116
0.03005
0.066778
0.050083
0.133556
0.080134
0.080134
0
0
0
0
0.046972
0.195025
1,005
32
63
31.40625
0.693449
0.093532
0
0
0
0
0.016502
0
0
0
0
0.03125
0.307692
1
0.115385
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9204509b7b416569750a4002597915c7ee96c306
895
py
Python
tests/test_oauth.py
Dephilia/poaurk
8482effc35030c316c311dbda8a2e0b2e0754cda
[ "MIT" ]
1
2021-11-25T16:55:16.000Z
2021-11-25T16:55:16.000Z
tests/test_oauth.py
Dephilia/poaurk
8482effc35030c316c311dbda8a2e0b2e0754cda
[ "MIT" ]
null
null
null
tests/test_oauth.py
Dephilia/poaurk
8482effc35030c316c311dbda8a2e0b2e0754cda
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2021 dephilia <dephilia@MacBook-Pro.local> # # Distributed under terms of the MIT license. """ """ import unittest from poaurk import (PlurkAPI, PlurkOAuth) class TestOauthMethods(unittest.TestCase): def test_class(self): o...
24.189189
78
0.643575
105
895
5.380952
0.619048
0.049558
0
0
0
0
0
0
0
0
0
0.024217
0.215642
895
36
79
24.861111
0.779202
0.243575
0
0
0
0
0.128593
0.048412
0
0
0
0
0.277778
1
0.222222
false
0
0.111111
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
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
92052e2fb1619d6d194ae1f403d4ea778640c5a8
394
py
Python
datacite_rest/__init__.py
gu-eresearch/datacite-rest
2569afc9df2a2380e4c001b881b28dd8288441ae
[ "MIT" ]
null
null
null
datacite_rest/__init__.py
gu-eresearch/datacite-rest
2569afc9df2a2380e4c001b881b28dd8288441ae
[ "MIT" ]
null
null
null
datacite_rest/__init__.py
gu-eresearch/datacite-rest
2569afc9df2a2380e4c001b881b28dd8288441ae
[ "MIT" ]
1
2021-06-01T16:11:07.000Z
2021-06-01T16:11:07.000Z
""" root module with metadata """ __title__ = 'datacite-rest' __version__ = '0.0.1-dev0' __author__ = 'Gary Burgmann' __author_email__ = 'g.burgmann@griffith.edu.au' __description__ = 'a package for managing dois' __license__ = 'MIT' try: from .datacite_rest import DataCiteREST # noqa except Exception: # pres...
28.142857
74
0.741117
51
394
5.215686
0.882353
0.090226
0
0
0
0
0
0
0
0
0
0.012121
0.162437
394
13
75
30.307692
0.793939
0.256345
0
0
0
0
0.322807
0.091228
0
0
0
0
0
1
0
false
0.1
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
920c06c03c25fe4afade1bef0ccab25a44b158a4
764
py
Python
qiskit/aqua/algorithms/education/__init__.py
hushaohan/aqua
8512bc6ce246a8b3cca1e5edb1703b6885aa7c5d
[ "Apache-2.0" ]
2
2020-06-29T16:08:12.000Z
2020-08-07T22:42:13.000Z
qiskit/aqua/algorithms/education/__init__.py
hushaohan/aqua
8512bc6ce246a8b3cca1e5edb1703b6885aa7c5d
[ "Apache-2.0" ]
null
null
null
qiskit/aqua/algorithms/education/__init__.py
hushaohan/aqua
8512bc6ce246a8b3cca1e5edb1703b6885aa7c5d
[ "Apache-2.0" ]
1
2022-01-25T07:09:10.000Z
2022-01-25T07:09:10.000Z
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modif...
29.384615
77
0.717277
110
764
4.927273
0.654545
0.04428
0.0369
0
0
0
0
0
0
0
0
0.014706
0.198953
764
25
78
30.56
0.870915
0.649215
0
0
0
0
0.148
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
921abd69963e5dab6e9a4498bebdc2bdb12a2b92
1,480
py
Python
module3-nosql-and-document-oriented-databases/mongo_queries.py
ayarelif/DS-Unit-3-Sprint-2-SQL-and-Databases
fbd145f5dfbaa1e8b68e7369b593a4eee2c5ae5f
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/mongo_queries.py
ayarelif/DS-Unit-3-Sprint-2-SQL-and-Databases
fbd145f5dfbaa1e8b68e7369b593a4eee2c5ae5f
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/mongo_queries.py
ayarelif/DS-Unit-3-Sprint-2-SQL-and-Databases
fbd145f5dfbaa1e8b68e7369b593a4eee2c5ae5f
[ "MIT" ]
null
null
null
# BG_URI="mongodb+srv://elifayar:<password>@clusters.lcjcx.mongodb.net/<dbname>?retryWrites=true&w=majority") # client = pymongo.MongoClient(DB_URI) # db = client.test from pymongo import MongoClient import os from dotenv import load_dotenv load_dotenv() DB_USER = os.getenv("MONGO_USER", default="OOPS") DB_PASSWOR...
27.407407
117
0.672973
185
1,480
5.227027
0.4
0.041365
0.040331
0.049638
0.072389
0.072389
0.072389
0.072389
0.072389
0
0
0.014548
0.117568
1,480
54
118
27.407407
0.725881
0.208108
0
0.114286
0
0.028571
0.288296
0.083477
0
0
0
0
0
1
0
false
0.057143
0.085714
0
0.085714
0.342857
0
0
0
null
0
0
0
0
0
0
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
921b98b759492f2fca11edef2d3a5faa5d0dc853
1,797
py
Python
Scripts/simulation/careers/acting/performance_object_data.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/careers/acting/performance_object_data.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/careers/acting/performance_object_data.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\careers\acting\performance_object_data.py # Compiled at: 2018-09-18 00:30:33 # Size of source mod 2*...
44.925
107
0.691708
242
1,797
4.801653
0.376033
0.219449
0.108434
0.068847
0.403614
0.297762
0.297762
0.19105
0.19105
0.19105
0
0.046999
0.230384
1,797
40
108
44.925
0.793203
0.179744
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.178571
false
0
0.035714
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
921ca360ae33219bfdbd1ac2f46fb2050a3108c9
45,163
py
Python
python/3D-rrt/pvtrace/Geometry.py
siddhu95/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
1
2020-12-27T21:37:35.000Z
2020-12-27T21:37:35.000Z
python/3D-rrt/pvtrace/Geometry.py
siddhu95/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
python/3D-rrt/pvtrace/Geometry.py
siddhu95/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
# pvtrace is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # pvtrace is distributed in the hope that it will be useful, # but WITHOUT...
36.807661
323
0.538516
5,791
45,163
4.109135
0.103264
0.010422
0.006304
0.00437
0.455497
0.395991
0.377206
0.337326
0.309884
0.290175
0
0.043986
0.338551
45,163
1,226
324
36.837684
0.752586
0.112924
0
0.419032
0
0.005008
0.028163
0
0
0
0
0
0.035058
0
null
null
0
0.016694
null
null
0.005008
0
0
0
null
0
0
0
0
0
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
ecf56bf4694e10d805e550af2ca7db64ebf0dff8
3,091
py
Python
zenvlib/environmentsettings.py
zoosk/zenv
5d7a548c7c9cca784f23fdcfd86533eaf1d68811
[ "Apache-2.0" ]
14
2016-03-10T23:00:16.000Z
2020-02-14T22:27:41.000Z
zenvlib/environmentsettings.py
zoosk/zenv
5d7a548c7c9cca784f23fdcfd86533eaf1d68811
[ "Apache-2.0" ]
null
null
null
zenvlib/environmentsettings.py
zoosk/zenv
5d7a548c7c9cca784f23fdcfd86533eaf1d68811
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Zoosk, 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 i...
28.88785
118
0.659657
414
3,091
4.823672
0.415459
0.056084
0.031547
0.042063
0.072108
0.024036
0
0
0
0
0
0.005331
0.271757
3,091
106
119
29.160377
0.88183
0.516014
0
0.05
0
0
0.050206
0
0
0
0
0
0
1
0.05
false
0
0.025
0
0.575
0
0
0
0
null
0
0
0
0
0
0
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
ecf908c2677c35a6ed13615d3ef45501f7f7362a
841
py
Python
brownbags/urls.py
openkawasaki/brownbag-django
ecdd4d2233a77922ead14afcaec289d4a0f43a1b
[ "MIT" ]
2
2020-04-18T12:36:00.000Z
2020-07-06T03:32:42.000Z
brownbags/urls.py
openkawasaki/brownbag-django
ecdd4d2233a77922ead14afcaec289d4a0f43a1b
[ "MIT" ]
16
2020-04-12T13:24:26.000Z
2020-04-12T15:54:40.000Z
brownbags/urls.py
openkawasaki/brownbag-django
ecdd4d2233a77922ead14afcaec289d4a0f43a1b
[ "MIT" ]
3
2020-04-13T13:56:02.000Z
2020-07-06T03:32:51.000Z
from django.urls import include, path from . import views from django.views.generic.base import RedirectView from rest_framework import routers from . import apis # アプリケーションの名前空間 app_name = 'brownbags' urlpatterns = [ path('', views.index, name='index'), path('edit/', views.edit, name='edit'), path('api...
28.033333
82
0.692033
109
841
5.238532
0.348624
0.091068
0.059545
0.08056
0.311734
0.19965
0
0
0
0
0
0.010695
0.110583
841
30
83
28.033333
0.752674
0.160523
0
0.111111
0
0
0.162162
0
0
0
0
0
0
1
0
false
0
0.388889
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
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
ecfeefcda553063068069aa70f84508ced468409
12,003
py
Python
config/settings/base.py
sul-cidr/histonets-arch
6105de90905d54db604b0606d517f53782aae16d
[ "MIT" ]
null
null
null
config/settings/base.py
sul-cidr/histonets-arch
6105de90905d54db604b0606d517f53782aae16d
[ "MIT" ]
19
2018-04-19T19:32:59.000Z
2018-06-04T23:20:03.000Z
config/settings/base.py
sul-cidr/histonets-arch
6105de90905d54db604b0606d517f53782aae16d
[ "MIT" ]
null
null
null
""" Base settings to build other settings files upon. """ import environ ROOT_DIR = environ.Path(__file__) - 3 # (histonets/config/settings/base.py - 3 = histonets/) APPS_DIR = ROOT_DIR.path('histonets') env = environ.Env() READ_DOT_ENV_FILE = env.bool('DJANGO_READ_DOT_ENV_FILE', default=False) if READ_DOT_ENV_FIL...
40.550676
108
0.637591
1,240
12,003
6.021774
0.245161
0.043391
0.106067
0.12053
0.325968
0.298112
0.273202
0.268783
0.184545
0.088925
0
0.002535
0.112472
12,003
295
109
40.688136
0.698395
0.466633
0
0.017647
0
0
0.478477
0.362938
0
0
0
0
0
1
0
false
0.064706
0.005882
0
0.005882
0
0
0
0
null
0
0
0
0
0
0
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
ecffd858ad8cd1dedc6a42ad347e664e218138b6
10,706
py
Python
groupman.py
yteraoka/googleapps-directory-tools
ea59f0602ddafcc850cf7e36f6021be0ee60c2a3
[ "Apache-2.0" ]
20
2015-02-20T04:58:17.000Z
2020-12-30T23:43:29.000Z
groupman.py
yteraoka/googleapps-directory-tools
ea59f0602ddafcc850cf7e36f6021be0ee60c2a3
[ "Apache-2.0" ]
2
2015-03-02T14:33:25.000Z
2017-09-20T11:23:19.000Z
groupman.py
yteraoka/googleapps-directory-tools
ea59f0602ddafcc850cf7e36f6021be0ee60c2a3
[ "Apache-2.0" ]
11
2015-03-02T14:16:01.000Z
2021-10-03T14:28:10.000Z
#!/apps/python-2.7/bin/python # -*- coding: utf-8 -*- import os import os.path import glob import sys from apiclient.discovery import build from apiclient.errors import HttpError import httplib2 from oauth2client.client import flow_from_clientsecrets from oauth2client.file import Storage from oauth2client import tools...
35.217105
104
0.519055
1,167
10,706
4.658098
0.168809
0.041391
0.019868
0.014349
0.280905
0.180648
0.128403
0.116078
0.075975
0.075975
0
0.003244
0.337848
10,706
303
105
35.333333
0.763577
0.00467
0
0.194656
0
0
0.141449
0.019242
0
0
0
0
0
0
null
null
0
0.072519
null
null
0.049618
0
0
0
null
0
0
0
0
0
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
a60183c4a0d01fe278e2d3f101040935e10e0734
3,716
py
Python
icekit/utils/search/search_indexes.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
52
2016-09-13T03:50:58.000Z
2022-02-23T16:25:08.000Z
icekit/utils/search/search_indexes.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
304
2016-08-11T14:17:30.000Z
2020-07-22T13:35:18.000Z
icekit/utils/search/search_indexes.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
12
2016-09-21T18:46:35.000Z
2021-02-15T19:37:50.000Z
from django.utils.text import capfirst from easy_thumbnails.exceptions import InvalidImageFormatError from easy_thumbnails.files import get_thumbnailer from haystack import indexes from haystack.utils import get_model_ct # Doesn't extend `indexes.Indexable` to avoid auto-detection for 'Search In' class AbstractLayout...
35.730769
113
0.689451
462
3,716
5.344156
0.335498
0.071284
0.024301
0.040502
0.0968
0.032807
0
0
0
0
0
0.002068
0.219322
3,716
103
114
36.07767
0.849018
0.214478
0
0.034483
0
0
0.087358
0.020241
0
0
0
0
0
1
0.189655
false
0.017241
0.086207
0.086207
0.758621
0
0
0
0
null
0
0
0
0
0
0
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
a60246e782926af300cad036aa0701ca98dcd72d
1,655
py
Python
CSC-291/Projects/bsearch_timer.py
FrancesCoronel/cs-hu
ecd103a525fd312146d3b6c69ee7c1452548c5e2
[ "MIT" ]
2
2016-12-05T06:15:34.000Z
2016-12-15T10:56:50.000Z
CSC-291/Projects/bsearch_timer.py
fvcproductions/CS-HU
ecd103a525fd312146d3b6c69ee7c1452548c5e2
[ "MIT" ]
null
null
null
CSC-291/Projects/bsearch_timer.py
fvcproductions/CS-HU
ecd103a525fd312146d3b6c69ee7c1452548c5e2
[ "MIT" ]
3
2019-04-06T01:45:54.000Z
2020-04-24T16:55:32.000Z
''' FVCproductions September 18, 2014 Python CSC291_Project3 ''' # Binary Search: (20 pts) # Implement binary search, submit it to the course website. You must write a # function bsearch that takes and list and an element to search for. This # function should return the index of the element if found and -1 othe...
22.671233
100
0.650151
215
1,655
4.95814
0.483721
0.022514
0.030957
0.033771
0.065666
0.065666
0.065666
0.065666
0
0
0
0.024007
0.270091
1,655
73
101
22.671233
0.858444
0.346224
0
0
0
0
0.1801
0
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.185185
0
0
0
null
0
0
0
0
0
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
a6037da7a2fe3008ebf40e96199ded29a7213caa
15,599
py
Python
src/stages.py
khalidm/vcf_annotation_pipeline
4939d1a92b87f29bacfa1521de63dd8d4283acdc
[ "BSD-3-Clause" ]
null
null
null
src/stages.py
khalidm/vcf_annotation_pipeline
4939d1a92b87f29bacfa1521de63dd8d4283acdc
[ "BSD-3-Clause" ]
null
null
null
src/stages.py
khalidm/vcf_annotation_pipeline
4939d1a92b87f29bacfa1521de63dd8d4283acdc
[ "BSD-3-Clause" ]
null
null
null
''' Individual stages of the pipeline implemented as functions from input files to output files. The run_stage function knows everything about submitting jobs and, given the state parameter, has full access to the state of the pipeline, such as config, options, DRMAA and the logger. ''' from utils import safe_make_di...
55.710714
118
0.640233
1,973
15,599
4.708059
0.156614
0.024545
0.012919
0.016579
0.526321
0.451071
0.365917
0.281516
0.250296
0.182689
0
0.011508
0.253542
15,599
279
119
55.910394
0.786242
0.017373
0
0.073892
0
0.034483
0.3365
0.129165
0
0
0
0
0
0
null
null
0.004926
0.014778
null
null
0.009852
0
0
0
null
0
0
0
0
0
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
a603ad8008600d2c8038cd2fcf8557be817d480f
1,959
py
Python
chrome/test/pyautolib/generate_docs.py
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
chrome/test/pyautolib/generate_docs.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
chrome/test/pyautolib/generate_docs.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import optparse import os import pydoc import shutil import sys def main(): parser = optparse.OptionParser() parser.add_optio...
33.775862
78
0.671261
267
1,959
4.805243
0.419476
0.032736
0.031177
0.031177
0.154326
0.126267
0.082619
0.082619
0.082619
0.082619
0
0.003868
0.20827
1,959
57
79
34.368421
0.82334
0.16488
0
0.051282
0
0
0.181093
0.012891
0
0
0
0
0
0
null
null
0
0.128205
null
null
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a6053be31232e1f11d342234014c05d2dc6f686a
1,112
py
Python
courses/migrations/0009_enrollment_statuses.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
10
2019-02-20T18:41:32.000Z
2021-07-26T10:39:58.000Z
courses/migrations/0009_enrollment_statuses.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
2,226
2019-02-20T20:03:57.000Z
2022-03-31T11:18:56.000Z
courses/migrations/0009_enrollment_statuses.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
4
2020-08-26T19:26:02.000Z
2021-03-09T17:46:47.000Z
# Generated by Django 2.1.7 on 2019-05-24 19:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("courses", "0008_enrollment_company")] operations = [ migrations.AddField( model_name="courserunenrollment", name="active", ...
30.888889
101
0.571942
104
1,112
6.028846
0.528846
0.086124
0.110048
0.129187
0.553429
0.553429
0.354067
0.354067
0.354067
0.354067
0
0.026027
0.343525
1,112
35
102
31.771429
0.832877
0.040468
0
0.689655
1
0
0.297653
0.021596
0
0
0
0
0
1
0
false
0
0.034483
0
0.137931
0
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
a611cacdfe5dbb06f96220faa6f86ba176c65626
918
py
Python
Pacote Download/Ex043_12_IMC.py
BrunoCruzIglesias/Python
01465632a8471271e994eb4565a14a547db6578d
[ "MIT" ]
null
null
null
Pacote Download/Ex043_12_IMC.py
BrunoCruzIglesias/Python
01465632a8471271e994eb4565a14a547db6578d
[ "MIT" ]
null
null
null
Pacote Download/Ex043_12_IMC.py
BrunoCruzIglesias/Python
01465632a8471271e994eb4565a14a547db6578d
[ "MIT" ]
null
null
null
# Cálculo de IMC print("Vamos calcular seu IMC?") nome = input("Digite o seu nome: ") peso = float(input("Olá, {}, agora digite seu peso (em Kg, Ex: 68.9): " .format(nome))) altura = float(input("Digite sua altura (em m, Ex: 1.80): ")) media = peso / (altura * altura) print('Seu IMC é: {:.1f}'.format(media)) if media ...
45.9
117
0.581699
144
918
3.708333
0.444444
0.067416
0.050562
0.05618
0
0
0
0
0
0
0
0.079646
0.261438
918
20
118
45.9
0.707965
0.236383
0
0
0
0
0.396552
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a611d310e0340c190260eaa06e81db9198238521
399
py
Python
2020/day2/password.py
DanielKillenberger/AdventOfCode
e9b40c1ae09ee4bffbbf6acca1a2778aed5f1561
[ "MIT" ]
null
null
null
2020/day2/password.py
DanielKillenberger/AdventOfCode
e9b40c1ae09ee4bffbbf6acca1a2778aed5f1561
[ "MIT" ]
null
null
null
2020/day2/password.py
DanielKillenberger/AdventOfCode
e9b40c1ae09ee4bffbbf6acca1a2778aed5f1561
[ "MIT" ]
null
null
null
with open("input.txt", "r") as input_file: input = input_file.read().split("\n") passwords = list(map(lambda line: [list(map(int, line.split(" ")[0].split("-"))), line.split(" ")[1][0], line.split(" ")[2]], input)) valid = 0 for password in passwords: count_letter = password[2].count(password[1]) if pass...
28.5
133
0.611529
60
399
4
0.45
0.1125
0.158333
0
0
0
0
0
0
0
0
0.035821
0.160401
399
13
134
30.692308
0.680597
0
0
0
0
0
0.0401
0
0
0
0
0
0
1
0
false
0.444444
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a611ec7c6de69b5cd4939c8bb49718b4e41ba387
4,361
py
Python
scripts/gen_cert.py
SUNET/sunet-auth-server
a85256917c4159fd1c8eb1f6a6ed28777b64d403
[ "BSD-2-Clause" ]
1
2021-05-26T02:37:10.000Z
2021-05-26T02:37:10.000Z
scripts/gen_cert.py
SUNET/sunet-auth-server
a85256917c4159fd1c8eb1f6a6ed28777b64d403
[ "BSD-2-Clause" ]
1
2021-05-17T08:32:15.000Z
2021-05-17T08:32:16.000Z
scripts/gen_cert.py
SUNET/sunet-auth-server
a85256917c4159fd1c8eb1f6a6ed28777b64d403
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import argparse import os import sys from base64 import b64encode from datetime import datetime, timedelta from cryptography import x509 from cryptography.hazmat.primitives import serialization, hashes from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives...
43.178218
112
0.677368
536
4,361
5.376866
0.283582
0.028105
0.059334
0.03331
0.236294
0.176266
0.133241
0.095073
0.045108
0
0
0.021234
0.190094
4,361
100
113
43.61
0.794734
0.053657
0
0.108434
0
0
0.15323
0.029626
0
0
0
0
0
1
0.012048
false
0.060241
0.120482
0
0.13253
0.024096
0
0
0
null
0
0
0
0
0
0
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
a611f0ca7daf79a9c49d9bcc01c2d037698b5b57
574
py
Python
tests/apis/test_files.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
76
2020-02-27T06:36:27.000Z
2022-03-10T20:18:03.000Z
tests/apis/test_files.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
33
2020-03-13T02:04:14.000Z
2022-03-04T02:06:11.000Z
tests/apis/test_files.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
6
2020-03-17T16:42:25.000Z
2021-04-27T06:35:46.000Z
import asyncio import pytest from fastapi.testclient import TestClient from app.models.script import Script @pytest.mark.usefixtures("scripts_setup") def test_files(client: TestClient, event_loop: asyncio.AbstractEventLoop): first = event_loop.run_until_complete(Script.all().first()) sha256 = first.file_id ...
27.333333
78
0.763066
75
574
5.68
0.493333
0.06338
0.056338
0.117371
0.230047
0.230047
0
0
0
0
0
0.036
0.12892
574
20
79
28.7
0.816
0
0
0
0
0
0.080139
0
0
0
0
0
0.153846
1
0.153846
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
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
a616479ff75877116910e729d7edffd6c5271108
278
py
Python
21. generadores.py
JSNavas/CursoPython2.7
d1f9170dbf897b6eb729f9696a208880e33c550b
[ "MIT" ]
null
null
null
21. generadores.py
JSNavas/CursoPython2.7
d1f9170dbf897b6eb729f9696a208880e33c550b
[ "MIT" ]
null
null
null
21. generadores.py
JSNavas/CursoPython2.7
d1f9170dbf897b6eb729f9696a208880e33c550b
[ "MIT" ]
null
null
null
lista = ["bienvenido "] ciclo = (c * 4 for c in lista) print ciclo print ciclo.next() for cadena in ciclo: print cadena print n = input("Factorial de: ") def factorial(n): i = 1 while n > 1: i = n * i yield i n -= 1 for fact in factorial(n): print fact
8.6875
30
0.600719
47
278
3.553191
0.425532
0.11976
0
0
0
0
0
0
0
0
0
0.020101
0.284173
278
31
31
8.967742
0.819095
0
0
0
0
0
0.092251
0
0
0
0
0
0
0
null
null
0
0
null
null
0.3125
0
0
0
null
0
0
0
0
0
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
a6210dfe559293cf9f1af6eef76873ac94d75c61
468
py
Python
submissions/Flanagin/myLogic.py
dysomni/aima-python
c67104e50007ec5ac2a9aa37f0cb972cb6315528
[ "MIT" ]
null
null
null
submissions/Flanagin/myLogic.py
dysomni/aima-python
c67104e50007ec5ac2a9aa37f0cb972cb6315528
[ "MIT" ]
null
null
null
submissions/Flanagin/myLogic.py
dysomni/aima-python
c67104e50007ec5ac2a9aa37f0cb972cb6315528
[ "MIT" ]
null
null
null
music = { 'kb': ''' Instrument(Flute) Piece(Undine, Reinecke) Piece(Carmen, Bourne) (Instrument(x) & Piece(w, c) & Era(c, r)) ==> Program(w) Era(Reinecke, Romantic) Era(Bourne, Romantic) ''', 'queries': ''' Program(x) ''', } life = { 'kb': ''' Musician(x) ==> Stressed(x) (Student(x) & Te...
11.414634
56
0.519231
51
468
4.764706
0.490196
0.111111
0
0
0
0
0
0
0
0
0
0
0.24359
468
41
57
11.414634
0.686441
0
0
0.259259
0
0.037037
0.708779
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a62f20a3565292350f831b63d64b71a76ad1a913
354
py
Python
modules/seloger/constants.py
Phyks/Flatisfy
9e495bb63ec32686e6dc6be566da9672ad014880
[ "MIT" ]
15
2017-06-07T07:17:47.000Z
2021-04-22T21:04:32.000Z
modules/seloger/constants.py
Phyks/Flatisfy
9e495bb63ec32686e6dc6be566da9672ad014880
[ "MIT" ]
15
2017-06-13T11:12:02.000Z
2021-03-27T12:28:42.000Z
modules/seloger/constants.py
Phyks/Flatisfy
9e495bb63ec32686e6dc6be566da9672ad014880
[ "MIT" ]
5
2017-09-23T20:13:34.000Z
2021-01-16T09:17:09.000Z
from woob.capabilities.housing import POSTS_TYPES, HOUSE_TYPES TYPES = {POSTS_TYPES.RENT: 1, POSTS_TYPES.SALE: 2, POSTS_TYPES.FURNISHED_RENT: 1, POSTS_TYPES.VIAGER: 5} RET = {HOUSE_TYPES.HOUSE: '2', HOUSE_TYPES.APART: '1', HOUSE_TYPES.LAND: '4', HOUSE_TYPES.PARKING: '3'...
27.230769
62
0.638418
48
354
4.458333
0.479167
0.280374
0.093458
0.140187
0
0
0
0
0
0
0
0.037037
0.237288
354
12
63
29.5
0.755556
0
0
0
0
0
0.016949
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a6340747773815299adf15817934a33c2b1bc670
314
py
Python
Chapter 07/Chap07_Example7.71.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 07/Chap07_Example7.71.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 07/Chap07_Example7.71.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
myl1 = [] num = int(input("Enter the number of elements: ")) for loop in range(num): myl1.append(input(f"Enter element at index {loop} : ")) print(myl1) print(type(myl1)) myt1 = tuple(myl1) print(myt1) print(type(myt1)) print("The elements of tuple object are: ") for loop in myt1: print(loop)
20.933333
61
0.656051
49
314
4.204082
0.489796
0.131068
0.087379
0
0
0
0
0
0
0
0
0.035573
0.194268
314
15
62
20.933333
0.778656
0
0
0
0
0
0.304762
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a634a7d59658a71a40ac1013ecebacf7bdf8218a
967
py
Python
packages/artfx/mayaLib/tests/maya_test.py
Soulayrol/Pipeline
d0a2c834c3772198f0ca5f0ba6ea8b5e41a419e7
[ "MIT" ]
null
null
null
packages/artfx/mayaLib/tests/maya_test.py
Soulayrol/Pipeline
d0a2c834c3772198f0ca5f0ba6ea8b5e41a419e7
[ "MIT" ]
null
null
null
packages/artfx/mayaLib/tests/maya_test.py
Soulayrol/Pipeline
d0a2c834c3772198f0ca5f0ba6ea8b5e41a419e7
[ "MIT" ]
null
null
null
import os import sys import maya.standalone import mayaLib print("=" * 30) print("This is mayaLib package test") print("=" * 30) print("Initializing maya standalone ...") maya.standalone.initialize(name="python") # Create engine maya_engine = mayaLib.MayaEngine() print("Engine : " + str(maya_engine)) # Get engine p...
28.441176
95
0.75181
139
967
5.035971
0.280576
0.185714
0.111429
0.121429
0.365714
0.335714
0.202857
0.125714
0
0
0
0.005787
0.106515
967
33
96
29.30303
0.804398
0.048604
0
0.086957
0
0
0.300875
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.173913
0.478261
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a6359dcbaf8a3e9343cefe0d8af4e3a9e190144b
6,094
py
Python
examples/openmdao.examples.mdao/openmdao/examples/mdao/sellar_BLISS.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
examples/openmdao.examples.mdao/openmdao/examples/mdao/sellar_BLISS.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
examples/openmdao.examples.mdao/openmdao/examples/mdao/sellar_BLISS.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
""" Solution of the Sellar analytical problem using classic BLISS. (Bi-Level Integrated System Synthesis) MDA solved with a Broyden solver. Global sensitivity calculated by finite-differencing the MDA-coupled system. The MDA should be replaced with solution of the GSE to fully match the ori...
44.15942
122
0.614539
850
6,094
4.305882
0.217647
0.067486
0.017213
0.019672
0.356831
0.316667
0.231148
0.180601
0.165027
0.165027
0
0.067372
0.240072
6,094
138
123
44.15942
0.722954
0.082048
0
0
0
0.084337
0.199718
0.087149
0
0
0
0.007246
0
0
null
null
0
0.084337
null
null
0.084337
0
0
0
null
0
0
0
0
0
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
a63cff634a2350a5c9d905417fc77ffe0cbb8d60
833
py
Python
migrations/versions/b0c12eb8ae59_initial_migration.py
edumorris/pomodoro
cde372be1d5c37dd8221ebd40b684d07fbb472b5
[ "MIT" ]
1
2022-01-10T14:48:16.000Z
2022-01-10T14:48:16.000Z
migrations/versions/b0c12eb8ae59_initial_migration.py
edumorris/pomodoro
cde372be1d5c37dd8221ebd40b684d07fbb472b5
[ "MIT" ]
null
null
null
migrations/versions/b0c12eb8ae59_initial_migration.py
edumorris/pomodoro
cde372be1d5c37dd8221ebd40b684d07fbb472b5
[ "MIT" ]
null
null
null
"""Initial Migration Revision ID: b0c12eb8ae59 Revises: 7cb850d9441c Create Date: 2020-07-15 11:44:46.190193 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'b0c12eb8ae59' down_revision = '7cb850d9441c' branch_labels = None depends_on = None def upgrade(): ...
26.870968
112
0.704682
106
833
5.433962
0.537736
0.076389
0.072917
0.079861
0.329861
0.329861
0.229167
0.229167
0.229167
0.229167
0
0.076705
0.154862
833
30
113
27.766667
0.741477
0.358944
0
0
0
0
0.185111
0
0
0
0
0
0
1
0.166667
false
0.333333
0.166667
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
1
0
0
0
0
0
1
a63f4ba25cb878a66fcd7170945ef4034691b3de
7,811
py
Python
datasets/hope_edi/hope_edi.py
WojciechKusa/datasets
1406a04c3e911cec2680d8bc513653e0cafcaaa4
[ "Apache-2.0" ]
10,608
2020-09-10T15:47:50.000Z
2022-03-31T22:51:47.000Z
datasets/hope_edi/hope_edi.py
WojciechKusa/datasets
1406a04c3e911cec2680d8bc513653e0cafcaaa4
[ "Apache-2.0" ]
2,396
2020-09-10T14:55:31.000Z
2022-03-31T19:41:04.000Z
datasets/hope_edi/hope_edi.py
WojciechKusa/datasets
1406a04c3e911cec2680d8bc513653e0cafcaaa4
[ "Apache-2.0" ]
1,530
2020-09-10T21:43:10.000Z
2022-03-31T01:59:12.000Z
# coding=utf-8 # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor. # # 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/lice...
49.125786
1,525
0.673921
921
7,811
5.637351
0.386536
0.025039
0.01849
0.024268
0.297958
0.276772
0.26926
0.26926
0.255008
0.234592
0
0.018118
0.236845
7,811
158
1,526
49.436709
0.852877
0.170529
0
0.188679
0
0.103774
0.550824
0.020671
0
0
0
0
0
1
0.028302
false
0
0.018868
0
0.09434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a641a9f31d2309805597aee4c338bb8ecb70c725
5,310
py
Python
code_legacy/PostfixLogSummary.py
rhymeswithmogul/starttls-everywhere
cdc6cce552d44e17a3178eba987ae5d2b6a22e75
[ "Apache-2.0" ]
339
2015-01-01T06:19:34.000Z
2021-12-10T17:24:52.000Z
code_legacy/PostfixLogSummary.py
rhymeswithmogul/starttls-everywhere
cdc6cce552d44e17a3178eba987ae5d2b6a22e75
[ "Apache-2.0" ]
95
2015-06-07T21:26:16.000Z
2021-09-28T13:11:00.000Z
code_legacy/PostfixLogSummary.py
rhymeswithmogul/starttls-everywhere
cdc6cce552d44e17a3178eba987ae5d2b6a22e75
[ "Apache-2.0" ]
50
2015-03-18T17:41:32.000Z
2021-03-19T07:44:54.000Z
#!/usr/bin/env python import argparse import collections import os import re import sys import time import Config TIME_FORMAT = "%b %d %H:%M:%S" # TODO: There's more to be learned from postfix logs! Here's one sample # observed during failures from the sender vagrant vm: # Jun 6 00:21:31 precise32 postfix/smtpd[3...
50.571429
304
0.728814
799
5,310
4.733417
0.364205
0.010576
0.015865
0.044421
0.176626
0.153358
0.153358
0.132734
0.124008
0.097039
0
0.081231
0.149153
5,310
104
305
51.057692
0.755865
0.431638
0
0.029412
0
0
0.160655
0.025718
0
0
0
0.009615
0
0
null
null
0
0.102941
null
null
0.088235
0
0
0
null
0
0
0
0
0
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
a643184953f977a187e7f1cbf609b9b4da054af6
1,834
py
Python
morph_net/framework/op_handler_decorator_test.py
nmoezzi/morph-net
fb25044ac06fc6e3b681911fc3dffe65a2b6a0a4
[ "Apache-2.0" ]
1
2019-04-25T08:23:52.000Z
2019-04-25T08:23:52.000Z
morph_net/framework/op_handler_decorator_test.py
psyhicborg/morph-net
0fb096d8d3b33eda9ab86c700cb6c07c9dbf10ee
[ "Apache-2.0" ]
null
null
null
morph_net/framework/op_handler_decorator_test.py
psyhicborg/morph-net
0fb096d8d3b33eda9ab86c700cb6c07c9dbf10ee
[ "Apache-2.0" ]
1
2019-04-26T14:50:13.000Z
2019-04-26T14:50:13.000Z
"""Tests for morph_net.framework.op_regularizer_decorator.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from morph_net.framework import conv2d_source_op_handler from morph_net.framework import generic_regularizers from morph_net.framework import op_ha...
30.065574
80
0.767176
237
1,834
5.632911
0.35865
0.040449
0.06367
0.062921
0.083895
0.043446
0
0
0
0
0
0.021033
0.144493
1,834
60
81
30.566667
0.829828
0.160851
0
0.0625
0
0
0.007995
0
0
0
0
0
0.0625
1
0.125
false
0
0.28125
0.0625
0.53125
0.03125
0
0
0
null
0
0
0
0
0
0
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
a6554e28fae19027e74ff048a0c85dcdc8783d73
689
py
Python
setup.py
thomasms/filecompare
393af84939689481da27460cccb52040e6171e01
[ "MIT" ]
null
null
null
setup.py
thomasms/filecompare
393af84939689481da27460cccb52040e6171e01
[ "MIT" ]
null
null
null
setup.py
thomasms/filecompare
393af84939689481da27460cccb52040e6171e01
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='filecompare', version='0.1', description='A package for comparing text and JSON files.', url='https://github.com/thomasms/filecompare', author='Thomas Stainer', author_email='stainer.tom+github@gmail.com', license='MIT', packages=[ ...
28.708333
65
0.608128
69
689
5.971014
0.753623
0.07767
0
0
0
0
0
0
0
0
0
0.005803
0.249637
689
23
66
29.956522
0.791103
0
0
0
0
0
0.396226
0.08418
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
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
a66116aa53fbe883f4e06b84d6c1d21984e8b026
826
py
Python
manage.py
Vanzct/xp
75794c283f8680cac84edf0e184e8d1fdaed2b9c
[ "MIT" ]
null
null
null
manage.py
Vanzct/xp
75794c283f8680cac84edf0e184e8d1fdaed2b9c
[ "MIT" ]
null
null
null
manage.py
Vanzct/xp
75794c283f8680cac84edf0e184e8d1fdaed2b9c
[ "MIT" ]
null
null
null
# coding=utf-8 __author__ = 'Van' import os import sys from flask.ext.script import Manager, Shell # from flask.ext.migrate import Migrate, MigrateCommand sys.path.append(os.path.dirname(os.path.abspath(__file__))) from app import create_app mode = os.getenv('APP_CONFIG_MODE') or 'default' if mode: mode = mode.l...
23.6
70
0.713075
117
826
4.820513
0.504274
0.010638
0.042553
0
0
0
0
0
0
0
0
0.014205
0.1477
826
34
71
24.294118
0.786932
0.231235
0
0
0
0
0.111111
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a66eed49a3b39d2e0d734ff021df1302bfabe786
1,598
py
Python
tests/test_times.py
Invarato/sort_in_disk_project
8e725e683999aa6cf9db52711309b6a58099c3e2
[ "MIT" ]
3
2020-11-12T16:59:04.000Z
2021-12-03T18:57:27.000Z
tests/test_times.py
Invarato/sort_in_disk_project
8e725e683999aa6cf9db52711309b6a58099c3e2
[ "MIT" ]
null
null
null
tests/test_times.py
Invarato/sort_in_disk_project
8e725e683999aa6cf9db52711309b6a58099c3e2
[ "MIT" ]
1
2021-04-11T11:21:42.000Z
2021-04-11T11:21:42.000Z
# -*- coding: utf-8 -*- # # @autor: Ramón Invarato Menéndez # @version 1.0 from datetime import datetime """ Several tests """ count = 20000000 if __name__ == "__main__": start = datetime.now() print("[if] start: {}".format(start)) val = True for _ in range(1, count): if val: v...
23.850746
94
0.506258
173
1,598
4.572254
0.265896
0.111252
0.16182
0.182048
0.721871
0.640961
0.609355
0.541087
0.485461
0.485461
0
0.012275
0.235294
1,598
67
94
23.850746
0.635025
0.131414
0
0.473684
0
0
0.238235
0
0
0
0
0
0
1
0.078947
false
0
0.026316
0.026316
0.131579
0.210526
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
a66f5311e18930dba9aee6d5a079e0eb27871fa5
482
py
Python
duffel_api/api/booking/seat_maps.py
duffelhq/duffel-api-python
583703f34e345ac8fa185ca26441f9168d1b0dac
[ "MIT" ]
2
2022-02-26T22:14:48.000Z
2022-03-10T10:04:11.000Z
duffel_api/api/booking/seat_maps.py
duffelhq/duffel-api-python
583703f34e345ac8fa185ca26441f9168d1b0dac
[ "MIT" ]
29
2022-01-04T12:40:54.000Z
2022-03-31T23:26:54.000Z
duffel_api/api/booking/seat_maps.py
duffelhq/duffel-api-python
583703f34e345ac8fa185ca26441f9168d1b0dac
[ "MIT" ]
null
null
null
from ...http_client import HttpClient from ...models import SeatMap class SeatMapClient(HttpClient): """Client to interact with Seat Maps""" def __init__(self, **kwargs): self._url = "/air/seat_maps" super().__init__(**kwargs) def get(self, offer_id): """GET /air/seat_maps""" ...
28.352941
73
0.626556
66
482
4.287879
0.575758
0.084806
0.077739
0
0
0
0
0
0
0
0
0
0.232365
482
16
74
30.125
0.764865
0.107884
0
0
0
0
0.062053
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1