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
107f2e3e8df016cba0865d8404ed48c91332d559
2,634
py
Python
auctions/emails.py
MaxGosselin/alpha-auctions
3d825a4690f31f87339aa0a7b7c32c5fbbf518ff
[ "Unlicense" ]
1
2019-03-28T15:38:53.000Z
2019-03-28T15:38:53.000Z
auctions/emails.py
MaxGosselin/alpha-auctions
3d825a4690f31f87339aa0a7b7c32c5fbbf518ff
[ "Unlicense" ]
null
null
null
auctions/emails.py
MaxGosselin/alpha-auctions
3d825a4690f31f87339aa0a7b7c32c5fbbf518ff
[ "Unlicense" ]
null
null
null
from django.core.mail import send_mail from homepage.models import User import decimal AUCTION_POSTED=""" \n Your auction has been accepted. \n Thank you for using Alpha Auctions and good luck! \n You can view the status of your auction at http://alpha-auctions.herokuapp.com/accounts/login \n \n Alpha Auctions Team...
27.4375
151
0.67388
361
2,634
4.875346
0.32964
0.051705
0.031818
0.020455
0.590909
0.529545
0.529545
0.529545
0.529545
0.529545
0
0.009255
0.220577
2,634
95
152
27.726316
0.848027
0
0
0.692308
0
0.076923
0.8139
0.05469
0
0
0
0
0
1
0.012821
false
0
0.038462
0
0.051282
0
0
0
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
108101b25bdd9eb2ee0ae83ea0f16b416d48ecd9
687
py
Python
source_optics/migrations/0022_auto_20190831_2043.py
heemayl/source_optics
d27a0e5a55fb28e35d3ae83ec32dfaa094c34b19
[ "Apache-2.0" ]
1
2020-08-12T19:04:45.000Z
2020-08-12T19:04:45.000Z
source_optics/migrations/0022_auto_20190831_2043.py
mpdehaan/source_optics
ce0215ad63e47f0ab645c765129bac3c7236aff1
[ "Apache-2.0" ]
null
null
null
source_optics/migrations/0022_auto_20190831_2043.py
mpdehaan/source_optics
ce0215ad63e47f0ab645c765129bac3c7236aff1
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.2 on 2019-08-31 20:43 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('source_optics', '0021_auto_20190831_2005'), ] operations = [ migrations.AddField( model_name='s...
27.48
135
0.630277
76
687
5.539474
0.631579
0.057007
0.066508
0.104513
0
0
0
0
0
0
0
0.062257
0.25182
687
24
136
28.625
0.756809
0.065502
0
0.111111
1
0
0.164063
0.035938
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10815acad9953c1f8c7822f3c2678bdf4e46ee31
961
py
Python
descriptor/exercises/bulkfood/5/solution/bulkfood.py
ambleacme/decorators-descriptors
ff9e9b5594f2824f529aa96d5620df7840bccccd
[ "MIT" ]
78
2017-05-01T10:27:20.000Z
2022-02-05T15:22:41.000Z
descriptor/exercises/bulkfood/5/solution/bulkfood.py
ambleacme/decorators-descriptors
ff9e9b5594f2824f529aa96d5620df7840bccccd
[ "MIT" ]
null
null
null
descriptor/exercises/bulkfood/5/solution/bulkfood.py
ambleacme/decorators-descriptors
ff9e9b5594f2824f529aa96d5620df7840bccccd
[ "MIT" ]
36
2017-05-17T20:29:41.000Z
2020-11-22T23:52:28.000Z
class Quantity(object): def __get__(self, instance, owner): return getattr(instance, self.target_name) def __set__(self, instance, value): if not hasattr(self, 'target_name'): self.set_target_names(instance) if value > 0: setattr(instance, self.target_name, valu...
31
79
0.621228
113
961
4.955752
0.345133
0.071429
0.075
0.078571
0
0
0
0
0
0
0
0.002865
0.273673
961
30
80
32.033333
0.799427
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0.208333
false
0
0
0.083333
0.458333
0
0
0
0
null
0
0
0
0
0
0
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
10875857b3fc94292aab462b7661c416958dbb74
14,988
py
Python
lesson9_working_with_data.py
panos1998/Thesis_preparation
325c769e3d5b8ceae9b6e5a8cd47450d29922dd6
[ "Apache-2.0" ]
null
null
null
lesson9_working_with_data.py
panos1998/Thesis_preparation
325c769e3d5b8ceae9b6e5a8cd47450d29922dd6
[ "Apache-2.0" ]
null
null
null
lesson9_working_with_data.py
panos1998/Thesis_preparation
325c769e3d5b8ceae9b6e5a8cd47450d29922dd6
[ "Apache-2.0" ]
null
null
null
from typing import List, Dict, Tuple from collections import Counter import random import lesson3 from lesson5 import inverse_normal_cdf import math import matplotlib.pyplot as plt from lesson4 import correlation, standard_deviation from lesson3 import Matrix, Vector, make_matrix, vector_mean, subtract, magnitude, sca...
31.095436
102
0.689085
2,006
14,988
5.037886
0.267198
0.028498
0.013853
0.007619
0.185434
0.115872
0.083515
0.075797
0.053533
0.050069
0
0.265326
0.164131
14,988
481
103
31.160083
0.541347
0.068388
0
0.099125
0
0
0.034443
0
0
0
0
0
0.055394
1
0.075802
false
0
0.058309
0.034985
0.250729
0.014577
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10897cb88e96cfe83ac988b0f58c4e38f2e121f1
743
py
Python
contentcuration/contentcuration/management/commands/garbage_collect.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
1
2019-03-30T18:14:25.000Z
2019-03-30T18:14:25.000Z
contentcuration/contentcuration/management/commands/garbage_collect.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-05-06T17:19:30.000Z
2019-03-15T01:51:24.000Z
contentcuration/contentcuration/management/commands/garbage_collect.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-10-18T22:49:08.000Z
2019-09-17T11:20:51.000Z
"""A management command that deletes the following from the database: - ContentNodes older than 2 weeks, whose parents are in the designated "garbage tree" (i.e. `settings.ORPHANAGE_ROOT_ID`). Also delete the associated Files in the database and in object storage. """ from django.core.management.base import BaseComman...
32.304348
95
0.733513
97
743
5.484536
0.628866
0.065789
0.107143
0.090226
0.142857
0.142857
0.142857
0
0
0
0
0.001678
0.197847
743
22
96
33.772727
0.89094
0.535666
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
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
10927ac7f24d0a863eb8964b1cc696189857bc8b
376
py
Python
src/main.py
alexvanacker/notilichess
ca83cb2b88d29b19d44b663b8ece21282b3f42b2
[ "MIT" ]
null
null
null
src/main.py
alexvanacker/notilichess
ca83cb2b88d29b19d44b663b8ece21282b3f42b2
[ "MIT" ]
3
2020-12-04T08:57:05.000Z
2020-12-21T07:35:09.000Z
src/main.py
alexvanacker/notilichess
ca83cb2b88d29b19d44b663b8ece21282b3f42b2
[ "MIT" ]
null
null
null
import li import json # testing util if __name__ == "__main__": # execute only if run as a script users=["Le_Scratch","justmaker","kazeriahm","Khrok","fauzi061089", "Vladismen", "kapuso", "Vadum-tv", "El-Nino9", "mathemagician18", "jongy", "shtrubi", "Teju12345", "papasi", "dalmatinac101"] for line in li...
31.333333
196
0.672872
47
376
5.148936
0.87234
0
0
0
0
0
0
0
0
0
0
0.053459
0.154255
376
11
197
34.181818
0.707547
0.117021
0
0
0
0
0.419453
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
1
0
0
0
0
1
1098b72c503585f2d41f45c425b44d4fd6d5b17b
2,159
py
Python
core/label.py
Seagate/SystemsRedfishPy
f7d20ceabf175d88c983a5c7a3a1ebb68dd7884b
[ "MIT" ]
null
null
null
core/label.py
Seagate/SystemsRedfishPy
f7d20ceabf175d88c983a5c7a3a1ebb68dd7884b
[ "MIT" ]
4
2020-04-15T14:36:35.000Z
2021-09-09T18:39:36.000Z
core/label.py
Seagate/SystemsRedfishPy
f7d20ceabf175d88c983a5c7a3a1ebb68dd7884b
[ "MIT" ]
2
2020-05-09T14:18:52.000Z
2021-11-27T16:22:10.000Z
# # Do NOT modify or remove this copyright and license # # Copyright (c) 2019 Seagate Technology LLC and/or its Affiliates, All Rights Reserved # # This software is subject to the terms of the MIT License. If a copy of the license was # not distributed with this file, you can obtain one at https://opensource.org/licens...
34.822581
140
0.513201
227
2,159
4.881057
0.45815
0.036101
0.016245
0.025271
0
0
0
0
0
0
0
0.003109
0.255211
2,159
62
141
34.822581
0.685945
0.400185
0
0.32
0
0
0.147615
0
0
0
0
0
0
1
0.08
false
0.08
0.04
0
0.24
0
0
0
0
null
0
0
0
0
0
0
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
109e4423e4bac017fa673b821771d37241f6abeb
749
py
Python
rocket/a_car_rental/b_website/migrations/0002_auto_20210908_1356.py
t444ov/django-carrental
64d2071468a311d000ea307e213b980818f6bff6
[ "BSD-3-Clause" ]
null
null
null
rocket/a_car_rental/b_website/migrations/0002_auto_20210908_1356.py
t444ov/django-carrental
64d2071468a311d000ea307e213b980818f6bff6
[ "BSD-3-Clause" ]
null
null
null
rocket/a_car_rental/b_website/migrations/0002_auto_20210908_1356.py
t444ov/django-carrental
64d2071468a311d000ea307e213b980818f6bff6
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-08 10:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('b_website', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='aboutus', options={'verbose_name': 'about ...
24.966667
84
0.556742
66
749
6.181818
0.545455
0.107843
0.151961
0
0
0
0
0
0
0
0
0.037109
0.316422
749
29
85
25.827586
0.759766
0.06008
0
0.521739
1
0
0.225071
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
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
109f606998d4688f76854183d6721c38c557b1ed
1,265
py
Python
api/v1/ev_gpq.py
muslax/aces-api
9d56f68277c284bd6985e13dca7f993e9db1b70f
[ "MIT" ]
null
null
null
api/v1/ev_gpq.py
muslax/aces-api
9d56f68277c284bd6985e13dca7f993e9db1b70f
[ "MIT" ]
1
2020-08-17T04:17:58.000Z
2020-08-17T04:17:58.000Z
api/v1/ev_gpq.py
muslax/aces-api
9d56f68277c284bd6985e13dca7f993e9db1b70f
[ "MIT" ]
2
2020-08-16T11:59:34.000Z
2020-08-26T05:35:07.000Z
import logging from random import shuffle from typing import Any, List from fastapi import APIRouter, Depends from api.v1.deps import get_current_active_user, get_current_project_admin from crud.persona import find_one as find_persona from crud.utils import raise_not_found, raise_bad_request from models.ev.gpq import...
25.3
74
0.659289
157
1,265
5.133758
0.471338
0.037221
0.039702
0.049628
0
0
0
0
0
0
0
0.008273
0.235573
1,265
49
75
25.816327
0.825233
0.037154
0
0
0
0
0.062344
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
10a37a68053c6fe697f3f243ecbd46322f4cc8cd
397
py
Python
movies/migrations/0006_movies_ph_credit.py
Saifur43/Movie-Success-Prediction
6a8061c11d8079143b6a745548758bd1fafff4b3
[ "MIT" ]
7
2019-04-17T13:07:11.000Z
2022-01-02T06:43:13.000Z
movies/migrations/0006_movies_ph_credit.py
Saifur43/Movie-Success-Prediction
6a8061c11d8079143b6a745548758bd1fafff4b3
[ "MIT" ]
null
null
null
movies/migrations/0006_movies_ph_credit.py
Saifur43/Movie-Success-Prediction
6a8061c11d8079143b6a745548758bd1fafff4b3
[ "MIT" ]
3
2019-11-01T13:50:45.000Z
2020-06-29T08:56:49.000Z
# Generated by Django 2.1.7 on 2019-04-10 01:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movies', '0005_auto_20190410_0659'), ] operations = [ migrations.AddField( model_name='movies', name='ph_credit', ...
20.894737
61
0.602015
44
397
5.318182
0.818182
0
0
0
0
0
0
0
0
0
0
0.108772
0.282116
397
18
62
22.055556
0.712281
0.11335
0
0
1
0
0.125714
0.065714
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
10ac229fb083694e19df859117aaf62a87b7c615
740
py
Python
test/test_vasicek.py
slpenn13/pythoninterestrates
2e08363642fd4e2afb5ab76596d75aa10f2a6e3b
[ "Apache-2.0" ]
null
null
null
test/test_vasicek.py
slpenn13/pythoninterestrates
2e08363642fd4e2afb5ab76596d75aa10f2a6e3b
[ "Apache-2.0" ]
1
2020-10-28T19:41:51.000Z
2020-10-28T19:41:51.000Z
test/test_vasicek.py
slpenn13/pythoninterestrates
2e08363642fd4e2afb5ab76596d75aa10f2a6e3b
[ "Apache-2.0" ]
null
null
null
''' Pytest corresponding to calc_norm_v ''' # import numpy as np import shortrate_model_vasicek as vas import interest_rate_capfloor_convenience as intconv mdl = vas.short_rate_vasicek(kappa=0.86, theta=0.08, sigma=0.01, r0=0.06, norm_method=intconv.calc_v_norm_1d, dbg=True) def test_norm...
33.636364
88
0.658108
131
740
3.526718
0.496183
0.017316
0.077922
0.084416
0.099567
0.038961
0
0
0
0
0
0.104825
0.187838
740
21
89
35.238095
0.663894
0.162162
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
10adcb20e813609da769cd15e3cefe790cf46277
228
py
Python
test/e2e/htdocs/cgi/echo.py
notroj/mod_h2
dfe2b46068d92872084a22efc7e5229651889711
[ "Apache-2.0" ]
null
null
null
test/e2e/htdocs/cgi/echo.py
notroj/mod_h2
dfe2b46068d92872084a22efc7e5229651889711
[ "Apache-2.0" ]
null
null
null
test/e2e/htdocs/cgi/echo.py
notroj/mod_h2
dfe2b46068d92872084a22efc7e5229651889711
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys, cgi, os status = '200 Ok' content = '' for line in sys.stdin: content += line # Just echo what we get print "Status: 200" print """Content-Type: application/data\n""" print content,
15.2
44
0.657895
35
228
4.285714
0.742857
0.12
0
0
0
0
0
0
0
0
0
0.032967
0.201754
228
14
45
16.285714
0.791209
0.184211
0
0
0
0
0.26776
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.375
0
0
0
null
0
0
0
0
0
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
10b8f4f8308f6f4717bdf0d898a25b8b48878e11
44,102
py
Python
src/vtd_interface/viRDBIcd.py
StanfordASL/vtd_interface
bd682c1fd1c994bc25b6dd48c1d23b4c8fcfb872
[ "BSD-2-Clause" ]
20
2017-10-28T16:16:19.000Z
2022-03-07T07:31:20.000Z
src/vtd_interface/viRDBIcd.py
StanfordASL/vtd_interface
bd682c1fd1c994bc25b6dd48c1d23b4c8fcfb872
[ "BSD-2-Clause" ]
1
2018-11-09T14:58:38.000Z
2021-03-07T22:50:06.000Z
src/vtd_interface/viRDBIcd.py
StanfordASL/vtd_interface
bd682c1fd1c994bc25b6dd48c1d23b4c8fcfb872
[ "BSD-2-Clause" ]
9
2017-11-29T14:00:52.000Z
2022-03-16T05:59:22.000Z
# Automatically generated from the C message definitions import cstruct RDB_DEFAULT_PORT = 48190 RDB_FEEDBACK_PORT = 48191 RDB_IMAGE_PORT = 48192 RDB_MAGIC_NO = 35712 RDB_VERSION = 0x011D RDB_SIZE_OBJECT_NAME = 32 RDB_SIZE_SCP_NAME = 64 RDB_SIZE_FILENAME = 1024 RDB_SIZE_TRLIGHT_PHASES = 8 RDB_PKG_ID_START_OF_FRAME = ...
29.225977
60
0.713188
6,014
44,102
4.651314
0.129199
0.025525
0.033175
0.045508
0.439495
0.279555
0.217424
0.19576
0.185679
0.180245
0
0.08682
0.233731
44,102
1,508
61
29.245358
0.74093
0.014353
0
0.310831
1
0
0.348601
0.028011
0
0
0.045756
0
0
1
0
false
0
0.000742
0
0.147626
0
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
529dcddb8b8a7715de0eebfe9dae0c359794981c
5,769
py
Python
tasks/data.py
jrnold/acw_battle_data
3a6020dbfcbcfc650a268b10a9f155588472432b
[ "CC-BY-4.0", "BSD-3-Clause" ]
15
2015-02-15T15:51:22.000Z
2022-02-27T03:12:18.000Z
tasks/data.py
jrnold/acw_battle_data
3a6020dbfcbcfc650a268b10a9f155588472432b
[ "CC-BY-4.0", "BSD-3-Clause" ]
36
2015-08-04T10:19:32.000Z
2019-07-14T21:25:42.000Z
tasks/data.py
jrnold/acw_battle_data
3a6020dbfcbcfc650a268b10a9f155588472432b
[ "CC-BY-4.0", "BSD-3-Clause" ]
7
2015-02-16T05:49:24.000Z
2019-06-01T17:22:32.000Z
#!/usr/bin/env python3 """Command line tasks to build and deploy the ACW Battle Data.""" import os import shutil from os import path import logging from invoke import task LOGGER = logging.getLogger(__name__) @task def setup(ctx): """Setup directory structure.""" os.makedirs(ctx.dst, exist_ok=True) @task...
25.986486
78
0.629225
819
5,769
4.383394
0.168498
0.050139
0.052646
0.072423
0.455989
0.41727
0.403064
0.216992
0.045125
0.022841
0
0.004493
0.189808
5,769
221
79
26.104072
0.763586
0.152886
0
0.253968
0
0
0.407951
0.107993
0
0
0
0
0
1
0.230159
false
0.007937
0.039683
0
0.269841
0.007937
0
0
0
null
0
0
0
0
0
0
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
52a078d660861e72937a1620f1ce6a38433d646b
362
py
Python
2017/spring/s1/samples/example3/main.py
Rouzbeh-School/Python101
a139de782f30dc8fad7333875232b788095fbe7b
[ "MIT" ]
1
2017-01-12T03:25:10.000Z
2017-01-12T03:25:10.000Z
2017/spring/s1/samples/example3/main.py
Rouzbeh-School/Python101
a139de782f30dc8fad7333875232b788095fbe7b
[ "MIT" ]
null
null
null
2017/spring/s1/samples/example3/main.py
Rouzbeh-School/Python101
a139de782f30dc8fad7333875232b788095fbe7b
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def main(): buffersize = 50000 infile = open('obama.png', 'rb') outfile = open('obama-copy.png', 'wb') buffer = infile.read(buffersize) while len(buffer): outfile.write(buffer) print('.', end = '') buffer = infile.read(buffersize) print() print('D...
21.294118
42
0.574586
41
362
4.878049
0.609756
0.09
0.16
0.26
0
0
0
0
0
0
0
0.021978
0.245856
362
16
43
22.625
0.710623
0.046961
0
0.166667
0
0
0.119186
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0.25
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
52ad9325cc634c07b70417f821e4e07b5f6ae4e6
1,041
py
Python
glustercli2/peer.py
aravindavk/glustercli2-python
a8e54c081b416dd61e155a4060073d55f0100eb1
[ "Apache-2.0" ]
null
null
null
glustercli2/peer.py
aravindavk/glustercli2-python
a8e54c081b416dd61e155a4060073d55f0100eb1
[ "Apache-2.0" ]
null
null
null
glustercli2/peer.py
aravindavk/glustercli2-python
a8e54c081b416dd61e155a4060073d55f0100eb1
[ "Apache-2.0" ]
null
null
null
from glustercli2.parsers import parsed_pool_list class Peer: def __init__(self, cli, hostname): self.cli = cli self.hostname = hostname @classmethod def peer_cmd(cls, cli, cmd): return cli.exec_gluster_command( ["peer"] + cmd ) @classmethod def list(cl...
22.630435
58
0.560038
114
1,041
4.964912
0.385965
0.04947
0.04947
0.074205
0
0
0
0
0
0
0
0.004274
0.325648
1,041
45
59
23.133333
0.801994
0.182517
0
0.130435
0
0
0.04325
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0.043478
0.391304
0
0
0
0
null
0
0
0
0
0
0
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
52b39123787d5dc8396373f11969594bd0f9c074
304
py
Python
delivery_bots/bots/tgbot/checkout/buttons.py
savilard/delivery-bots
5385a08c5c02a886c3105413624424d6127b9363
[ "MIT" ]
null
null
null
delivery_bots/bots/tgbot/checkout/buttons.py
savilard/delivery-bots
5385a08c5c02a886c3105413624424d6127b9363
[ "MIT" ]
null
null
null
delivery_bots/bots/tgbot/checkout/buttons.py
savilard/delivery-bots
5385a08c5c02a886c3105413624424d6127b9363
[ "MIT" ]
null
null
null
from aiogram.types import InlineKeyboardButton from aiogram.utils.emoji import emojize async def create_checkout_button() -> InlineKeyboardButton: """Create tgbot checkout button.""" return InlineKeyboardButton( text=emojize('💱 Оформить заказ'), callback_data='checkout', )
27.636364
59
0.730263
31
304
7.096774
0.677419
0.1
0
0
0
0
0
0
0
0
0
0
0.177632
304
10
60
30.4
0.876
0
0
0
0
0
0.089219
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
52b396d64a446d3907c1a9752f2c905e0074b21d
6,772
py
Python
core/test/src/xal/model/benchmarks/ring-turns-test.py
luxiaohan/openxal-csns-luxh
451f4e8e723237bd50e2815cedca47cf2575552d
[ "BSD-3-Clause" ]
10
2016-01-04T19:00:27.000Z
2021-06-27T13:43:29.000Z
core/test/src/xal/model/benchmarks/ring-turns-test.py
luxiaohan/openxal-csns-luxh
451f4e8e723237bd50e2815cedca47cf2575552d
[ "BSD-3-Clause" ]
18
2016-02-09T14:46:47.000Z
2019-02-14T13:17:24.000Z
core/test/src/xal/model/benchmarks/ring-turns-test.py
luxiaohan/openxal-csns-luxh
451f4e8e723237bd50e2815cedca47cf2575552d
[ "BSD-3-Clause" ]
8
2016-01-04T14:05:51.000Z
2021-02-06T02:23:27.000Z
#!/usr/bin/env jython import sys from jarray import * from java.lang import * from java.util import * from java.io import * from java.text import * from javax.swing import * from java.awt.event import * from java.awt import * from java.util.regex import * from gov.sns.xal.smf import * from gov.sns.xal.smf.data impor...
34.030151
167
0.744389
900
6,772
5.486667
0.275556
0.046578
0.03949
0.048603
0.228838
0.197246
0.159376
0.103281
0.03868
0.03868
0
0.023715
0.140727
6,772
198
168
34.20202
0.824884
0.147224
0
0.022059
0
0
0.067212
0
0
0
0
0
0
0
null
null
0
0.183824
null
null
0.095588
0
0
0
null
0
0
0
0
0
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
52bdb2bb473e773088f3fcd5171d9daaf2efdaba
554
py
Python
helloWorld/helloWorldApp/migrations/0011_suggestion_upvote.py
jcheon/reddit_clone
e4efc5dac7b131e564296cb2421b296c860b47bf
[ "MIT" ]
4
2019-10-29T22:49:54.000Z
2020-02-17T06:14:07.000Z
helloWorld/helloWorldApp/migrations/0011_suggestion_upvote.py
jcheon/reddit_clone
e4efc5dac7b131e564296cb2421b296c860b47bf
[ "MIT" ]
16
2019-11-25T02:39:18.000Z
2022-02-10T13:28:22.000Z
helloWorld/helloWorldApp/migrations/0011_suggestion_upvote.py
jcheon/reddit_clone
e4efc5dac7b131e564296cb2421b296c860b47bf
[ "MIT" ]
1
2020-02-17T06:14:08.000Z
2020-02-17T06:14:08.000Z
# Generated by Django 2.2.5 on 2019-10-27 02:27 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('helloWorldApp', '0010_auto_20191025_2008'), ] op...
26.380952
110
0.669675
62
554
5.806452
0.677419
0.055556
0.088889
0.116667
0
0
0
0
0
0
0
0.07243
0.227437
554
20
111
27.7
0.768692
0.081227
0
0
1
0
0.12426
0.045365
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
52bf25704d4e95a0b4e154ac4dcd6f553d34d08d
742
py
Python
hatebu2pocket.py
naimasa/hatebu2pocket
c57ded0dda216e7579a56de54bee37dbca84172c
[ "MIT" ]
null
null
null
hatebu2pocket.py
naimasa/hatebu2pocket
c57ded0dda216e7579a56de54bee37dbca84172c
[ "MIT" ]
null
null
null
hatebu2pocket.py
naimasa/hatebu2pocket
c57ded0dda216e7579a56de54bee37dbca84172c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys import pocket from xml.etree.ElementTree import * import json param = sys.argv if (len(param) < 2): print "invalid auguments" exit(1) # parse xml infile = param[1] tree = parse(infile) elem = tree.getroot() list = [] for e in elem.findall(".//{http://purl.org/atom/ns#}link[...
23.1875
75
0.648248
102
742
4.647059
0.627451
0.046414
0.075949
0
0
0
0
0
0
0
0
0.04419
0.17655
742
31
76
23.935484
0.731588
0.095687
0
0
0
0
0.256757
0.045045
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.095238
0
0
0
null
0
0
0
0
0
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
52bf52b42837924f2216fae52180da39b3955b68
14,461
py
Python
lib/python2.7/site-packages/pyscope/simccdcamera2.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
lib/python2.7/site-packages/pyscope/simccdcamera2.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
lib/python2.7/site-packages/pyscope/simccdcamera2.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
import copy import ccdcamera import numpy import random random.seed() import time import remote import os from pyami import mrc import itertools from pyscope import falconframe FRAME_DIR = '.' rawtype = numpy.uint32 frametype = numpy.uint8 idcounter = itertools.cycle(range(100)) has_energy_filter = False class SimC...
26.929236
159
0.718208
1,894
14,461
5.359029
0.174234
0.02601
0.01931
0.013793
0.297241
0.224926
0.158621
0.110246
0.10936
0.082365
0
0.019351
0.167347
14,461
536
160
26.979478
0.823603
0.047092
0
0.298734
0
0
0.048895
0.002226
0
0
0
0
0
0
null
null
0.022785
0.025316
null
null
0.007595
0
0
0
null
0
0
0
0
0
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
52c07e0980c093785abaa2778813d90ce16677e1
500
py
Python
src/setup.py
anchepiece/pydukeenergy
da40c771666f17e27b81e91c050fa121541363e0
[ "MIT" ]
24
2018-07-20T18:49:53.000Z
2022-02-23T02:29:32.000Z
src/setup.py
anchepiece/pydukeenergy
da40c771666f17e27b81e91c050fa121541363e0
[ "MIT" ]
4
2019-01-14T15:38:36.000Z
2021-12-06T17:53:17.000Z
src/setup.py
anchepiece/pydukeenergy
da40c771666f17e27b81e91c050fa121541363e0
[ "MIT" ]
18
2018-07-22T01:30:02.000Z
2022-03-02T16:09:10.000Z
from setuptools import setup, find_packages setup(name='pydukeenergy', version='0.0.6', description='Interface to the unofficial Duke Energy API', url='http://github.com/w1ll1am23/pyduke-energy', author='William Scanlon', license='MIT', install_requires=['requests>=2.0', 'beautifuls...
35.714286
87
0.638
60
500
5.216667
0.766667
0.076677
0.076677
0
0
0
0
0
0
0
0
0.03163
0.178
500
13
88
38.461538
0.729927
0
0
0
0
0
0.38
0.042
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
52c0a2e80195302b213a89c2f1cd26b8fd5319d5
369
py
Python
aquaticore/taxa/urls.py
rockerBOO/aquaticore
d50be480d14f6d858610181eee15c3cc8d9544bb
[ "MIT" ]
null
null
null
aquaticore/taxa/urls.py
rockerBOO/aquaticore
d50be480d14f6d858610181eee15c3cc8d9544bb
[ "MIT" ]
null
null
null
aquaticore/taxa/urls.py
rockerBOO/aquaticore
d50be480d14f6d858610181eee15c3cc8d9544bb
[ "MIT" ]
null
null
null
from django.conf.urls.defaults import * urlpatterns = patterns('aquaticore.taxa.views', (r'^$', 'index'), (r'^species/(?P<species_name>[^\/]+)/?', 'species_detail'), (r'^species/?', 'species_list'), (r'^family/(?P<family_name>[^\/]+)/?', 'family_detail'), (r'^order/(?...
36.9
65
0.520325
38
369
4.868421
0.526316
0.086486
0
0
0
0
0
0
0
0
0
0
0.203252
369
9
66
41
0.629252
0
0
0
0
0
0.509485
0.325203
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
52cd75eafeb747ba3d7fca4a913fcdf0b798e160
1,658
py
Python
utils/metrics.py
teddy4445/OIEI
7aa6024483479f43a742eb88be47f707524c31e8
[ "Apache-2.0" ]
6
2021-03-23T18:35:59.000Z
2022-03-20T10:35:15.000Z
utils/metrics.py
teddy4445/OIEI
7aa6024483479f43a742eb88be47f707524c31e8
[ "Apache-2.0" ]
null
null
null
utils/metrics.py
teddy4445/OIEI
7aa6024483479f43a742eb88be47f707524c31e8
[ "Apache-2.0" ]
null
null
null
""" Authors: Theodore Lazebnik, Roni Reznik Leor Helper functions: 1. Overall score between, explainability and performance with normalization between 0-1 (logaritmic_power, sigmoid_power). 2. An explainability minimization (smaller is better) with additive constrains according the number of leaves and the error f...
22.712329
146
0.587455
191
1,658
4.979058
0.424084
0.037855
0.050473
0.085174
0.231335
0.19979
0.19979
0.19979
0.19979
0.19979
0
0.010274
0.295537
1,658
73
147
22.712329
0.803938
0.496984
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.045455
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
52cee17410ae2ca807c63400d3adeeb418f777ca
7,483
py
Python
ks4.py
raspitv/KStracker
7bfdc983b93e796932fe519b3b8219288ace49e5
[ "MIT" ]
null
null
null
ks4.py
raspitv/KStracker
7bfdc983b93e796932fe519b3b8219288ace49e5
[ "MIT" ]
null
null
null
ks4.py
raspitv/KStracker
7bfdc983b93e796932fe519b3b8219288ace49e5
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # cli arguments: nolog nodis noloop from urllib2 import Request, urlopen, URLError from time import sleep # we need sleep for a delay between readings import sys # we use sys for command line arguments # inser...
45.628049
151
0.593345
997
7,483
4.307924
0.292879
0.050291
0.022352
0.019558
0.209313
0.170198
0.118976
0.115017
0.101979
0.101979
0
0.047829
0.30429
7,483
163
152
45.907975
0.776796
0.226113
0
0.112
0
0.008
0.143727
0.041413
0
0
0
0
0
0
null
null
0
0.024
null
null
0.088
0
0
0
null
0
0
0
0
0
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
52d675ab4d7dc9e7dbd14a513e47a11ee3b00025
1,312
py
Python
playground.py
JoseLuisRojasAranda/FB-Friends-Scraper
04edaa5caa7175937561065334200af119ba4230
[ "MIT" ]
null
null
null
playground.py
JoseLuisRojasAranda/FB-Friends-Scraper
04edaa5caa7175937561065334200af119ba4230
[ "MIT" ]
null
null
null
playground.py
JoseLuisRojasAranda/FB-Friends-Scraper
04edaa5caa7175937561065334200af119ba4230
[ "MIT" ]
null
null
null
import time import scrapy from scrapy import Spider from scrapy.utils.response import open_in_browser from scrapy.http import FormRequest from scrapy.crawler import CrawlerProcess from selenium import webdriver class FBCrawler(object): def __init__(self): self.driver = webdriver.Chrome(executable_path="....
27.333333
75
0.639482
153
1,312
5.294118
0.45098
0.08642
0.069136
0.103704
0.132099
0.103704
0.103704
0
0
0
0
0.003055
0.251524
1,312
47
76
27.914894
0.821792
0
0
0.058824
0
0
0.165396
0.01753
0
0
0
0
0
1
0.088235
false
0.117647
0.205882
0
0.323529
0.147059
0
0
0
null
0
0
0
0
0
0
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
52d70901539920a08980f21ccc603f4b9f1cff2b
923
py
Python
seed/routes/helpers/graphene_view.py
erick-rivas/django-reference
3195de635419a0c2ac8eee92742bb98365f614d8
[ "MIT" ]
null
null
null
seed/routes/helpers/graphene_view.py
erick-rivas/django-reference
3195de635419a0c2ac8eee92742bb98365f614d8
[ "MIT" ]
11
2020-02-11T23:57:45.000Z
2022-02-17T07:03:39.000Z
seed/routes/helpers/graphene_view.py
erick-rivas/django-reference
3195de635419a0c2ac8eee92742bb98365f614d8
[ "MIT" ]
null
null
null
""" __Seed builder__ (Read_only) Routes helper """ from graphene_django.views import GraphQLView from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from rest_framework.decorators import authentication_classes, permission_classes, api_view from django....
34.185185
90
0.761647
108
923
6.268519
0.416667
0.035451
0.075332
0.053176
0
0
0
0
0
0
0
0
0.145179
923
27
91
34.185185
0.858048
0.047671
0
0
0
0
0.017202
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
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
52d9114d0a8e8e26561437baed2c40739157f1a5
1,653
py
Python
app/__init__.py
alphagov/team-metrics
96eaab6d924670f72ee06d54b5e7790b82db15c9
[ "MIT" ]
null
null
null
app/__init__.py
alphagov/team-metrics
96eaab6d924670f72ee06d54b5e7790b82db15c9
[ "MIT" ]
null
null
null
app/__init__.py
alphagov/team-metrics
96eaab6d924670f72ee06d54b5e7790b82db15c9
[ "MIT" ]
2
2019-08-29T13:59:36.000Z
2021-04-10T19:39:53.000Z
import os import uuid import alembic.config from alembic.config import Config import alembic.command from flask import redirect, request, session from flask import Flask from psycopg2 import ProgrammingError import requests from app.metrics_db import Metrics_DB import logging db = Metrics_DB() def create_app(appl...
26.238095
84
0.756201
205
1,653
5.95122
0.370732
0.028689
0.029508
0.090984
0
0
0
0
0
0
0
0.000727
0.167574
1,653
62
85
26.66129
0.885901
0.055051
0
0
0
0
0.055841
0
0
0
0
0
0
1
0.093023
false
0
0.348837
0
0.488372
0.186047
0
0
0
null
0
0
0
0
0
0
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
52da720d761fba3e233a0bc5d40eafea26f99aad
25,142
py
Python
planit/get_lessons.py
Class-Planit/class-planit
76df43c9a8b4e69b420ab9ae1d1eeb723ae4cccd
[ "MIT" ]
null
null
null
planit/get_lessons.py
Class-Planit/class-planit
76df43c9a8b4e69b420ab9ae1d1eeb723ae4cccd
[ "MIT" ]
null
null
null
planit/get_lessons.py
Class-Planit/class-planit
76df43c9a8b4e69b420ab9ae1d1eeb723ae4cccd
[ "MIT" ]
null
null
null
from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics.pairwise import cosine_similarity from nltk.stem import WordNetLemmatizer from nltk.corpus import stopwords from nltk.tokenize import word_tokenize from nltk.stem import WordNetLe...
38.502297
1,613
0.609975
3,041
25,142
4.809273
0.180533
0.014222
0.011692
0.014769
0.334291
0.286291
0.257026
0.233094
0.219009
0.208205
0
0.006003
0.284385
25,142
652
1,614
38.56135
0.806859
0.059303
0
0.230769
0
0
0.087165
0
0
0
0
0
0
1
0.025641
false
0.027778
0.098291
0
0.134615
0.002137
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
52db00c14c98833dfb2e78e167f7cbfe69e808ad
3,246
py
Python
django_auth_http_basic/__init__.py
t73fde/django-auth-http-basic
69f4c26cb2760c1c392738486ce6bc87c3c413bc
[ "Apache-2.0" ]
8
2018-12-20T18:43:37.000Z
2020-09-11T20:56:12.000Z
django_auth_http_basic/__init__.py
t73fde/django-auth-http-basic
69f4c26cb2760c1c392738486ce6bc87c3c413bc
[ "Apache-2.0" ]
3
2019-10-20T17:23:18.000Z
2020-03-31T08:44:06.000Z
django_auth_http_basic/__init__.py
t73fde/django-auth-http-basic
69f4c26cb2760c1c392738486ce6bc87c3c413bc
[ "Apache-2.0" ]
1
2018-10-10T13:12:39.000Z
2018-10-10T13:12:39.000Z
# -*- coding: utf-8 -*- """Simple authenticaton backend based on HTTP basic authentication. :copyright: (c) 2016-2019 by Detlef Stern :license: Apache 2.0, see LICENSE """ import logging import requests from django.contrib.auth import get_user_model from django.contrib.auth.backends import ModelBackend from django...
33.122449
79
0.657425
409
3,246
5.080685
0.347188
0.047642
0.043792
0.030799
0.110202
0
0
0
0
0
0
0.008316
0.259088
3,246
97
80
33.463918
0.855717
0.345964
0
0.0625
0
0
0.085181
0
0
0
0
0
0
1
0.083333
false
0.083333
0.104167
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
52dc676bbdf5b9dd695897c6093602236afbc597
10,803
py
Python
synapseclient/annotations.py
lingyunsong/synapse_scripts
a6fd694abbd970b2b78ef89130ef2e88b10a102e
[ "Apache-2.0" ]
null
null
null
synapseclient/annotations.py
lingyunsong/synapse_scripts
a6fd694abbd970b2b78ef89130ef2e88b10a102e
[ "Apache-2.0" ]
null
null
null
synapseclient/annotations.py
lingyunsong/synapse_scripts
a6fd694abbd970b2b78ef89130ef2e88b10a102e
[ "Apache-2.0" ]
null
null
null
""" *********** Annotations *********** Annotations are arbitrary metadata attached to Synapse entities. They can be accessed like ordinary object properties or like dictionary keys:: entity.my_annotation = 'This is one way to do it' entity['other_annotation'] = 'This is another' Annotations can be given in ...
46.969565
211
0.679256
1,262
10,803
5.725832
0.227417
0.04207
0.052311
0.021174
0.33933
0.263355
0.201771
0.158317
0.117631
0.088846
0
0.003977
0.208553
10,803
229
212
47.174672
0.84117
0.444691
0
0.231579
0
0.010526
0.162678
0.003815
0
0
0
0.0131
0
1
0.084211
false
0.010526
0.042105
0
0.221053
0
0
0
0
null
0
0
0
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
52e1c7957d61918c1eb6b4c911478745e4c0bdbe
793
py
Python
rl_groundup/functions/linear_policy.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
1
2021-04-20T00:43:43.000Z
2021-04-20T00:43:43.000Z
rl_groundup/functions/linear_policy.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
null
null
null
rl_groundup/functions/linear_policy.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
null
null
null
# Created by Tristan Bester. import numpy as np class LinearPolicy(object): '''A parametric function used to approximate the state-action value function for a specific policy. The approximate value for a given state- action pair is equal to the dot product of the state-action pairs feature vecto...
36.045455
78
0.703657
112
793
4.803571
0.473214
0.061338
0.052045
0.063197
0.074349
0
0
0
0
0
0
0
0.230769
793
21
79
37.761905
0.881967
0.363178
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
52e39bd51853358e3831d48264dfe8796688346b
4,966
py
Python
mailman2/models.py
edinburghhacklab/hackdb
3ec7d66039705aa511dd6559196fa51a53b3a110
[ "MIT" ]
null
null
null
mailman2/models.py
edinburghhacklab/hackdb
3ec7d66039705aa511dd6559196fa51a53b3a110
[ "MIT" ]
null
null
null
mailman2/models.py
edinburghhacklab/hackdb
3ec7d66039705aa511dd6559196fa51a53b3a110
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2022 Tim Hawes <me@timhawes.com> # # SPDX-License-Identifier: MIT import re from allauth.account.models import EmailAddress from django.contrib.auth import get_user_model from django.contrib.auth.models import Group from django.core.exceptions import ValidationError from django.db import mod...
31.630573
85
0.646597
563
4,966
5.529307
0.273535
0.035336
0.03373
0.026984
0.199807
0.166399
0.120141
0.106971
0.067459
0.067459
0
0.004637
0.26178
4,966
156
86
31.833333
0.844517
0.030608
0
0.208
0
0
0.077787
0.012479
0
0
0
0
0
1
0.088
false
0.008
0.048
0.016
0.576
0
0
0
0
null
0
0
0
0
0
0
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
52e78cb61eab81f81a417b895deaa8c3e5eb13aa
1,271
py
Python
src/python/datatype/BooleanType.py
hiteshsahu/Python4ML
be193f78035d669c2c8d9da4ddd7a791e6e625f6
[ "Apache-2.0" ]
null
null
null
src/python/datatype/BooleanType.py
hiteshsahu/Python4ML
be193f78035d669c2c8d9da4ddd7a791e6e625f6
[ "Apache-2.0" ]
null
null
null
src/python/datatype/BooleanType.py
hiteshsahu/Python4ML
be193f78035d669c2c8d9da4ddd7a791e6e625f6
[ "Apache-2.0" ]
null
null
null
""" Boolean Data Type(bool): - Only be True or False - None is false - All numbers are True, except 0. - All strings are True, except Empty strings. ie "" - All Collections(list, tuple, set, and dictionary) are True, except Empty ones.ie. (), [], {}, - Objects from a class with a __len__ function that returns 0 is alw...
28.244444
95
0.620771
176
1,271
4.392045
0.375
0.151358
0.072445
0.046572
0.069858
0.069858
0
0
0
0
0
0.012371
0.236821
1,271
44
96
28.886364
0.784536
0.491739
0
0
0
0
0.141479
0
0
0
0
0
0
1
0.045455
false
0
0
0.045455
0.136364
0.681818
0
0
0
null
0
0
0
0
0
0
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
52ffb9602591c22cb196149e5173ea4c3c0c750b
1,543
py
Python
lib.py
tekton/redis_browser
3852b38a99ad79cf36a395ca71dacc2c2a11c7ca
[ "MIT" ]
null
null
null
lib.py
tekton/redis_browser
3852b38a99ad79cf36a395ca71dacc2c2a11c7ca
[ "MIT" ]
null
null
null
lib.py
tekton/redis_browser
3852b38a99ad79cf36a395ca71dacc2c2a11c7ca
[ "MIT" ]
null
null
null
import base64 from simple_redis_conn import r import json # from simple_redis_conn import w # connect to redis # scan for all the things to create an in-memory DB of things # go through all the keys and get their types # for a key, check its type- don't have it? get it! # # based on the type get the stuff... # # if ...
27.070175
86
0.65068
245
1,543
3.918367
0.363265
0.0875
0.05625
0.039583
0.216667
0.11875
0.0625
0
0
0
0
0.016736
0.225535
1,543
56
87
27.553571
0.786611
0.283863
0
0.060606
0
0
0.07791
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
52ffdb7bc58cefe6d5e2486fba8661899c68a9f5
8,163
py
Python
hammer/clienttype.py
usd-yamazaki/chainhammer
3f832a769fcae7a0c1ee6825130b0edc1bf9ef7d
[ "MIT" ]
null
null
null
hammer/clienttype.py
usd-yamazaki/chainhammer
3f832a769fcae7a0c1ee6825130b0edc1bf9ef7d
[ "MIT" ]
null
null
null
hammer/clienttype.py
usd-yamazaki/chainhammer
3f832a769fcae7a0c1ee6825130b0edc1bf9ef7d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ @summary: Which client type do we have? quorum-raft/ibft OR energyweb OR parity OR geth OR ... @version: v43 (16/December/2018) @since: 29/May/2018 @organization: @author: https://github.com/drandreaskrueger @see: https://github.com/drandreaskrueger/chainhammer for updates...
32.652
127
0.623668
873
8,163
5.757159
0.339061
0.021886
0.027855
0.032232
0.196777
0.1731
0.165937
0.079586
0.022682
0.022682
0
0.020104
0.268774
8,163
249
128
32.783133
0.821913
0.311405
0
0.251969
0
0.007874
0.186578
0.009587
0
0
0
0.004016
0
1
0.047244
false
0.070866
0.03937
0
0.125984
0.094488
0
0
0
null
0
0
0
0
0
0
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
5e01569dfa40e004ca63cd2c43639734468c5809
551
py
Python
parseepo/validate.py
cverluise/parseEPO
be1171a0f8e6fcafa711fa291aebb1fc2260d5e6
[ "MIT" ]
null
null
null
parseepo/validate.py
cverluise/parseEPO
be1171a0f8e6fcafa711fa291aebb1fc2260d5e6
[ "MIT" ]
3
2021-02-02T22:38:50.000Z
2021-08-23T20:41:10.000Z
parseepo/validate.py
cverluise/parseEPO
be1171a0f8e6fcafa711fa291aebb1fc2260d5e6
[ "MIT" ]
null
null
null
from parseepo.exception import SingleAttrException, RowException def single_attr(val, attr, publication_number): if len(val) == 1: # Temporary check, might be discarded if no error pass else: raise SingleAttrException( f"{publication_number}: Number of values exceed expected numbe...
26.238095
77
0.624319
66
551
5.121212
0.530303
0.100592
0.076923
0
0
0
0
0
0
0
0
0.005195
0.30127
551
20
78
27.55
0.872727
0.085299
0
0.25
0
0
0.290837
0.041833
0
0
0
0
0
1
0.125
false
0.125
0.0625
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5e07bfabc7bbf46c501a513d0e9cd2cdf1ce2ef0
5,298
py
Python
CalibTracker/SiStripChannelGain/test/Gains_CT_step2.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
CalibTracker/SiStripChannelGain/test/Gains_CT_step2.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
CalibTracker/SiStripChannelGain/test/Gains_CT_step2.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2022-02-27T06:12:26.000Z
2022-02-27T06:12:26.000Z
# Auto generated configuration file # using: # Revision: 1.381.2.28 # Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v # with command line options: step4 --data --conditions auto:com10 --scenario pp -s ALCAHARVEST:SiStripGains --filein file:PromptCalibProdSiStripGains.root ...
50.457143
192
0.813892
516
5,298
8.323643
0.352713
0.083818
0.055879
0.034226
0.312224
0.257043
0.202794
0.20163
0.20163
0.20163
0
0.008433
0.082295
5,298
104
193
50.942308
0.874949
0.11627
0
0.142857
1
0
0.204589
0.11988
0
0
0
0
0
1
0
false
0
0.042857
0
0.042857
0
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
5e07ddd36b63ccb7142f551d6def675147d5af4d
7,633
py
Python
Dermis2.py
cheapjack/StasisCraft
cb341b8ce53b974c7395a3f3dc514d48a13f4eb8
[ "CC0-1.0" ]
null
null
null
Dermis2.py
cheapjack/StasisCraft
cb341b8ce53b974c7395a3f3dc514d48a13f4eb8
[ "CC0-1.0" ]
1
2015-11-30T11:33:08.000Z
2015-11-30T11:34:34.000Z
Dermis2.py
cheapjack/StasisCraft
cb341b8ce53b974c7395a3f3dc514d48a13f4eb8
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/python #Install the modules we need #from pyfirmata import Arduino, util, INPUT from mcpi import minecraft from mcpi import minecraftstuff from time import sleep import server import serial # Use the command /getpos or F3 in Minecraft client to find out where you are then use those # x, y, z coordinates t...
43.617143
197
0.687803
1,047
7,633
5.011461
0.240688
0.06518
0.060034
0.072041
0.552125
0.484658
0.437012
0.385363
0.353726
0.309701
0
0.068303
0.161797
7,633
174
198
43.867816
0.751797
0.28403
0
0.318182
0
0
0.063853
0
0
0
0
0
0
0
null
null
0
0.056818
null
null
0.056818
0
0
0
null
0
0
0
0
0
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
5e08666aa6713ebaae800b269b791ac10dc6f65d
524
py
Python
textconverter.py
adityaDave2011/InformationSecurity
2fc0c80e6ed0432cbb2c11117e680763def5b9f6
[ "MIT" ]
null
null
null
textconverter.py
adityaDave2011/InformationSecurity
2fc0c80e6ed0432cbb2c11117e680763def5b9f6
[ "MIT" ]
null
null
null
textconverter.py
adityaDave2011/InformationSecurity
2fc0c80e6ed0432cbb2c11117e680763def5b9f6
[ "MIT" ]
null
null
null
def get_msg_with_punctuations(old, new): new_org_text = new for i in range(len(old)): if not str.isalpha(old[i]): new_org_text = new_org_text[0:i] + old[i] + new_org_text[i:] for i in range(len(old)): if str.isupper(old[i]): new_org_text = new_org_text[0:i] + str.uppe...
30.823529
96
0.603053
89
524
3.292135
0.292135
0.1843
0.307167
0.150171
0.399317
0.307167
0.307167
0.177474
0.177474
0.177474
0
0.007853
0.270992
524
17
97
30.823529
0.759162
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.266667
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
5e0ef13e116b0e51111ed534e2727acc664e94de
394
py
Python
mysite/LibreBadge/migrations/0014_auto_20200317_0237.py
energized-id/energized-id
9dfd483e808cee7e87bfae02864ff2d614609890
[ "MIT" ]
8
2020-03-05T07:04:48.000Z
2022-03-29T14:32:00.000Z
mysite/LibreBadge/migrations/0014_auto_20200317_0237.py
energized-id/energized-id
9dfd483e808cee7e87bfae02864ff2d614609890
[ "MIT" ]
36
2020-02-26T18:15:37.000Z
2020-11-25T05:56:09.000Z
mysite/LibreBadge/migrations/0014_auto_20200317_0237.py
energized-id/energized-id
9dfd483e808cee7e87bfae02864ff2d614609890
[ "MIT" ]
2
2021-06-20T06:27:16.000Z
2021-11-12T10:48:14.000Z
# Generated by Django 3.0.3 on 2020-03-17 02:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('LibreBadge', '0013_auto_20200317_0236'), ] operations = [ migrations.AlterField( model_name='badgetemplate', name='b...
20.736842
50
0.601523
41
394
5.658537
0.829268
0
0
0
0
0
0
0
0
0
0
0.109541
0.281726
394
18
51
21.888889
0.710247
0.114213
0
0
1
0
0.146974
0.066282
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
5e11e1585f7ded8dee3949d6d5c567a286d62445
4,864
py
Python
pypospack/task/tasks_lammps/structural_minimization.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
4
2018-01-18T19:59:56.000Z
2020-08-25T11:56:52.000Z
pypospack/task/tasks_lammps/structural_minimization.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2018-04-22T23:02:13.000Z
2018-04-22T23:02:13.000Z
pypospack/task/tasks_lammps/structural_minimization.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2019-09-14T07:04:42.000Z
2019-09-14T07:04:42.000Z
import os,copy from collections import OrderedDict from pypospack.task.lammps import LammpsSimulation class LammpsStructuralMinimization(LammpsSimulation): """ Class for LAMMPS structural minimization This data class defines additional attributes and methods necessary to interact with the Workflow manage...
40.87395
100
0.564967
535
4,864
4.850467
0.325234
0.08632
0.137572
0.169942
0.314836
0.127938
0.067823
0.023121
0.023121
0
0
0.019608
0.287007
4,864
118
101
41.220339
0.728662
0.099712
0
0
0
0
0.1523
0
0
0
0
0
0
1
0.066667
false
0
0.033333
0
0.122222
0.022222
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
5e144498147dd2eab4bddb7333674a74cf0ac259
356
py
Python
leetCode/algorithms/medium/lowest_common_ancestor_of_a_binary_tree.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
leetCode/algorithms/medium/lowest_common_ancestor_of_a_binary_tree.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
leetCode/algorithms/medium/lowest_common_ancestor_of_a_binary_tree.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
class Solution: def lowestCommonAncestor(self, root, p, q): if root is None or p == root or q == root: return root l = self.lowestCommonAncestor(root.left, p, q) r = self.lowestCommonAncestor(root.right, p, q) if l is None: return r if r is None: ...
29.666667
55
0.547753
48
356
4.0625
0.354167
0.030769
0.041026
0
0
0
0
0
0
0
0
0
0.373596
356
11
56
32.363636
0.874439
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
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
5e14a498398601221cd0dd88254085171b5689b6
2,383
py
Python
orders/migrations/0001_initial.py
toert/django-shop-template
22b60f80235735673a486c6d7dc24a5c81c40c01
[ "MIT" ]
1
2017-08-13T20:19:38.000Z
2017-08-13T20:19:38.000Z
orders/migrations/0001_initial.py
toert/django-shop-template
22b60f80235735673a486c6d7dc24a5c81c40c01
[ "MIT" ]
null
null
null
orders/migrations/0001_initial.py
toert/django-shop-template
22b60f80235735673a486c6d7dc24a5c81c40c01
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-22 05:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('catalog', '0004_auto_20170322_0852'), ...
47.66
158
0.610575
247
2,383
5.688259
0.445344
0.140925
0.064057
0.085409
0.343061
0.343061
0.343061
0.263345
0.203559
0.203559
0
0.028953
0.246328
2,383
49
159
48.632653
0.753341
0.028535
0
0.243902
1
0
0.179498
0.009948
0
0
0
0
0
1
0
false
0
0.073171
0
0.170732
0
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
5e16016837190323217b6bf1d3e507e8b19f746e
8,363
py
Python
packios.py
skela/r
4c5b8574a7868c3a95ab1ccbcb07d5ba2dc5d5d0
[ "MIT" ]
null
null
null
packios.py
skela/r
4c5b8574a7868c3a95ab1ccbcb07d5ba2dc5d5d0
[ "MIT" ]
null
null
null
packios.py
skela/r
4c5b8574a7868c3a95ab1ccbcb07d5ba2dc5d5d0
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import plistlib class PackIOS(object): def __init__(self, root, proj_folder, project, solution, release_notes=None, mdtool=None, configuration="Ad-Hoc"): self.name = proj_folder self.mdtool = mdtool self.proj_folder = os.path.join(root, proj_folder) ...
35.739316
175
0.591056
1,100
8,363
4.283636
0.149091
0.074703
0.036078
0.017827
0.45607
0.373727
0.293718
0.274194
0.249151
0.249151
0
0.00326
0.303121
8,363
233
176
35.892704
0.805251
0.035394
0
0.285714
0
0.005291
0.115962
0.016991
0
0
0
0
0
0
null
null
0
0.010582
null
null
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5e1a0030448673e47c5b0518797c8a420eef4350
343
py
Python
account/forms.py
ShwethaRGowda/FADB
c6f29701b884ea69fe9a357c6a6b8e5672669222
[ "MIT" ]
149
2019-09-29T08:56:12.000Z
2022-03-27T00:52:07.000Z
account/forms.py
ShwethaRGowda/FADB
c6f29701b884ea69fe9a357c6a6b8e5672669222
[ "MIT" ]
8
2021-03-30T13:59:50.000Z
2022-03-12T00:41:22.000Z
account/forms.py
Krittin-Khanueng/school_management_system
b34e40da452cf87d2acddd183f1e5af59ec7b3ce
[ "MIT" ]
75
2020-01-24T13:00:10.000Z
2022-02-17T06:19:29.000Z
from django import forms from .models import UserProfile class ProfileForm(forms.ModelForm): class Meta: model = UserProfile fields = ['name', 'photo'] widgets = { 'name': forms.TextInput(attrs={'class': 'form-control'}), 'photo': forms.FileInput(attrs={'class': 'for...
31.181818
70
0.594752
34
343
6
0.588235
0.098039
0.137255
0.205882
0
0
0
0
0
0
0
0
0.259475
343
11
71
31.181818
0.80315
0
0
0
0
0
0.151163
0
0
0
0
0
0
1
0
false
0
0.2
0
0.4
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
5e1b893f1eaf51cb0054a59e40be5aadbed83a8d
283
py
Python
BasicPythonPrograms/Operator_Module_3.py
Pushkar745/PythonProgramming
ea60e97b70d46fb63ef203913c8b3f9570232dd3
[ "Apache-2.0" ]
null
null
null
BasicPythonPrograms/Operator_Module_3.py
Pushkar745/PythonProgramming
ea60e97b70d46fb63ef203913c8b3f9570232dd3
[ "Apache-2.0" ]
null
null
null
BasicPythonPrograms/Operator_Module_3.py
Pushkar745/PythonProgramming
ea60e97b70d46fb63ef203913c8b3f9570232dd3
[ "Apache-2.0" ]
null
null
null
import operator s1="Marlin" s2="beard" print("The Concatenated string is :",end="") print(operator.concat(s1,s2)) #using contains() to check if s1 contains s2 if(operator.contains(s1, s2)): print("Marlin Contains Beard") else: print("Marlin Does not contains Beard")
25.727273
44
0.699647
41
283
4.829268
0.512195
0.040404
0
0
0
0
0
0
0
0
0
0.033613
0.159011
283
11
45
25.727273
0.798319
0.151943
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
5e21f663ba60af10879900201f24e35a4d071a1a
554
py
Python
users/forms.py
faisoabdirisak/NextDoor
57eb963ea8e68cc1b3516ec1005418b3fdc6283a
[ "Unlicense", "MIT" ]
null
null
null
users/forms.py
faisoabdirisak/NextDoor
57eb963ea8e68cc1b3516ec1005418b3fdc6283a
[ "Unlicense", "MIT" ]
null
null
null
users/forms.py
faisoabdirisak/NextDoor
57eb963ea8e68cc1b3516ec1005418b3fdc6283a
[ "Unlicense", "MIT" ]
null
null
null
from cProfile import label from django.forms import ModelForm from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class CustomUserCreation(UserCreationForm): class Meta: model=User fields=['username','email','password1','password2'] labels={ ...
29.157895
63
0.66065
60
554
5.966667
0.616667
0.083799
0.094972
0.117318
0
0
0
0
0
0
0
0.00464
0.222022
554
19
64
29.157895
0.825986
0
0
0
0
0
0.068468
0
0
0
0
0
0
1
0.071429
false
0.071429
0.285714
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
1
0
0
0
0
0
1
5e231ac0e1685af86ddbd8e7b9586608caf67cdc
299
py
Python
coursesApp/migrations/0005_delete_lessons.py
glen-s-abraham/Elearning-platform
3122cfcef9dd920fffb474da2a63c475fe08c27b
[ "MIT" ]
null
null
null
coursesApp/migrations/0005_delete_lessons.py
glen-s-abraham/Elearning-platform
3122cfcef9dd920fffb474da2a63c475fe08c27b
[ "MIT" ]
null
null
null
coursesApp/migrations/0005_delete_lessons.py
glen-s-abraham/Elearning-platform
3122cfcef9dd920fffb474da2a63c475fe08c27b
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-06-03 12:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('coursesApp', '0004_auto_20200603_1809'), ] operations = [ migrations.DeleteModel( name='Lessons', ), ]
17.588235
50
0.608696
32
299
5.59375
0.875
0
0
0
0
0
0
0
0
0
0
0.144186
0.280936
299
16
51
18.6875
0.688372
0.150502
0
0
1
0
0.15873
0.09127
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5e373db69b53b60b0215054ac7554d3b142b6d4b
3,761
py
Python
fides/constants.py
dweindl/fides
3124c664d301c12499eb052047be7833577c4e74
[ "BSD-3-Clause" ]
null
null
null
fides/constants.py
dweindl/fides
3124c664d301c12499eb052047be7833577c4e74
[ "BSD-3-Clause" ]
null
null
null
fides/constants.py
dweindl/fides
3124c664d301c12499eb052047be7833577c4e74
[ "BSD-3-Clause" ]
null
null
null
""" Constants ----------- This module provides a central place to define native python enums and constants that are used in multiple other modules """ import enum import numpy as np class Options(str, enum.Enum): """ Defines all the fields that can be specified in Options to :py:class:`Optimizer` """...
39.177083
78
0.701409
474
3,761
5.508439
0.424051
0.033704
0.044044
0.053619
0.175412
0.121792
0.027576
0.027576
0
0
0
0.019002
0.216432
3,761
95
79
39.589474
0.866983
0.54879
0
0
0
0
0.114013
0
0
0
0
0
0
1
0
false
0
0.033898
0
0.661017
0
0
0
0
null
0
0
0
0
0
0
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
eaa3159e17debaafbbbd8674088c64e6950f7c62
6,193
py
Python
Harris_Corner_Detection_And_SIFT/code/student_code.py
dasdristanta13/Computer-vision
2fe99066c33f822772ae252f489728b8fff68399
[ "Unlicense" ]
null
null
null
Harris_Corner_Detection_And_SIFT/code/student_code.py
dasdristanta13/Computer-vision
2fe99066c33f822772ae252f489728b8fff68399
[ "Unlicense" ]
null
null
null
Harris_Corner_Detection_And_SIFT/code/student_code.py
dasdristanta13/Computer-vision
2fe99066c33f822772ae252f489728b8fff68399
[ "Unlicense" ]
1
2021-11-03T08:17:37.000Z
2021-11-03T08:17:37.000Z
import numpy as np import cv2 # You must not use cv2.cornerHarris() # You must not add any other library ### If you need additional helper methods, add those. ### Write details description of those """ Returns the harris corners, image derivative in X direction, and image derivative in Y direction. Args ...
41.013245
110
0.658324
913
6,193
4.431544
0.329682
0.027187
0.02521
0.012852
0.12605
0.082798
0.043005
0.032131
0.032131
0.032131
0
0.015434
0.24673
6,193
150
111
41.286667
0.851876
0.52414
0
0
0
0
0.016937
0
0
0
0
0.02
0.033333
1
0.1
false
0
0.066667
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
eaacabc9880ef608a6051b09c5cecfe87a8f01ee
7,043
py
Python
StoppingTargetAcceptanceCalculator.py
HCasler/SSC-Acceptance
156f6ff5698f93085a0d5d34d63158afa21c93ef
[ "Apache-2.0" ]
null
null
null
StoppingTargetAcceptanceCalculator.py
HCasler/SSC-Acceptance
156f6ff5698f93085a0d5d34d63158afa21c93ef
[ "Apache-2.0" ]
null
null
null
StoppingTargetAcceptanceCalculator.py
HCasler/SSC-Acceptance
156f6ff5698f93085a0d5d34d63158afa21c93ef
[ "Apache-2.0" ]
null
null
null
#! usr/bin/env python #import calcGeomAcceptancePointSource as ptSrc from PointSourceAcceptanceCalculator import PointSourceAcceptanceCalculator from CollimatorGeometry import CollimatorGeometry import math from scipy import integrate class StoppingTargetAcceptanceCalculator: def __init__(self, collimatorGeometr...
37.26455
114
0.610109
794
7,043
5.374055
0.215365
0.021092
0.014764
0.024373
0.451371
0.451371
0.451371
0.451371
0.451371
0.451371
0
0.02743
0.285674
7,043
188
115
37.462766
0.820712
0.07866
0
0.417266
0
0
0.026112
0
0
0
0
0.005319
0
0
null
null
0
0.028777
null
null
0.035971
0
0
0
null
0
0
0
0
0
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
eab437d29bb905a4f61b711c29090300bbe01a73
511
py
Python
h2o-py/tests/testdir_munging/binop/pyunit_mod.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
6,098
2015-05-22T02:46:12.000Z
2022-03-31T16:54:51.000Z
h2o-py/tests/testdir_munging/binop/pyunit_mod.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2,517
2015-05-23T02:10:54.000Z
2022-03-30T17:03:39.000Z
h2o-py/tests/testdir_munging/binop/pyunit_mod.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2,199
2015-05-22T04:09:55.000Z
2022-03-28T22:20:45.000Z
import sys sys.path.insert(1,"../../../") import h2o from tests import pyunit_utils def frame_as_list(): prostate = h2o.import_file(path=pyunit_utils.locate("smalldata/prostate/prostate.csv.zip")) (prostate % 10).show() (prostate[4] % 10).show() airlines = h2o.import_file(path=pyunit_utils.locate(...
17.62069
99
0.706458
68
511
4.985294
0.5
0.129794
0.097345
0.100295
0.253687
0.253687
0.253687
0.253687
0
0
0
0.029412
0.135029
511
28
100
18.25
0.737557
0
0
0
0
0
0.201566
0.148728
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eabf7e68bfa1898c36a5861bc0832674d0807b1b
2,894
py
Python
backend/coreapp/serializers.py
kiwi515/decomp.me
25468edf4601fa92dabe388a09bcabbede1c5205
[ "MIT" ]
1
2022-01-24T02:48:04.000Z
2022-01-24T02:48:04.000Z
backend/coreapp/serializers.py
kiwi515/decomp.me
25468edf4601fa92dabe388a09bcabbede1c5205
[ "MIT" ]
null
null
null
backend/coreapp/serializers.py
kiwi515/decomp.me
25468edf4601fa92dabe388a09bcabbede1c5205
[ "MIT" ]
null
null
null
from rest_framework import serializers from typing import Optional, TYPE_CHECKING from .models import Profile, Scratch from .github import GitHubUser from .middleware import Request def serialize_profile(request: Request, profile: Profile): if profile.user is None: return { "is_you": profile =...
43.19403
171
0.70387
318
2,894
6.248428
0.323899
0.065425
0.088072
0.105687
0.292904
0.236537
0.202315
0.075491
0.075491
0.075491
0
0
0.193158
2,894
66
172
43.848485
0.850964
0.064271
0
0.145455
0
0
0.120977
0
0
0
0
0.015152
0
1
0.036364
false
0
0.090909
0.018182
0.454545
0
0
0
0
null
0
0
0
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
eac0f4a06e2e39ec2667897f900fd4c4ce13979a
3,665
py
Python
video-streaming/video_streaming/core/constants/status.py
mojtaba-arvin/video-service
d75bd59d8203277fc6a50440d3f0b34693958ee1
[ "MIT" ]
9
2021-02-21T21:42:19.000Z
2022-03-10T02:42:47.000Z
video-streaming/video_streaming/core/constants/status.py
mojtaba-arvin/video-service
d75bd59d8203277fc6a50440d3f0b34693958ee1
[ "MIT" ]
null
null
null
video-streaming/video_streaming/core/constants/status.py
mojtaba-arvin/video-service
d75bd59d8203277fc6a50440d3f0b34693958ee1
[ "MIT" ]
1
2021-08-12T20:32:26.000Z
2021-08-12T20:32:26.000Z
__all__ = [ 'PrimaryStatus', 'InputStatus', 'OutputStatus', 'StopReason' ] class PrimaryStatus: QUEUING_CHECKS = "QUEUING_CHECKS" # one of checks tasks has been started CHECKING = "CHECKING" # when all first level tasks has been finished CHECKS_FINISHED = "CHECKS_FINISHED" ...
29.087302
93
0.754434
419
3,665
6.162291
0.236277
0.021689
0.009295
0.013943
0.216112
0.173122
0.144462
0.078621
0.02866
0
0
0.009771
0.190177
3,665
125
94
29.32
0.860175
0.277763
0
0
0
0
0.357334
0.169284
0
0
0
0
0
1
0
false
0
0
0
0.894737
0
0
0
0
null
0
0
0
0
0
0
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
eac32d083970739656286aa8eca61ca6a375f845
1,310
py
Python
apps/users/urls.py
lorenz-bienek/drf-saas-starter
8377de9e452dcb929abde798e0383f6bdeaf9f2f
[ "BSD-3-Clause" ]
9
2017-11-03T14:44:43.000Z
2019-06-06T21:03:16.000Z
apps/users/urls.py
lorenz-bienek/drf-saas-starter
8377de9e452dcb929abde798e0383f6bdeaf9f2f
[ "BSD-3-Clause" ]
1
2017-08-02T15:52:01.000Z
2019-08-13T22:48:25.000Z
apps/users/urls.py
lorenz-bienek/drf-saas-starter
8377de9e452dcb929abde798e0383f6bdeaf9f2f
[ "BSD-3-Clause" ]
3
2017-08-01T10:27:01.000Z
2018-07-26T16:07:07.000Z
from rest_framework.routers import DefaultRouter from django.conf.urls import include, url from .views import UserViewSet app_name = 'apps.users' # # Here the comments and activity is added manually by including them under the detail view. # # urlpatterns = [ # # url( # regex=r'^$', # view=UserV...
26.2
93
0.524427
134
1,310
5.074627
0.477612
0.047059
0.052941
0.123529
0.252941
0.182353
0.097059
0.097059
0
0
0
0
0.325191
1,310
49
94
26.734694
0.769231
0.762595
0
0
0
0
0.03663
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eac5b575d227205d6a35215c8668d31251976782
1,389
py
Python
hardhat/recipes/freefont.py
stangelandcl/hardhat
1ad0c5dec16728c0243023acb9594f435ef18f9c
[ "MIT" ]
null
null
null
hardhat/recipes/freefont.py
stangelandcl/hardhat
1ad0c5dec16728c0243023acb9594f435ef18f9c
[ "MIT" ]
null
null
null
hardhat/recipes/freefont.py
stangelandcl/hardhat
1ad0c5dec16728c0243023acb9594f435ef18f9c
[ "MIT" ]
null
null
null
import os from .base import GnuRecipe class FreeFontRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(FreeFontRecipe, self).__init__(*args, **kwargs) self.sha256 = '7c85baf1bf82a1a1845d1322112bc6ca' \ '982221b484e3b3925022e25b5cae89af' self.depends = ['fo...
36.552632
75
0.564435
143
1,389
5.34965
0.398601
0.101961
0.028758
0.049673
0.08366
0.08366
0.08366
0
0
0
0
0.058704
0.288697
1,389
37
76
37.540541
0.715587
0
0
0.068966
0
0
0.215263
0.12239
0
0
0
0
0
1
0.172414
false
0.068966
0.068966
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
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
eac5ea7c446b8e4e014e794f664dff87c12ab8bf
6,475
py
Python
python/src/model/structure.py
LaudateCorpus1/scalu
5b36348e177a566cf9ea52ab402f6668d3d25948
[ "MIT" ]
null
null
null
python/src/model/structure.py
LaudateCorpus1/scalu
5b36348e177a566cf9ea52ab402f6668d3d25948
[ "MIT" ]
1
2021-08-28T02:25:54.000Z
2021-08-28T02:25:54.000Z
python/src/model/structure.py
LaudateCorpus1/scalu
5b36348e177a566cf9ea52ab402f6668d3d25948
[ "MIT" ]
null
null
null
import src.frontend.utility.utility as utility import src.model.universe as universe class rd_obj(): def __init__(self): self.name = '' self.declared = False def declaration_collision(self): pass class rd_list(list): def setup(self, obj_constructor): self.obj_constructor = obj_constructor return sel...
23.805147
175
0.711197
934
6,475
4.682013
0.122056
0.045735
0.045278
0.065401
0.397668
0.295449
0.276927
0.269609
0.238966
0.216556
0
0.001308
0.173591
6,475
271
176
23.892989
0.815922
0
0
0.308458
0
0
0.089435
0
0
0
0
0
0
1
0.228856
false
0.004975
0.00995
0.064677
0.442786
0
0
0
0
null
0
0
0
0
0
0
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
eac71ea28db4f3a53952f7fd2607e2a074b34474
866
py
Python
get_attribute.py
jalexvig/python_learn
de7319848b0629153261a3451d30847564fb69e6
[ "MIT" ]
null
null
null
get_attribute.py
jalexvig/python_learn
de7319848b0629153261a3451d30847564fb69e6
[ "MIT" ]
null
null
null
get_attribute.py
jalexvig/python_learn
de7319848b0629153261a3451d30847564fb69e6
[ "MIT" ]
null
null
null
# __getattr__ is not implemented by default # __getattribute__ run for every attribute access (w/o looking at attributes on object) # __getattr__ only run when attribute not found in normal ways class Foo(object): def __getattribute__(self, item): print('Foo called __getattribute__ on {0}'.format(item)) ...
29.862069
87
0.674365
109
866
4.733945
0.394495
0.062016
0.100775
0.100775
0.631783
0.5
0.5
0.5
0.5
0.5
0
0.007353
0.214781
866
29
88
29.862069
0.751471
0.226328
0
0.470588
0
0
0.201201
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.588235
0.235294
0
0
0
null
0
0
0
0
0
0
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
eacc88aa3720e58ab839b06f10fd183eb6b9c9e2
390
py
Python
blog/migrations/0004_auto_20200301_1133.py
satyamtiwari1004/incognito-beta
b0e2200b425dfe11e219bff8b4952acc9cc90c69
[ "MIT" ]
null
null
null
blog/migrations/0004_auto_20200301_1133.py
satyamtiwari1004/incognito-beta
b0e2200b425dfe11e219bff8b4952acc9cc90c69
[ "MIT" ]
null
null
null
blog/migrations/0004_auto_20200301_1133.py
satyamtiwari1004/incognito-beta
b0e2200b425dfe11e219bff8b4952acc9cc90c69
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-03-01 06:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0003_auto_20090101_0253'), ] operations = [ migrations.AlterField( model_name='blogpost', name='timestamp', ...
20.526316
54
0.605128
41
390
5.634146
0.804878
0
0
0
0
0
0
0
0
0
0
0.107527
0.284615
390
18
55
21.666667
0.72043
0.110256
0
0
1
0
0.127536
0.066667
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
eaccb930eb42a903b680a3e431e64e684ec1cfba
4,277
py
Python
estimate_pass_test.py
FootBrawlers/Passing_Algo
5341168dc12f7c4cb254a0a4901de7c3766cc823
[ "MIT" ]
1
2020-01-16T13:19:19.000Z
2020-01-16T13:19:19.000Z
estimate_pass_test.py
FootBrawlers/Passing_Algo
5341168dc12f7c4cb254a0a4901de7c3766cc823
[ "MIT" ]
null
null
null
estimate_pass_test.py
FootBrawlers/Passing_Algo
5341168dc12f7c4cb254a0a4901de7c3766cc823
[ "MIT" ]
1
2020-01-09T21:04:30.000Z
2020-01-09T21:04:30.000Z
# --------- This script will estimate the best coordinate to pass the ball, if any. ---------------- # here, we are defining some constraints based on field dimensions maximum_pass_length = 700 ellipse_width_opp_check =40 # 'b'-parameter and 'a' will be (distance between points)*1.5 threshold=ellipse_width_opp_check...
29.909091
141
0.570493
695
4,277
3.358273
0.220144
0.051414
0.068552
0.059983
0.376607
0.291774
0.207798
0.156384
0.086547
0.086547
0
0.053976
0.267945
4,277
142
142
30.119718
0.691472
0.193126
0
0.255102
0
0
0.032472
0
0
0
0
0
0
1
0.102041
false
0.122449
0.010204
0.010204
0.295918
0.081633
0
0
0
null
0
0
0
0
0
0
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
ead1425e9b83cae7c4279d338d0a7caa8e84ec59
444
py
Python
talentmap_api/position/migrations/0023_positionbidstatistics_has_handshake_accepted.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
5
2018-08-09T18:51:12.000Z
2021-11-08T10:28:17.000Z
talentmap_api/position/migrations/0023_positionbidstatistics_has_handshake_accepted.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
13
2019-01-11T18:19:33.000Z
2021-03-22T17:15:17.000Z
talentmap_api/position/migrations/0023_positionbidstatistics_has_handshake_accepted.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
4
2018-06-13T14:49:27.000Z
2021-06-30T22:29:15.000Z
# Generated by Django 2.0.4 on 2019-03-11 18:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('position', '0022_positionbidstatistics_has_handshake_offered'), ] operations = [ migrations.AddField( model_name='positionbidsta...
23.368421
73
0.650901
44
444
6.409091
0.795455
0.085106
0
0
0
0
0
0
0
0
0
0.057057
0.25
444
18
74
24.666667
0.78979
0.101351
0
0
1
0
0.24937
0.229219
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
ead5920dc15eee9800dbcb35b7705562721ffc53
697
py
Python
tests/main_test.py
NaveenKumarGorantla/cs5293sp21-project0
2b39fb9ae0cdb898dd7b62592d40b33c2ed90879
[ "MIT" ]
null
null
null
tests/main_test.py
NaveenKumarGorantla/cs5293sp21-project0
2b39fb9ae0cdb898dd7b62592d40b33c2ed90879
[ "MIT" ]
null
null
null
tests/main_test.py
NaveenKumarGorantla/cs5293sp21-project0
2b39fb9ae0cdb898dd7b62592d40b33c2ed90879
[ "MIT" ]
null
null
null
import pytest #from project0 import project0 from project0 import main def test_fetchincidents(): url = "https://www.normanok.gov/sites/default/files/documents/2021-03/2021-03-03_daily_incident_summary.pdf" data = main.fetchincidents(url) assert type(data) == bytes def test_extractincidents(): url = ...
33.190476
112
0.736011
92
697
5.456522
0.391304
0.069721
0.071713
0.075697
0.438247
0.438247
0.438247
0.438247
0.438247
0.438247
0
0.052189
0.147776
697
20
113
34.85
0.792929
0.041607
0
0.333333
0
0.111111
0.316342
0
0
0
0
0
0.277778
1
0.277778
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
eadb40c8ae2be221381bcd98dde67e89f30f2be1
408
py
Python
utils.py
existme/har-to-seq
1fe5f55ace1c414d0b2e2beabd40128fe4aa91f5
[ "Apache-2.0" ]
null
null
null
utils.py
existme/har-to-seq
1fe5f55ace1c414d0b2e2beabd40128fe4aa91f5
[ "Apache-2.0" ]
1
2021-11-01T07:55:53.000Z
2021-11-01T07:56:12.000Z
utils.py
existme/har-to-seq
1fe5f55ace1c414d0b2e2beabd40128fe4aa91f5
[ "Apache-2.0" ]
null
null
null
import json def read_json_file(filename): f = open(filename, 'r') data = json.load(f) f.close() return data def find_nth(haystack, needle, n): start = haystack.find(needle) while start >= 0 and n > 1: start = haystack.find(needle, start + len(needle)) n -= 1 return start ...
18.545455
58
0.607843
62
408
3.870968
0.467742
0.058333
0.141667
0.191667
0
0
0
0
0
0
0
0.016611
0.262255
408
21
59
19.428571
0.780731
0
0
0
0
0
0.004902
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.466667
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
eae3c4f136f9711d1d3e928bd7bb1729f85460d1
5,109
py
Python
ros/src/waypoint_updater/waypoint_updater.py
dayuwater/CarND-Capstone
a1ebe607c529bd95e99c722b49a2b760ab44e5f4
[ "MIT" ]
null
null
null
ros/src/waypoint_updater/waypoint_updater.py
dayuwater/CarND-Capstone
a1ebe607c529bd95e99c722b49a2b760ab44e5f4
[ "MIT" ]
null
null
null
ros/src/waypoint_updater/waypoint_updater.py
dayuwater/CarND-Capstone
a1ebe607c529bd95e99c722b49a2b760ab44e5f4
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from geometry_msgs.msg import PoseStamped from styx_msgs.msg import Lane, Waypoint from std_msgs.msg import Header import math # import a helper module for waypoint updater import helper ''' This node will publish waypoints from the car's current position to some `x` distance ahea...
28.383333
132
0.645136
671
5,109
4.791356
0.318927
0.044479
0.018663
0.027372
0.065319
0.042302
0.027372
0.027372
0
0
0
0.008859
0.270895
5,109
179
133
28.541899
0.854228
0.261891
0
0.027778
0
0
0.048684
0
0
0
0
0.022346
0
1
0.111111
false
0.027778
0.083333
0.013889
0.236111
0
0
0
0
null
0
0
0
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
eae66e00fa6a0b84b816ddec08ca9071a2cf007d
591
py
Python
prodavnica/migrations/0007_auto_20170811_0044.py
astanic1/novi
44dfed18325a35475f02e7f97b3e933b27501435
[ "MIT" ]
null
null
null
prodavnica/migrations/0007_auto_20170811_0044.py
astanic1/novi
44dfed18325a35475f02e7f97b3e933b27501435
[ "MIT" ]
null
null
null
prodavnica/migrations/0007_auto_20170811_0044.py
astanic1/novi
44dfed18325a35475f02e7f97b3e933b27501435
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-10 22:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('prodavnica', '0006_slika'), ] operations = [ migrations.RemoveField( ...
23.64
100
0.588832
62
591
5.451613
0.758065
0.079882
0.08284
0.106509
0
0
0
0
0
0
0
0.056338
0.279188
591
24
101
24.625
0.737089
0.115059
0
0.235294
1
0
0.157692
0.075
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eaedeb9e13ee6cf310368a5b91fe29c6759931d1
345
py
Python
normbench/testing/test_pyScTransform.py
normjam/benchmark
1b12b31bd2c7088118841b30befe246bb636c255
[ "MIT" ]
18
2019-11-20T15:27:39.000Z
2022-02-17T01:48:12.000Z
normbench/testing/test_pyScTransform.py
normjam/benchmark
1b12b31bd2c7088118841b30befe246bb636c255
[ "MIT" ]
4
2019-11-28T22:32:48.000Z
2021-06-22T16:08:24.000Z
normbench/testing/test_pyScTransform.py
normjam/benchmark
1b12b31bd2c7088118841b30befe246bb636c255
[ "MIT" ]
2
2021-03-19T23:01:16.000Z
2021-04-10T06:32:00.000Z
import numpy as np from normbench.methods import ad2seurat as a2s from normbench.methods.data import pbmc3k def test_pyScTransform(): adata = pbmc3k() a2s.pyScTransform(adata) # Test that it runs assert 'normalized' in adata.layers # Test functionality assert np.isclose(adata.layers['normali...
23
67
0.727536
46
345
5.434783
0.565217
0.104
0.16
0
0
0
0
0
0
0
0
0.056738
0.182609
345
14
68
24.642857
0.829787
0.104348
0
0
0
0
0.065359
0
0
0
0
0
0.25
1
0.125
false
0
0.375
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
eaf1a18bb2196ba95ef2277313ce5617064d287b
2,686
py
Python
Week 3/source.py
SoloSynth1/data-visualization
2ffd52cee17a79b460953cf0b27854f30110cf62
[ "Apache-2.0" ]
null
null
null
Week 3/source.py
SoloSynth1/data-visualization
2ffd52cee17a79b460953cf0b27854f30110cf62
[ "Apache-2.0" ]
null
null
null
Week 3/source.py
SoloSynth1/data-visualization
2ffd52cee17a79b460953cf0b27854f30110cf62
[ "Apache-2.0" ]
null
null
null
# Use the following data for this assignment: %matplotlib notebook import matplotlib.pyplot as plt import pandas as pd import numpy as np import scipy.stats as stats def get_df(seed_no, index): np.random.seed(seed_no) df = pd.DataFrame([np.random.normal(32000,200000,3650), ...
28.574468
98
0.571482
394
2,686
3.796954
0.383249
0.028075
0.037433
0.036096
0.045455
0.025401
0
0
0
0
0
0.073132
0.297468
2,686
94
99
28.574468
0.719661
0.132167
0
0.09375
0
0
0.057848
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eaf753c865370e7927553e7cab5fa57effdb1c2f
1,523
py
Python
resippy/photogrammetry/dem/dem_factory.py
BeamIO-Inc/resippy
37f6b8e865f4836696a9db0a4b17eae2426cdd96
[ "BSD-3-Clause" ]
11
2019-03-30T02:32:13.000Z
2021-11-02T23:15:17.000Z
resippy/photogrammetry/dem/dem_factory.py
BeamIO-Inc/resippy
37f6b8e865f4836696a9db0a4b17eae2426cdd96
[ "BSD-3-Clause" ]
10
2019-02-28T21:24:01.000Z
2019-12-31T15:02:03.000Z
resippy/photogrammetry/dem/dem_factory.py
BeamIO-Inc/resippy
37f6b8e865f4836696a9db0a4b17eae2426cdd96
[ "BSD-3-Clause" ]
4
2019-08-16T22:20:23.000Z
2021-04-27T08:23:01.000Z
from __future__ import division from resippy.image_objects.earth_overhead.geotiff.geotiff_image_factory import GeotiffImageFactory from resippy.photogrammetry.dem.geotiff_dem import GeotiffDem from resippy.photogrammetry.dem.constant_elevation_dem import ConstantElevationDem class DemFactory: @staticmethod d...
42.305556
98
0.67564
161
1,523
6.136646
0.42236
0.048583
0.033401
0.05668
0.052632
0
0
0
0
0
0
0.000877
0.251477
1,523
35
99
43.514286
0.865789
0.170059
0
0.142857
0
0
0.066986
0
0
0
0
0.028571
0
1
0.071429
false
0
0.142857
0.035714
0.321429
0
0
0
0
null
0
0
0
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
eafb44ef8ad76aa6ddc59fa39bc2fc138136a8b1
8,739
py
Python
pyspec/mockobject.py
jyotijaya/pyspec
ae7a4de39beb3cf2e0838b6c3a9ef73d082445eb
[ "MIT" ]
1
2016-05-08T06:29:49.000Z
2016-05-08T06:29:49.000Z
pyspec/mockobject.py
jyotijaya/pyspec
ae7a4de39beb3cf2e0838b6c3a9ef73d082445eb
[ "MIT" ]
null
null
null
pyspec/mockobject.py
jyotijaya/pyspec
ae7a4de39beb3cf2e0838b6c3a9ef73d082445eb
[ "MIT" ]
4
2015-04-15T16:53:52.000Z
2021-02-09T10:25:22.000Z
# -*- coding: ascii -*- """PySpec mock objects """ __pyspec = 1 import pyspec import copy from util import create_method_repr from pyspec.embedded import config class MockResult(object): def __init__(self, parent_method): self.parent = parent_method def result(self, result_value): self.pare...
33.102273
124
0.55361
943
8,739
4.879109
0.164369
0.024343
0.023908
0.018474
0.211476
0.168876
0.133667
0.099109
0.099109
0.077374
0
0.003635
0.33894
8,739
263
125
33.228137
0.792799
0.002403
0
0.237443
0
0
0.091024
0
0
0
0
0
0.050228
0
null
null
0
0.022831
null
null
0.073059
0
0
0
null
0
0
0
0
0
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
eafea730199db135d4b8dbdfef5829ceac0a1a7e
481
py
Python
socket_client.py
KhalilWong/AIO
f8fe1f7051be3b051eac072e71112b56886a2001
[ "MIT" ]
null
null
null
socket_client.py
KhalilWong/AIO
f8fe1f7051be3b051eac072e71112b56886a2001
[ "MIT" ]
null
null
null
socket_client.py
KhalilWong/AIO
f8fe1f7051be3b051eac072e71112b56886a2001
[ "MIT" ]
null
null
null
import asyncio import time ################################################################################ async def main(): reader, writer = await asyncio.open_connection( '127.0.0.1', 8888 ) while not reader.at_eof(): data = await reader.readline() print('[{}] Received: {}'.format...
34.357143
80
0.405405
40
481
4.625
0.725
0
0
0
0
0
0
0
0
0
0
0.02451
0.151767
481
13
81
37
0.428922
0
0
0
0
0
0.11215
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d807a902d1b2054f91393c6ac800c3b0beabea64
1,681
py
Python
lib/ControlFile.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/ControlFile.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/ControlFile.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
# BSD Licence # Copyright (c) 2012, Science & Technology Facilities Council (STFC) # All rights reserved. # # See the LICENSE file in the source distribution of this software for # the full license text. from AbstractControlFile import * class ControlFile(AbstractControlFile): """ Simple class to read/write ...
25.469697
71
0.638311
209
1,681
4.956938
0.483254
0.03861
0.054054
0.069498
0.052124
0
0
0
0
0
0
0.023219
0.25699
1,681
65
72
25.861538
0.806245
0.113623
0
0
0
0
0.115114
0.040422
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d80ad20e27866dfa148d187a83f89658e1069085
850
py
Python
src/apps/core/models/publication_model.py
zhiyuli/HydroLearn
b2c2b44e49d37391149d0896ce5124e882f22ee3
[ "BSD-3-Clause" ]
null
null
null
src/apps/core/models/publication_model.py
zhiyuli/HydroLearn
b2c2b44e49d37391149d0896ce5124e882f22ee3
[ "BSD-3-Clause" ]
null
null
null
src/apps/core/models/publication_model.py
zhiyuli/HydroLearn
b2c2b44e49d37391149d0896ce5124e882f22ee3
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from src.apps.core.models.module_models import Module class Publication(models.Model): class Meta: app_label = 'core' verbose_name_plural = 'Publications' # map to a user and a module # user = models.ForeignKey(User, null=False, blank=False, related_name='shar...
30.357143
95
0.725882
111
850
5.423423
0.432432
0.106312
0.069767
0.094684
0.242525
0.242525
0.242525
0.172757
0.172757
0
0
0
0.176471
850
27
96
31.481481
0.86
0.351765
0
0.166667
0
0
0.073529
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
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
d80baca1c7e999a8d281fb30c9467ed57d5e7b83
3,156
py
Python
tests/linux_benchmarks/beam_integration_benchmark_test.py
robfrut135/PerfKitBenchmarker
ccaf81b47ed5e3f27065e8f8d9fc42d071bfc22c
[ "Apache-2.0" ]
3
2018-04-28T13:06:14.000Z
2020-06-09T02:39:44.000Z
tests/linux_benchmarks/beam_integration_benchmark_test.py
robfrut135/PerfKitBenchmarker
ccaf81b47ed5e3f27065e8f8d9fc42d071bfc22c
[ "Apache-2.0" ]
1
2021-03-26T00:41:05.000Z
2021-03-26T00:41:05.000Z
tests/linux_benchmarks/beam_integration_benchmark_test.py
robfrut135/PerfKitBenchmarker
ccaf81b47ed5e3f27065e8f8d9fc42d071bfc22c
[ "Apache-2.0" ]
6
2019-06-11T18:59:57.000Z
2021-03-02T19:14:42.000Z
# Copyright 2014 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
35.460674
80
0.595057
281
3,156
6.505338
0.423488
0.032823
0.062363
0.070022
0.243982
0.243982
0.243982
0.157549
0.087527
0.087527
0
0.003469
0.269328
3,156
88
81
35.863636
0.789245
0.197085
0
0.183333
0
0
0.153021
0.015103
0
0
0
0
0.066667
1
0.083333
false
0.066667
0.033333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
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
d80c986d964b1fecaae814e5dbadeb902c87dfe7
501
py
Python
Config/Defaults.py
jeroanan/Gyroscope
105226741ecf57298988d96ff69f3f4f0037da60
[ "MIT" ]
1
2016-09-25T11:18:25.000Z
2016-09-25T11:18:25.000Z
Config/Defaults.py
jeroanan/Gyroscope
105226741ecf57298988d96ff69f3f4f0037da60
[ "MIT" ]
10
2015-01-27T22:15:22.000Z
2015-01-30T11:00:05.000Z
Config/Defaults.py
jeroanan/Gyroscope
105226741ecf57298988d96ff69f3f4f0037da60
[ "MIT" ]
null
null
null
def get_defaults(): return { "acceptable_size": 100, "acceptable_time": 3, "get_pages": True, "get_assets": True, "get_images": True, "get_scripts": True, "get_stylesheets": True, "give_second_chance": True, "logfile_location": "gyroscope.log",...
27.833333
44
0.528942
53
501
4.641509
0.641509
0.113821
0
0
0
0
0
0
0
0
0
0.017699
0.323353
501
18
45
27.833333
0.707965
0
0
0
0
0
0.414343
0
0
0
0
0
0
1
0.055556
true
0
0
0.055556
0.111111
0
0
0
0
null
0
0
0
0
0
0
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
d81077d8ade3c3078a8fde59aced0afd0c768a79
1,378
py
Python
parse.py
starswan/www-hertschess-com
9c20f4dedc1d4007a3c1326579a12f0c1ddff594
[ "Apache-2.0" ]
null
null
null
parse.py
starswan/www-hertschess-com
9c20f4dedc1d4007a3c1326579a12f0c1ddff594
[ "Apache-2.0" ]
null
null
null
parse.py
starswan/www-hertschess-com
9c20f4dedc1d4007a3c1326579a12f0c1ddff594
[ "Apache-2.0" ]
null
null
null
from utils import commaSep HEADER_TRANS = { 'TEAM':'Team Name', 'PLAYED':'P', 'WON':'W', 'DRAWN':'D', 'LOST':'L', 'GAMES':'For','POINTS':'Ps', 'POSITION':'Position', 'DIVISION':'Division'} def celldata(cells, division, index): if index == 1: return cells[index].findAll('a')[0].contents[0] + div...
28.708333
90
0.661103
191
1,378
4.623037
0.340314
0.124575
0.05436
0.064553
0.115515
0.115515
0.07701
0
0
0
0
0.018551
0.17852
1,378
47
91
29.319149
0.761484
0
0
0.105263
0
0
0.095065
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.105263
0
0
0
null
0
0
0
0
0
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
d812adb73775c00e5ec5e474708f4ddf3bf31461
1,486
py
Python
cli/src/pcluster/cli/commands/configure/command.py
maclema/aws-parallelcluster
ade6e5e76201ee43c6e222fcd1c2891aba938838
[ "Apache-2.0" ]
279
2015-01-02T12:03:58.000Z
2018-11-05T07:58:55.000Z
cli/src/pcluster/cli/commands/configure/command.py
maclema/aws-parallelcluster
ade6e5e76201ee43c6e222fcd1c2891aba938838
[ "Apache-2.0" ]
383
2015-01-04T18:52:06.000Z
2018-11-12T16:23:44.000Z
cli/src/pcluster/cli/commands/configure/command.py
maclema/aws-parallelcluster
ade6e5e76201ee43c6e222fcd1c2891aba938838
[ "Apache-2.0" ]
127
2015-01-25T23:51:28.000Z
2018-11-04T04:50:29.000Z
# Copyright 2013-2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the 'LICENSE.txt' file ...
38.102564
119
0.738896
198
1,486
5.484848
0.575758
0.055249
0.027624
0.042357
0
0
0
0
0
0
0
0.014563
0.168237
1,486
38
120
39.105263
0.864078
0.454913
0
0
0
0
0.131646
0
0
0
0
0
0
1
0.2
false
0
0.333333
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8178b3a774e19247d279f2e2e3d44cf1f3e1ec8
1,811
py
Python
orchestra/migrations/0002_auto_20141229_1543.py
ksbek/orchestra
07556717feb57efcf8fb29a1e2e98eebe2313b8c
[ "Apache-2.0" ]
null
null
null
orchestra/migrations/0002_auto_20141229_1543.py
ksbek/orchestra
07556717feb57efcf8fb29a1e2e98eebe2313b8c
[ "Apache-2.0" ]
null
null
null
orchestra/migrations/0002_auto_20141229_1543.py
ksbek/orchestra
07556717feb57efcf8fb29a1e2e98eebe2313b8c
[ "Apache-2.0" ]
1
2021-12-15T01:10:35.000Z
2021-12-15T01:10:35.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('orchestra', '0001_initial'), ] operations = [ migrations.AddField( model_name='task', ...
29.688525
82
0.559359
155
1,811
6.348387
0.348387
0.064024
0.152439
0.176829
0.484756
0.484756
0.484756
0.484756
0.484756
0.397358
0
0.004967
0.332965
1,811
60
83
30.183333
0.809603
0.011596
0
0.592593
0
0
0.118009
0.025727
0
0
0
0
0
1
0
false
0
0.055556
0
0.111111
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
d81e7f24d2918e5d7346da151db9145020cf8893
482
py
Python
app2/views.py
hazemnossier/multidb
4a40c84c37ffb309a8785ab60cea02239e62a735
[ "MIT" ]
null
null
null
app2/views.py
hazemnossier/multidb
4a40c84c37ffb309a8785ab60cea02239e62a735
[ "MIT" ]
null
null
null
app2/views.py
hazemnossier/multidb
4a40c84c37ffb309a8785ab60cea02239e62a735
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. from django.shortcuts import render from .forms import fill_me_form def fill_view2(request): if request.method == 'POST': print('watashi ga kitta 2 ') form = fill_me_form(request.POST) if form.is_valid(): data = fo...
22.952381
56
0.624481
63
482
4.634921
0.52381
0.061644
0.10274
0.171233
0.212329
0
0
0
0
0
0
0.008571
0.273859
482
20
57
24.1
0.825714
0.047718
0
0.142857
0
0
0.080963
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.357143
0.142857
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
d8372775ccfda0729ff5f835a455dfe7f4d21f11
11,474
py
Python
tests_basic/test_winstonlutz.py
alanphys/pylinac
9b2dabe85d3038a9ec922c77bbb943b4e06dbdda
[ "MIT" ]
null
null
null
tests_basic/test_winstonlutz.py
alanphys/pylinac
9b2dabe85d3038a9ec922c77bbb943b4e06dbdda
[ "MIT" ]
null
null
null
tests_basic/test_winstonlutz.py
alanphys/pylinac
9b2dabe85d3038a9ec922c77bbb943b4e06dbdda
[ "MIT" ]
null
null
null
import copy import io import os.path as osp import tempfile from unittest import TestCase import matplotlib.pyplot as plt import pylinac from pylinac import WinstonLutz from pylinac.winston_lutz import Axis, WinstonLutzResult from pylinac.core.geometry import Vector, vector_is_close from tests_basic.utils import save...
32.050279
213
0.681279
1,601
11,474
4.607745
0.152405
0.037007
0.020605
0.028331
0.527992
0.437441
0.326284
0.297275
0.27152
0.220686
0
0.027648
0.218233
11,474
357
214
32.140056
0.79476
0.048719
0
0.388889
0
0
0.041387
0.004231
0
0
0
0
0.111111
1
0.122222
false
0
0.040741
0
0.581481
0.022222
0
0
0
null
0
0
0
0
0
0
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
d837f686940f7641f27a834be4ed2703714e218b
372
py
Python
django_test/users/urls.py
sdfxisme/lesson21
52752fb4b4698bffcd8df9a562c473637b2dc3b7
[ "MIT" ]
null
null
null
django_test/users/urls.py
sdfxisme/lesson21
52752fb4b4698bffcd8df9a562c473637b2dc3b7
[ "MIT" ]
null
null
null
django_test/users/urls.py
sdfxisme/lesson21
52752fb4b4698bffcd8df9a562c473637b2dc3b7
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from . import views from django.contrib.auth.views import LogoutView app_name = 'users' urlpatterns = [ path('logout/', LogoutView.as_view(), name='logout'), path('login/', views.UserLoginView.as_view(), name='login'), path('register/',...
33.818182
71
0.725806
48
372
5.541667
0.458333
0.112782
0.112782
0
0
0
0
0
0
0
0
0
0.120968
372
11
72
33.818182
0.813456
0
0
0
0
0
0.123324
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d839a6c2f75812318e4690290c28b0d5450750d1
484
py
Python
DyCommon/Ui/DyStatsDataFrameTableWidget.py
Leonardo-YXH/DevilYuan
aca5e3cbfa38257335da16ae40968626bc853dc3
[ "MIT" ]
135
2020-10-23T01:15:39.000Z
2022-03-29T08:39:15.000Z
DyCommon/Ui/DyStatsDataFrameTableWidget.py
Leonardo-YXH/DevilYuan
aca5e3cbfa38257335da16ae40968626bc853dc3
[ "MIT" ]
1
2019-01-16T03:32:20.000Z
2019-01-16T03:32:20.000Z
DyCommon/Ui/DyStatsDataFrameTableWidget.py
Leonardo-YXH/DevilYuan
aca5e3cbfa38257335da16ae40968626bc853dc3
[ "MIT" ]
64
2020-10-23T01:15:49.000Z
2022-03-20T10:15:59.000Z
from PyQt5 import QtCore import pandas as pd from DyCommon.Ui.DyStatsTableWidget import * class DyStatsDataFrameTableWidget(DyStatsTableWidget): """ 只显示DF的列,index需要用户自己转换成列 """ def __init__(self, df, parent=None): super().__init__(parent=parent, readOnly=True, index=False, floatCut=True,...
24.2
100
0.696281
53
484
6.169811
0.641509
0.036697
0
0
0
0
0
0
0
0
0
0.002564
0.194215
484
19
101
25.473684
0.835897
0.047521
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.3
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
d839bcd8d78759d0326ac72a8dbfaf9c400a259d
368
py
Python
gesund_projekt/xps/migrations/0002_xp_datestamp.py
asis2016/gesund-projekt
cb3828b69cd6a86deeab16943e38b6ebffd86abb
[ "MIT" ]
null
null
null
gesund_projekt/xps/migrations/0002_xp_datestamp.py
asis2016/gesund-projekt
cb3828b69cd6a86deeab16943e38b6ebffd86abb
[ "MIT" ]
null
null
null
gesund_projekt/xps/migrations/0002_xp_datestamp.py
asis2016/gesund-projekt
cb3828b69cd6a86deeab16943e38b6ebffd86abb
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-06-05 06:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('xps', '0001_initial'), ] operations = [ migrations.AddField( model_name='xp', name='datestamp', field=mo...
19.368421
50
0.578804
40
368
5.25
0.825
0
0
0
0
0
0
0
0
0
0
0.07393
0.30163
368
18
51
20.444444
0.743191
0.122283
0
0
1
0
0.080997
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc1dedd58a0d3b663bcbb1c048cc5cfeb88aa19c
991
py
Python
sw/groundstation/groundstation.py
nzjrs/wasp
b763309af59e7784811baa6dd80e17dba1b27d81
[ "MIT" ]
2
2021-07-11T13:47:17.000Z
2021-11-08T11:21:51.000Z
sw/groundstation/groundstation.py
nzjrs/wasp
b763309af59e7784811baa6dd80e17dba1b27d81
[ "MIT" ]
null
null
null
sw/groundstation/groundstation.py
nzjrs/wasp
b763309af59e7784811baa6dd80e17dba1b27d81
[ "MIT" ]
2
2015-10-03T06:24:07.000Z
2016-01-21T11:36:20.000Z
#!/usr/bin/env python import sys import os.path import logging import optparse if os.name == "posix": stream = sys.stderr else: #when running from py2exe, if anything is printed to stderr #then the app shows an annoying dialog when closed stream = sys.stdout logging.basicConfig( level=logging.DEBU...
24.775
82
0.683148
137
991
4.788321
0.554745
0.036585
0.018293
0.039634
0.115854
0.115854
0.115854
0.115854
0.115854
0.115854
0
0.007614
0.204844
991
39
83
25.410256
0.824873
0.165489
0
0.2
0
0.033333
0.09842
0.066829
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
dc2be39d6d5159ea0d8212cd5dfb111b73e3be1e
1,900
py
Python
pennylane/transforms/classical_jacobian.py
aglitoiu/pennylane
fd99be754d55bbb919aadbbbdff70e40fbe3bcbf
[ "Apache-2.0" ]
null
null
null
pennylane/transforms/classical_jacobian.py
aglitoiu/pennylane
fd99be754d55bbb919aadbbbdff70e40fbe3bcbf
[ "Apache-2.0" ]
null
null
null
pennylane/transforms/classical_jacobian.py
aglitoiu/pennylane
fd99be754d55bbb919aadbbbdff70e40fbe3bcbf
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2021 Xanadu Quantum Technologies 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 applicabl...
32.758621
85
0.67
229
1,900
5.502183
0.489083
0.047619
0.050794
0.025397
0.073016
0.073016
0
0
0
0
0
0.008415
0.249474
1,900
57
86
33.333333
0.875175
0.433684
0
0.173913
0
0
0.018405
0
0
0
0
0
0
1
0.173913
false
0
0.173913
0.043478
0.652174
0
0
0
0
null
0
0
0
0
0
0
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
dc2c73331a8f5d0f2100ceec5e240654f390250d
2,819
py
Python
ipynb/matter/py-server/save-data-on-site.py
NeuPhysics/codebase
e1c12aa0d63117317b95cc7ec91527724edd1d62
[ "MIT" ]
null
null
null
ipynb/matter/py-server/save-data-on-site.py
NeuPhysics/codebase
e1c12aa0d63117317b95cc7ec91527724edd1d62
[ "MIT" ]
null
null
null
ipynb/matter/py-server/save-data-on-site.py
NeuPhysics/codebase
e1c12aa0d63117317b95cc7ec91527724edd1d62
[ "MIT" ]
1
2021-04-05T03:50:12.000Z
2021-04-05T03:50:12.000Z
import numpy as np from scipy.integrate import odeint from scipy.integrate import ode import matplotlib.pylab as plt import csv import time endpoint = 1000000000; # integration range dx = 10.0; # step size lam0 = 0.845258; # in unit of omegam, omegam = 3.66619*10^-17 dellam = np.array([0.00003588645221954444, 0.06486...
29.364583
526
0.645619
446
2,819
4.056054
0.327354
0.016584
0.043118
0.042012
0.262576
0.262576
0.262576
0.232725
0.232725
0.232725
0
0.081342
0.153955
2,819
95
527
29.673684
0.677149
0.297978
0
0
0
0
0.033453
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dc2da2dc34abeaebdfac6835eba5987e27ba101a
4,445
py
Python
autodcf/company/income_statement.py
jackmoody11/AutoDCF
932ea33282a4a2fe3f0d00fc262448cb0b65917c
[ "MIT" ]
14
2020-06-27T09:22:21.000Z
2022-03-16T11:56:03.000Z
autodcf/company/income_statement.py
jackmoody11/AutoDCF
932ea33282a4a2fe3f0d00fc262448cb0b65917c
[ "MIT" ]
1
2020-08-25T09:38:30.000Z
2021-01-06T12:34:20.000Z
autodcf/company/income_statement.py
jackmoody11/AutoDCF
932ea33282a4a2fe3f0d00fc262448cb0b65917c
[ "MIT" ]
1
2020-09-17T20:48:00.000Z
2020-09-17T20:48:00.000Z
import datetime def now(offset=0): """Utility for getting current time or current time minus offset number of years. Args: offset (int): Number of years to subtract from current year. Defaults to 0. Returns: date (datetime.datetime): Date offset from today by offset number of years (or t...
28.312102
112
0.601125
511
4,445
5.111546
0.189824
0.068913
0.061256
0.07657
0.188361
0.11026
0.035222
0
0
0
0
0.001622
0.306637
4,445
156
113
28.49359
0.845879
0.356355
0
0.126316
0
0
0.02651
0
0
0
0
0
0
1
0.242105
false
0
0.010526
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
1
0
0
0
0
0
0
0
1
dc32302f970a73353f28c5c07eacd05f67364c15
897
py
Python
app/migrations/0002_jobapplicants.py
AyazSaiyed/Yudibot
abb944d75651530f4005a423cdb858c5827acac1
[ "MIT" ]
null
null
null
app/migrations/0002_jobapplicants.py
AyazSaiyed/Yudibot
abb944d75651530f4005a423cdb858c5827acac1
[ "MIT" ]
null
null
null
app/migrations/0002_jobapplicants.py
AyazSaiyed/Yudibot
abb944d75651530f4005a423cdb858c5827acac1
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2021-01-13 10:21 from django.db import migrations, models import django.utils.timezone import uuid class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='JobApplicants', ...
32.035714
97
0.58194
85
897
6.082353
0.635294
0.116054
0.170213
0.096712
0.131528
0.131528
0
0
0
0
0
0.044479
0.273133
897
27
98
33.222222
0.748466
0.050167
0
0
1
0
0.096471
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc37f083b57af925d7e7bc68f6608f3cb8765f70
7,757
py
Python
bam2fastx/fasta.py
czbiohub/bam2fastx
0afa0f1f2c56cc76e3dd841213e1c4b579296f7e
[ "MIT" ]
null
null
null
bam2fastx/fasta.py
czbiohub/bam2fastx
0afa0f1f2c56cc76e3dd841213e1c4b579296f7e
[ "MIT" ]
null
null
null
bam2fastx/fasta.py
czbiohub/bam2fastx
0afa0f1f2c56cc76e3dd841213e1c4b579296f7e
[ "MIT" ]
null
null
null
# Import modified 'os' module with LC_LANG set so click doesn't complain from .os_utils import os # noqa: F401 from collections import defaultdict import click DELIMITER = "X" FASTA_PREFIX = "aligned_sequences" CELL_BARCODE = 'CB' UMI = 'UB' BAM_FILENAME = 'possorted_genome_bam.bam' BARCODES_TSV = 'barcodes.tsv' ...
33.435345
79
0.654763
976
7,757
4.989754
0.194672
0.040657
0.020534
0.028747
0.291992
0.265503
0.232854
0.195893
0.195893
0.164682
0
0.004871
0.258992
7,757
231
80
33.580087
0.84238
0.237979
0
0.211864
0
0
0.110527
0.016465
0
0
0
0
0.008475
1
0.084746
false
0.050847
0.033898
0
0.186441
0
0
0
0
null
0
0
0
0
0
0
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
dc3c03006faf261b555b0917e1b31158b7eb8d17
3,017
py
Python
django_cradmin/viewhelpers/formview/createview.py
appressoas/django_cradmin
0f8715afdfe1ad32e46033f442e622aecf6a4dec
[ "BSD-3-Clause" ]
11
2015-07-05T16:57:58.000Z
2020-11-24T16:58:19.000Z
django_cradmin/viewhelpers/formview/createview.py
appressoas/django_cradmin
0f8715afdfe1ad32e46033f442e622aecf6a4dec
[ "BSD-3-Clause" ]
91
2015-01-08T22:38:13.000Z
2022-02-10T10:25:27.000Z
django_cradmin/viewhelpers/formview/createview.py
appressoas/django_cradmin
0f8715afdfe1ad32e46033f442e622aecf6a4dec
[ "BSD-3-Clause" ]
3
2016-12-07T12:19:24.000Z
2018-10-03T14:04:18.000Z
import urllib.parse from django.utils.translation import gettext_lazy from django.views.generic import CreateView as DjangoCreateView from django_cradmin import javascriptregistry from django_cradmin.viewhelpers.mixins import CommonCradminViewMixin from . import create_update_view_mixin class CreateViewMixin(create...
35.494118
96
0.667219
356
3,017
5.466292
0.317416
0.030832
0.034943
0.035457
0.223022
0.202467
0.171634
0.171634
0.171634
0.171634
0
0
0.23467
3,017
84
97
35.916667
0.842789
0.352005
0
0
0
0
0.090441
0.040641
0
0
0
0
0
1
0.16129
false
0
0.193548
0
0.645161
0
0
0
0
null
0
0
0
0
0
0
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
dc4ba970916e2a31ff27bbef13aadb9c5a9da83b
557
py
Python
yoapi/models/status.py
YoApp/yo-api
a162e51804ab91724cc7ad3e7608410329da6789
[ "MIT" ]
1
2021-12-17T03:25:34.000Z
2021-12-17T03:25:34.000Z
yoapi/models/status.py
YoApp/yo-api
a162e51804ab91724cc7ad3e7608410329da6789
[ "MIT" ]
null
null
null
yoapi/models/status.py
YoApp/yo-api
a162e51804ab91724cc7ad3e7608410329da6789
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Status model""" from flask_mongoengine import Document from mongoengine import StringField from .helpers import DocumentMixin, ReferenceField from yoapi.models import User class Status(DocumentMixin, Document): meta = {'collection': 'status', 'indexes': ['user'], ...
20.62963
50
0.637343
56
557
6.25
0.607143
0.097143
0
0
0
0
0
0
0
0
0
0.002392
0.249551
557
26
51
21.423077
0.834928
0.062837
0
0
0
0
0.110465
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
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
dc5d20cd4967a8727aade37d060f9ec655803f56
394
py
Python
investor_management/urls.py
BuildForSDG/Team-004-Backend
d0d0882d2d392edd8e47e07b234b0919db246773
[ "MIT" ]
2
2020-05-11T23:38:33.000Z
2020-05-26T22:35:45.000Z
investor_management/urls.py
BuildForSDG/Team-004-Backend
d0d0882d2d392edd8e47e07b234b0919db246773
[ "MIT" ]
35
2020-05-17T14:03:26.000Z
2021-06-10T19:20:22.000Z
investor_management/urls.py
BuildForSDG/Team-004-Backend
d0d0882d2d392edd8e47e07b234b0919db246773
[ "MIT" ]
3
2020-05-02T20:34:58.000Z
2020-06-07T13:52:49.000Z
from django.urls import path from rest_framework.routers import DefaultRouter from investor_management import views router = DefaultRouter() app_name = 'investor_management' urlpatterns = [ path('user/create/', views.CreateInvestorUserView.as_view(), name='investor_user_create'), path('user/manage/<int:id>...
26.266667
101
0.781726
47
394
6.340426
0.531915
0.120805
0.067114
0.120805
0.147651
0
0
0
0
0
0
0
0.104061
394
14
102
28.142857
0.844193
0
0
0
0
0
0.230964
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
dc5f2d30b2afcea969057d994b98589302c057b9
2,211
py
Python
nn_xor_relu_act.py
Hanumanth004/NN_XOR_implementation
9b7481fbda8cb02f05bd1aa61cc7fb97c8ad6826
[ "Unlicense" ]
null
null
null
nn_xor_relu_act.py
Hanumanth004/NN_XOR_implementation
9b7481fbda8cb02f05bd1aa61cc7fb97c8ad6826
[ "Unlicense" ]
null
null
null
nn_xor_relu_act.py
Hanumanth004/NN_XOR_implementation
9b7481fbda8cb02f05bd1aa61cc7fb97c8ad6826
[ "Unlicense" ]
null
null
null
import numpy as np from scipy.special import expit hidden_size=4 input_size=2 classes=1 X=np.array(([[0, 0],[0, 1],[1, 0],[1, 1]])) Wh=np.random.randn(hidden_size,input_size) bh=np.random.randn(hidden_size,1) Wo=np.random.randn(1,hidden_size) bo=np.random.randn(classes,1) T=np.array(([[0],[1],[1],[0]])) reg=1e-3 de...
18.579832
58
0.639077
438
2,211
3.180365
0.182648
0.012922
0.063173
0.03733
0.363245
0.296482
0.296482
0.296482
0.296482
0.296482
0
0.081731
0.153324
2,211
118
59
18.737288
0.662393
0.157395
0
0.16129
0
0
0.006468
0
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dc5fb0ad755055a6470088e4f1de6b40dc3cc276
903
py
Python
VisualizeApp/migrations/0001_initial.py
KnownAsNob/SOStimate
852ce9264013540af96bd95fdf6a072f35c7895c
[ "MIT" ]
null
null
null
VisualizeApp/migrations/0001_initial.py
KnownAsNob/SOStimate
852ce9264013540af96bd95fdf6a072f35c7895c
[ "MIT" ]
null
null
null
VisualizeApp/migrations/0001_initial.py
KnownAsNob/SOStimate
852ce9264013540af96bd95fdf6a072f35c7895c
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2020-01-26 01:22 import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Calls', fields=[ ...
29.129032
114
0.576966
89
903
5.775281
0.505618
0.075875
0.122568
0.157588
0.529183
0.466926
0.307393
0.307393
0.307393
0.307393
0
0.025039
0.292359
903
30
115
30.1
0.779343
0.047619
0
0.434783
1
0
0.040793
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.26087
0
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
dc653e10212b24be541f3b6fe9261ecbde9a1458
631
py
Python
Laelia/apps/meds/admin.py
arantesdv/LaeliaAppProject
93fca5393cb8406694903d9adde02067480c792e
[ "MIT" ]
null
null
null
Laelia/apps/meds/admin.py
arantesdv/LaeliaAppProject
93fca5393cb8406694903d9adde02067480c792e
[ "MIT" ]
null
null
null
Laelia/apps/meds/admin.py
arantesdv/LaeliaAppProject
93fca5393cb8406694903d9adde02067480c792e
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import ActiveCompound, CompoundSet, ComercialDrug, Prescription @admin.register(ActiveCompound) class ActiveCompoundAdmin(admin.ModelAdmin): search_fields = ['_search_names'] @admin.register(CompoundSet) class CompoundSetAdmin(admin.ModelAdmin): search_fields = ['act...
24.269231
76
0.808241
63
631
7.84127
0.428571
0.105263
0.12753
0.163968
0.153846
0.153846
0
0
0
0
0
0
0.088748
631
25
77
25.24
0.85913
0
0
0
0
0
0.138095
0.046032
0
0
0
0
0
1
0
false
0
0.133333
0
0.733333
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
dc6cd8d9336333c653b3d2b5b990ce5b064596d6
291
py
Python
setup.py
Einstein-Floripa/reply-card-corrector
b776ccb739d385f11a3f4288b90e9e018d7546f4
[ "MIT" ]
2
2018-04-25T17:01:12.000Z
2018-05-06T21:01:06.000Z
setup.py
Einstein-Floripa/reply-card-corrector
b776ccb739d385f11a3f4288b90e9e018d7546f4
[ "MIT" ]
1
2018-04-25T18:46:56.000Z
2018-06-07T01:52:26.000Z
setup.py
Einstein-Floripa/reply-card-corrector
b776ccb739d385f11a3f4288b90e9e018d7546f4
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='reply_card_corrector', version='0.1.0', packages=find_packages(), author='Thiago Sant Helena', author_email='thiago.sant.helena@gmail.com', license='MIT', install_requires=["opencv-python", "numpy"], )
19.4
48
0.683849
36
291
5.361111
0.75
0.124352
0.165803
0
0
0
0
0
0
0
0
0.012397
0.168385
291
14
49
20.785714
0.785124
0
0
0
0
0
0.316151
0.09622
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
dc7498040acbd27fc66f20d70ee58559785e3396
12,612
py
Python
miasmod_data_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
10
2015-06-13T17:27:18.000Z
2021-02-14T13:03:11.000Z
miasmod_data_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
2
2020-07-11T18:34:57.000Z
2021-03-07T02:27:46.000Z
miasmod_data_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
1
2016-03-23T22:26:23.000Z
2016-03-23T22:26:23.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'miasmod_data.ui' # # Created: Tue Apr 29 18:40:05 2014 # by: pyside-uic 0.2.15 running on PySide 1.2.1 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui class Ui_MiasmataData(object): def se...
61.223301
139
0.730415
1,348
12,612
6.715875
0.120178
0.067602
0.047719
0.065614
0.454435
0.27107
0.127472
0.072904
0.060974
0.060974
0
0.015632
0.158024
12,612
205
140
61.521951
0.836896
0.018078
0
0.03125
1
0
0.06998
0
0
0
0
0
0
1
0.010417
false
0
0.005208
0
0.020833
0
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
dc7a198ec69f9865f8b0b7e9c89335f4e5f9f8ee
4,832
py
Python
tests/test_features.py
ShayestehHS/jw_nx
94d767f85e0a839a3f8f707cb2cb9de1e17447f0
[ "MIT" ]
null
null
null
tests/test_features.py
ShayestehHS/jw_nx
94d767f85e0a839a3f8f707cb2cb9de1e17447f0
[ "MIT" ]
null
null
null
tests/test_features.py
ShayestehHS/jw_nx
94d767f85e0a839a3f8f707cb2cb9de1e17447f0
[ "MIT" ]
null
null
null
import datetime from datetime import timedelta from tests.base import * from jw_nx.tokens import AccessToken, RefreshToken from jw_nx.settings import api_settings class TestFeatures(BaseTest): def test_invalid_algorithm(self): """ Test setting invalid algorithm is raising error """ ac, re = self...
45.584906
119
0.708195
604
4,832
5.365894
0.18543
0.025918
0.060167
0.069423
0.605986
0.521753
0.361
0.294045
0.253317
0.253317
0
0.00847
0.193709
4,832
105
120
46.019048
0.823409
0.106995
0
0.27027
0
0
0.075176
0.022014
0
0
0
0
0.243243
1
0.081081
false
0.054054
0.067568
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
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
dc8640e74e18cd5ade720bf9c0143574f021ec58
17,731
py
Python
sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
42.828502
631
0.687891
2,115
17,731
5.406619
0.123877
0.014692
0.039178
0.073459
0.335112
0.203148
0.109139
0.072234
0.015741
0.015741
0
0.001307
0.223056
17,731
413
632
42.932203
0.82876
0.128081
0
0.113879
1
0
0.18798
0.040291
0
0
0
0
0
1
0.11032
false
0
0.021352
0.014235
0.245552
0
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
dc8e96e96124457acc75fa0ee5a649783745e752
1,688
py
Python
archive/Changesets/mbf-76446/Source/Tools/Python/BioIronPython/Web.py
jdm7dv/Microsoft-Biology-Foundation
4873300d957cb46694392c480301b319b55f58b8
[ "Apache-2.0" ]
null
null
null
archive/Changesets/mbf-76446/Source/Tools/Python/BioIronPython/Web.py
jdm7dv/Microsoft-Biology-Foundation
4873300d957cb46694392c480301b319b55f58b8
[ "Apache-2.0" ]
null
null
null
archive/Changesets/mbf-76446/Source/Tools/Python/BioIronPython/Web.py
jdm7dv/Microsoft-Biology-Foundation
4873300d957cb46694392c480301b319b55f58b8
[ "Apache-2.0" ]
null
null
null
# Copyright Microsoft Corporation. All rights reserved. import Util Util.add_biodotnet_reference("Bio") Util.add_biodotnet_reference("Bio.WebServiceHandlers") from Bio.Web import * from Bio.Web.Blast import * from System.IO import * _service = NCBIBlastHandler() _config_params = ConfigParameters() _config_params.UseB...
35.914894
99
0.749408
207
1,688
5.855072
0.405797
0.118812
0.09901
0.041254
0.288779
0.242574
0.242574
0.242574
0.242574
0.242574
0
0.006276
0.150474
1,688
47
100
35.914894
0.838912
0.031398
0
0.27027
0
0
0.115055
0.045288
0
0
0
0
0
0
null
null
0
0.108108
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1