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
f8e4ff719ddef9fba7b8dd249e69ea5804057eb6
569
py
Python
battlenet/community/wow/items.py
gerrue/python3-django-battlenet-oauth2
5db0422b23f63cd4aa7dcef442fb2b947c6ccf59
[ "MIT" ]
15
2015-01-04T18:13:07.000Z
2019-08-13T13:54:16.000Z
battlenet/community/wow/items.py
gerrue/python3-django-battlenet-oauth2
5db0422b23f63cd4aa7dcef442fb2b947c6ccf59
[ "MIT" ]
3
2015-09-23T19:29:19.000Z
2019-05-13T10:24:06.000Z
battlenet/community/wow/items.py
gerrue/python3-django-battlenet-oauth2
5db0422b23f63cd4aa7dcef442fb2b947c6ccf59
[ "MIT" ]
8
2015-03-18T10:46:23.000Z
2018-03-31T20:45:09.000Z
from battlenet.community import Community class Item(Community): ENDPOINT = '/wow/item/%s' error_text = 'Item ID required.' def __init__(self, *args, **kwargs): super(Item, self).__init__(*args, **kwargs) self.id = kwargs.get('id') def get(self, id=None): if id: s...
24.73913
57
0.586995
73
569
4.410959
0.424658
0.093168
0.093168
0
0
0
0
0
0
0
0
0
0.282953
569
23
58
24.73913
0.789216
0
0
0
0
0
0.110526
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
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
f8e6c493c6b49a4a6a18647736d30d5401ad58cc
1,756
py
Python
manhattan/backend/rollups.py
cartlogic/manhattan
069b5468baf3bc1f5faffe9bc90342254bad9a2d
[ "MIT" ]
1
2020-06-07T23:43:14.000Z
2020-06-07T23:43:14.000Z
manhattan/backend/rollups.py
cartlogic/manhattan
069b5468baf3bc1f5faffe9bc90342254bad9a2d
[ "MIT" ]
null
null
null
manhattan/backend/rollups.py
cartlogic/manhattan
069b5468baf3bc1f5faffe9bc90342254bad9a2d
[ "MIT" ]
1
2018-03-03T16:13:50.000Z
2018-03-03T16:13:50.000Z
from __future__ import absolute_import, division, print_function """ This module contains some example ``Rollup`` objects, each implementing the interface expected by the Manhattan backend for rollup aggregations. """ import time from datetime import datetime, timedelta import pytz class LocalRollup(object): d...
27.4375
77
0.67369
216
1,756
5.296296
0.416667
0.05507
0.041958
0.055944
0.253497
0.146853
0.146853
0
0
0
0
0.002242
0.238041
1,756
63
78
27.873016
0.852765
0.034169
0
0.102564
0
0
0.033074
0
0
0
0
0.015873
0
1
0.179487
false
0
0.102564
0.076923
0.666667
0.025641
0
0
0
null
0
0
0
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
f8e83186ecefc46aa717c630665377f412f32c7c
1,131
py
Python
app/__init__.py
GeorgeKinuthia77/blog
5fc811b1b4a0ae2710e3b2fa8dc57c60d3f1b38f
[ "MIT" ]
null
null
null
app/__init__.py
GeorgeKinuthia77/blog
5fc811b1b4a0ae2710e3b2fa8dc57c60d3f1b38f
[ "MIT" ]
null
null
null
app/__init__.py
GeorgeKinuthia77/blog
5fc811b1b4a0ae2710e3b2fa8dc57c60d3f1b38f
[ "MIT" ]
null
null
null
# Import extensions from flask import Flask from flask_bootstrap import Bootstrap from flask_login import LoginManager from flask_sqlalchemy import SQLAlchemy from config import config_options from flask_uploads import UploadSet,configure_uploads,IMAGES # Create extension instances app = Flask(__name__) bootstrap = Bo...
23.5625
60
0.763926
140
1,131
5.95
0.335714
0.054022
0.036014
0
0
0
0
0
0
0
0
0
0.172414
1,131
47
61
24.06383
0.889957
0.198055
0
0
0
0
0.025057
0
0
0
0
0
0
1
0.041667
false
0
0.333333
0
0.416667
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
f8ec183d504fd034e99ba8dbf5ca7211af94d7c3
1,199
py
Python
djangocms_alias/urls.py
jonathan-s/djangocms-alias
9a9f3020aa0a01339164094c2bc1caf190d66428
[ "BSD-3-Clause" ]
1
2020-05-12T02:29:16.000Z
2020-05-12T02:29:16.000Z
djangocms_alias/urls.py
jonathan-s/djangocms-alias
9a9f3020aa0a01339164094c2bc1caf190d66428
[ "BSD-3-Clause" ]
7
2020-01-16T08:22:13.000Z
2021-11-03T10:21:04.000Z
djangocms_alias/urls.py
jonathan-s/djangocms-alias
9a9f3020aa0a01339164094c2bc1caf190d66428
[ "BSD-3-Clause" ]
7
2020-01-13T09:10:40.000Z
2021-07-21T12:49:07.000Z
from django.conf.urls import url from . import constants, views # isort:skip urlpatterns = [ url( r'^create-alias/$', views.create_alias_view, name=constants.CREATE_ALIAS_URL_NAME, ), url( r'^aliases/$', views.CategoryListView.as_view(), name=constants.CA...
24.469388
52
0.595496
142
1,199
4.725352
0.232394
0.04769
0.202683
0.114754
0.135618
0
0
0
0
0
0
0.003398
0.263553
1,199
48
53
24.979167
0.756512
0.00834
0
0.363636
0
0
0.155855
0.126369
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
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
f8eeb688d70e1f3c1af10a36e70afef95d316f16
322
py
Python
File_Handling/01E_even_lines.py
MihailMarkovski/Python-Advanced-2020
8edea78cbe5588a409ba9bc3767861250f58c1a6
[ "MIT" ]
4
2020-09-19T13:53:19.000Z
2020-11-01T18:34:53.000Z
File_Handling/01E_even_lines.py
MNikov/Python-Advanced-September-2020
1d65039de7f094d908411afffa8aee9689ab4220
[ "MIT" ]
null
null
null
File_Handling/01E_even_lines.py
MNikov/Python-Advanced-September-2020
1d65039de7f094d908411afffa8aee9689ab4220
[ "MIT" ]
null
null
null
chars_to_remove = ["-", ",", ".", "!", "?"] with open('text.txt') as text_file: for i, line in enumerate(text_file): if i % 2 == 0: for char in line: if char in chars_to_remove: line = line.replace(char, '@') print(' '.join(reversed(line.split()))...
32.2
51
0.481366
40
322
3.725
0.575
0.09396
0.174497
0
0
0
0
0
0
0
0
0.00939
0.338509
322
9
52
35.777778
0.690141
0
0
0
0
0
0.046584
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
f8f01ba22dc343ac1bc8aeef4e69d39f6ab5675b
659
py
Python
ChessDRF/client/urls.py
Pythongor/Chess-DRF
d8dedd9fa6db85c00e6e3ee4c63729448a9bfba5
[ "MIT" ]
null
null
null
ChessDRF/client/urls.py
Pythongor/Chess-DRF
d8dedd9fa6db85c00e6e3ee4c63729448a9bfba5
[ "MIT" ]
3
2021-09-08T03:38:52.000Z
2022-01-13T03:57:08.000Z
ChessDRF/client/urls.py
Pythongor/Chess-DRF
d8dedd9fa6db85c00e6e3ee4c63729448a9bfba5
[ "MIT" ]
null
null
null
from rest_framework import routers from django.conf.urls import include from django.urls import path from .views import account_views, game_views urlpatterns = [ path('home', game_views.GamesView.as_view(), name='home'), path('game/<id>', game_views.GameView.as_view(), name='game'), path('new_game', game_v...
43.933333
82
0.722307
92
659
4.956522
0.380435
0.092105
0.153509
0
0
0
0
0
0
0
0
0
0.107739
659
14
83
47.071429
0.77551
0
0
0
0
0
0.141123
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f8f2f45488747b75dbbd14b2f423442fb805ea2c
6,990
py
Python
src/parsers/lane_2002_primary_parser.py
zgordo/openelections-data-or
48f73885e613e68b97d24d365e4112118a20b64b
[ "MIT" ]
18
2015-08-05T06:19:58.000Z
2020-12-31T04:46:53.000Z
src/parsers/lane_2002_primary_parser.py
zgordo/openelections-data-or
48f73885e613e68b97d24d365e4112118a20b64b
[ "MIT" ]
139
2015-05-03T23:35:09.000Z
2021-03-20T23:29:29.000Z
src/parsers/lane_2002_primary_parser.py
zgordo/openelections-data-or
48f73885e613e68b97d24d365e4112118a20b64b
[ "MIT" ]
27
2015-05-04T04:35:03.000Z
2021-08-18T01:02:48.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # The MIT License (MIT) # Copyright (c) 2016 Nick Kocharhook # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including withou...
26.988417
110
0.696996
913
6,990
5.301205
0.33954
0.018182
0.007438
0.008678
0.027273
0.019421
0.019421
0.019421
0.019421
0.019421
0
0.010035
0.173104
6,990
259
111
26.988417
0.827336
0.254363
0
0.06135
0
0
0.116657
0.007932
0
0
0
0
0
0
null
null
0
0.042945
null
null
0.06135
0
0
0
null
0
0
0
0
0
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
f8f5d2fd7d67fa444d017bccf666d6be7d9da7f5
759
py
Python
eventkit_cloud/jobs/migrations/0004_auto_20200813_0902.py
venicegeo/eventkit-cloud
3a9a4fbfea54d48387f3f3b2ab6e71946af9ffb2
[ "BSD-3-Clause" ]
1
2018-03-30T21:01:15.000Z
2018-03-30T21:01:15.000Z
eventkit_cloud/jobs/migrations/0004_auto_20200813_0902.py
venicegeo/eventkit-cloud
3a9a4fbfea54d48387f3f3b2ab6e71946af9ffb2
[ "BSD-3-Clause" ]
46
2017-06-27T03:12:57.000Z
2018-12-28T19:48:35.000Z
eventkit_cloud/jobs/migrations/0004_auto_20200813_0902.py
venicegeo/eventkit-cloud
3a9a4fbfea54d48387f3f3b2ab6e71946af9ffb2
[ "BSD-3-Clause" ]
7
2017-07-28T18:16:34.000Z
2019-01-18T04:41:55.000Z
# Generated by Django 2.2.5 on 2020-08-13 09:02 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0003_jobpermission'), ] operations = [ migrations.AddField( model_name='dataprovidertas...
30.36
143
0.646904
83
759
5.795181
0.506024
0.066528
0.087318
0.137214
0.24948
0.24948
0.24948
0.24948
0.24948
0.24948
0
0.032534
0.230567
759
24
144
31.625
0.791096
0.059289
0
0.222222
1
0
0.171348
0
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
f8fa7b6e497623fab419e6864b8740a0af2bf8fd
6,318
py
Python
addData/database.py
noahbroyles/VAERS-WTF
5c860fbcc1ce3f2bb10d0af4a8c0420bdb5b13bc
[ "MIT" ]
3
2021-11-22T18:18:16.000Z
2022-01-16T12:50:03.000Z
addData/database.py
noahbroyles/VAERS-WTF
5c860fbcc1ce3f2bb10d0af4a8c0420bdb5b13bc
[ "MIT" ]
null
null
null
addData/database.py
noahbroyles/VAERS-WTF
5c860fbcc1ce3f2bb10d0af4a8c0420bdb5b13bc
[ "MIT" ]
1
2021-11-22T18:34:15.000Z
2021-11-22T18:34:15.000Z
import os import time import pymysql try: DBHOST = os.environ['DBHOST'] DBUSER = os.environ['DBUSER'] DBPASSWD = os.environ['DBPASSWD'] DATABASE = os.environ['DATABASE'] except KeyError: DBHOST, DBUSER, DBPASSWD, DATABASE = None, None, None, None class DatabaseError(Exception): pass class ...
35.897727
163
0.611744
748
6,318
5.004011
0.259358
0.038205
0.044082
0.058776
0.270639
0.243922
0.212396
0.190489
0.147475
0.147475
0
0.00298
0.309592
6,318
175
164
36.102857
0.855112
0.292656
0
0.300885
0
0
0.035997
0.009056
0
0
0
0
0
1
0.106195
false
0.053097
0.026549
0.035398
0.221239
0
0
0
0
null
0
0
0
0
0
0
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
f8fc88b6b015b65b8d8ee88fd59e6421f5c14126
5,520
py
Python
openstack/tests/unit/network/v2/test_network.py
teresa-ho/stx-openstacksdk
7d723da3ffe9861e6e9abcaeadc1991689f782c5
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/network/v2/test_network.py
teresa-ho/stx-openstacksdk
7d723da3ffe9861e6e9abcaeadc1991689f782c5
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/network/v2/test_network.py
teresa-ho/stx-openstacksdk
7d723da3ffe9861e6e9abcaeadc1991689f782c5
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
40.588235
78
0.645833
623
5,520
5.495987
0.279294
0.131425
0.13493
0.032126
0.048481
0.019276
0
0
0
0
0
0.019723
0.228442
5,520
135
79
40.888889
0.784222
0.094565
0
0.017699
0
0
0.258123
0.104292
0
0
0
0
0.40708
1
0.026549
false
0
0.017699
0
0.061947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
f8fcbe0bcedb3314d450685fb2ccfbf119ce1e7e
8,322
py
Python
regtests/bench/richards.py
secureosv/pythia
459f9e2bc0bb2da57e9fa8326697d9ef3386883a
[ "BSD-3-Clause" ]
17
2015-12-13T23:11:31.000Z
2020-07-19T00:40:18.000Z
regtests/bench/richards.py
secureosv/pythia
459f9e2bc0bb2da57e9fa8326697d9ef3386883a
[ "BSD-3-Clause" ]
8
2016-02-22T19:42:56.000Z
2016-07-13T10:58:04.000Z
regtests/bench/richards.py
secureosv/pythia
459f9e2bc0bb2da57e9fa8326697d9ef3386883a
[ "BSD-3-Clause" ]
3
2016-04-11T20:34:31.000Z
2021-03-12T10:33:02.000Z
''' Richards ''' # based on a Java version: # Based on original version written in BCPL by Dr Martin Richards # in 1981 at Cambridge University Computer Laboratory, England # and a C++ version derived from a Smalltalk version written by # L Peter Deutsch. # Java version: Copyright (C) 1995 Sun Microsystems, Inc....
19.673759
88
0.683129
1,244
8,322
4.448553
0.184887
0.052403
0.023853
0.014456
0.233647
0.155584
0.145464
0.119624
0.10571
0.10571
0
0.016519
0.199832
8,322
423
89
19.673759
0.814537
0.121125
0
0.275862
0
0
0.009781
0
0
0
0.000827
0
0
0
null
null
0.006897
0.006897
null
null
0.027586
0
0
0
null
0
0
0
0
0
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
f8fe37da7da2052974ed5ca800f55b5b349c1cb0
1,310
gyp
Python
deps/libjpeg/libjpeg.gyp
jiabinf/node-phash
2b699132b2115fc6b4118960a41c9f875e780aee
[ "MIT" ]
131
2015-01-27T05:14:46.000Z
2021-11-16T13:04:17.000Z
deps/libjpeg/libjpeg.gyp
jiabinf/node-phash
2b699132b2115fc6b4118960a41c9f875e780aee
[ "MIT" ]
17
2015-02-09T17:26:13.000Z
2021-08-12T08:53:46.000Z
deps/libjpeg/libjpeg.gyp
jiabinf/node-phash
2b699132b2115fc6b4118960a41c9f875e780aee
[ "MIT" ]
42
2015-02-07T20:03:04.000Z
2021-12-14T17:12:57.000Z
{ 'includes': [ '../common.gyp' ], 'targets': [ { 'target_name': 'libjpeg', 'type': 'static_library', 'include_dirs': [ '.', ], 'sources': [ 'ckconfig.c', 'jcapimin.c', 'jcapistd.c', 'jccoefct.c', 'jccolor.c', 'jcdctmgr.c', ...
19.848485
34
0.391603
115
1,310
4.434783
0.565217
0
0
0
0
0
0
0
0
0
0
0.002594
0.41145
1,310
65
35
20.153846
0.658885
0.038168
0
0.032787
0
0
0.422771
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f8fef7ff4a2e8592eed5d7c093bc9118c50fc45b
27,458
py
Python
appion/bin/uploadXmippRefine.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
appion/bin/uploadXmippRefine.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
appion/bin/uploadXmippRefine.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/usr/bin/env python #python import glob, os, re, shutil, sys #appion from appionlib import appionScript from appionlib import apDisplay from appionlib import apFile from appionlib import apRecon from appionlib import apParam from appionlib import appiondata from appionlib import apXmipp from appionlib import apSymm...
55.69574
148
0.750127
2,613
27,458
7.761577
0.193647
0.050639
0.077018
0.089739
0.123515
0.090577
0.04842
0.035994
0.025048
0.018687
0
0.007948
0.124772
27,458
492
149
55.808943
0.835969
0.220154
0
0.082569
0
0
0.231279
0.062451
0
0
0
0
0
0
null
null
0.003058
0.039755
null
null
0.018349
0
0
0
null
0
0
0
0
0
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
f8ff168451a2c3ba4260cc482f307b6ae9fdffd2
2,026
gyp
Python
third_party/expat/expat.gyp
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
third_party/expat/expat.gyp
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
third_party/expat/expat.gyp
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'target_defaults': { 'defines': [ '_LIB', 'XML_STATIC', # Compile for static linkage. ], 'include_dirs': [ 'files/lib'...
25.64557
76
0.46693
193
2,026
4.80829
0.632124
0.051724
0.034483
0.040948
0.056034
0
0
0
0
0
0
0.005738
0.397828
2,026
78
77
25.974359
0.754918
0.332675
0
0.47541
0
0
0.335586
0.018769
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5d00fa1db17e2e523f82020db582c3d6fc0a7a4e
2,642
py
Python
exchangelib/__init__.py
alorence/exchangelib
b2d3c8c368a8841d5c72ea05fe56640c1becb390
[ "BSD-2-Clause" ]
null
null
null
exchangelib/__init__.py
alorence/exchangelib
b2d3c8c368a8841d5c72ea05fe56640c1becb390
[ "BSD-2-Clause" ]
null
null
null
exchangelib/__init__.py
alorence/exchangelib
b2d3c8c368a8841d5c72ea05fe56640c1becb390
[ "BSD-2-Clause" ]
null
null
null
import sys from .account import Account, Identity from .attachments import FileAttachment, ItemAttachment from .autodiscover import discover from .configuration import Configuration from .credentials import DELEGATE, IMPERSONATION, Credentials, OAuth2Credentials, \ OAuth2AuthorizationCodeCredentials from .ewsdatet...
45.551724
111
0.753596
256
2,642
7.625
0.421875
0.02459
0.022541
0.032787
0.306352
0.227459
0.188525
0.153689
0.153689
0.153689
0
0.009107
0.127176
2,642
57
112
46.350877
0.837381
0.043528
0
0
0
0
0.240491
0.021791
0
0
0
0
0
1
0.020833
false
0
0.416667
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
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
5d0206d7ff07a729a0e5016fd4867c6af7376939
1,829
py
Python
blog/views.py
flannerykj/urbanapplause
c9b6c0f9a2f65b869fe1e6fa921972e7236e4fe5
[ "MIT" ]
null
null
null
blog/views.py
flannerykj/urbanapplause
c9b6c0f9a2f65b869fe1e6fa921972e7236e4fe5
[ "MIT" ]
null
null
null
blog/views.py
flannerykj/urbanapplause
c9b6c0f9a2f65b869fe1e6fa921972e7236e4fe5
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import ListView from .models import Post, Category from django.shortcuts import render_to_response, get_object_or_404 from django.utils import timezone from django.views import generic from django.core.paginator import Paginator class IndexView(ListView): ...
40.644444
106
0.715145
227
1,829
5.577093
0.259912
0.047393
0.066351
0.066351
0.534755
0.447077
0.364139
0.364139
0.300948
0.300948
0
0.003901
0.159103
1,829
45
107
40.644444
0.819246
0
0
0.4
0
0
0.14153
0
0
0
0
0
0
0
null
null
0
0.175
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
5d04a6dc3bc3f71aefbe82f4122ee378c62af812
148
py
Python
abc/abc189/abc189d-1.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc189/abc189d-1.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc189/abc189d-1.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N, *S = open(0).read().split() t = 1 f = 1 for s in S: if s == 'AND': f = t + f * 2 elif s == 'OR': t = t * 2 + f print(t)
13.454545
30
0.364865
30
148
1.8
0.566667
0
0
0
0
0
0
0
0
0
0
0.05814
0.418919
148
10
31
14.8
0.569767
0
0
0
0
0
0.033784
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
1
null
0
0
0
0
0
0
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
5d0551823671baafd544e5fd030f58dbc7aeb05e
20,988
py
Python
library/iptables.py
pgraziano/ursula
b70ccc4a6bda2830559b99991025ee275301c121
[ "MIT" ]
193
2015-01-27T13:47:49.000Z
2022-01-14T23:05:15.000Z
library/iptables.py
pgraziano/ursula
b70ccc4a6bda2830559b99991025ee275301c121
[ "MIT" ]
1,812
2015-01-01T01:26:39.000Z
2019-04-22T19:33:11.000Z
library/iptables.py
pgraziano/ursula
b70ccc4a6bda2830559b99991025ee275301c121
[ "MIT" ]
258
2015-01-23T17:09:44.000Z
2020-08-26T19:41:14.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # # (c) 2015, Linus Unnebäck <linus@folkdatorn.se> # # This file is part of Ansible # # This module is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of...
39.083799
171
0.662998
2,837
20,988
4.825872
0.170603
0.057921
0.081806
0.054342
0.450734
0.385947
0.338471
0.283836
0.218465
0.181287
0
0.006662
0.2419
20,988
536
172
39.156716
0.853812
0.042739
0
0.303226
0
0.004301
0.637428
0.004735
0
0
0
0
0
1
0.027957
false
0
0.002151
0
0.036559
0
0
0
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
5d06f31ba2bf9f1fb58640d75929604c576c9827
616
py
Python
bin/startup.py
tdilauro/circulation-core
8086ca8cbedd5f4b2a0c44df97889d078ff79aac
[ "Apache-2.0" ]
1
2021-11-16T00:58:43.000Z
2021-11-16T00:58:43.000Z
bin/startup.py
tdilauro/circulation-core
8086ca8cbedd5f4b2a0c44df97889d078ff79aac
[ "Apache-2.0" ]
44
2022-01-20T01:31:32.000Z
2022-03-31T01:50:41.000Z
bin/startup.py
tdilauro/circulation-core
8086ca8cbedd5f4b2a0c44df97889d078ff79aac
[ "Apache-2.0" ]
1
2021-05-12T19:11:52.000Z
2021-05-12T19:11:52.000Z
from os import path, sys # Good overview of what is going on here: # https://stackoverflow.com/questions/11536764/how-to-fix-attempted-relative-import-in-non-package-even-with-init-py # Once we have a stable package name for core, it should be easier to do away with something like this # for now we add the core compon...
51.333333
116
0.784091
104
616
4.586538
0.711538
0.069182
0.09434
0.092243
0.077568
0
0
0
0
0
0
0.014981
0.133117
616
11
117
56
0.878277
0.753247
0
0
0
0
0
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
5d0e54bcddd6ff3782bd385dca0b6c071410fd7c
3,167
py
Python
neon/tests/sanity_check.py
zhenglab/neon
ba5b008a03001c2a2e38a1e688b4f265c6461539
[ "Apache-2.0" ]
3
2017-02-02T05:20:48.000Z
2021-07-07T16:50:41.000Z
neon/tests/sanity_check.py
tambetm/neon
1597082ad0bab59102f1ceb20feb08c5a0bf9d04
[ "Apache-2.0" ]
null
null
null
neon/tests/sanity_check.py
tambetm/neon
1597082ad0bab59102f1ceb20feb08c5a0bf9d04
[ "Apache-2.0" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright 2014 Nervana Systems 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.o...
41.671053
78
0.607199
391
3,167
4.744246
0.442455
0.059299
0.036658
0.017251
0.104582
0.104582
0
0
0
0
0
0.01232
0.231134
3,167
75
79
42.226667
0.749487
0.323334
0
0
0
0
0.186673
0.037335
0
0
0
0.013333
0.021277
1
0.042553
false
0
0.12766
0
0.191489
0.06383
0
0
0
null
0
0
0
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
5d107e88920083225a3c653395dcc9300efde60b
168
py
Python
python_tutorial/forstatements.py
vchatchai/python101
c2f1c7b0f62a4600f9c64af566dc5630742580f2
[ "Apache-2.0" ]
null
null
null
python_tutorial/forstatements.py
vchatchai/python101
c2f1c7b0f62a4600f9c64af566dc5630742580f2
[ "Apache-2.0" ]
null
null
null
python_tutorial/forstatements.py
vchatchai/python101
c2f1c7b0f62a4600f9c64af566dc5630742580f2
[ "Apache-2.0" ]
null
null
null
words = ['cat', 'window', "defenestrate"] for w in words : print(w, len(w)) users = ['A', "B", "C"] for i in users : print(i) for i in range(5): print(i)
15.272727
41
0.535714
29
168
3.103448
0.551724
0.088889
0.133333
0
0
0
0
0
0
0
0
0.007937
0.25
168
11
42
15.272727
0.706349
0
0
0.25
0
0
0.142012
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d11f6b4fb191d8f58a146edab12c752127627e6
1,966
py
Python
daily/config.py
MQ-0707/2021
b7521a41abd0ddb95632d6b256a53b4eef0cc8a4
[ "MIT" ]
1
2021-05-27T06:31:59.000Z
2021-05-27T06:31:59.000Z
daily/config.py
MQ-0707/2021
b7521a41abd0ddb95632d6b256a53b4eef0cc8a4
[ "MIT" ]
14
2021-03-18T05:23:22.000Z
2021-12-26T09:16:38.000Z
daily/config.py
MQ-0707/2021
b7521a41abd0ddb95632d6b256a53b4eef0cc8a4
[ "MIT" ]
1
2021-03-22T12:44:06.000Z
2021-03-22T12:44:06.000Z
COOK_LABEL_LIST = [ "Cook", ] MOVIE_LABEL_LIST = [ "Movie", ] READ_LABEL_LIST = [ "Read", ] DRAMA_LABEL_LIST = [ "Drama", ] PUSHUP_LABEL_LIST = [ "PushUps", ] BANGUMI_LABEL_LIST = [ "Bangumi", ] GAME_LABEL_LIST = [ "Game", ] MONEY_LABEL_LIST = [ "Money", ] MEDITATION_LABEL_LIST = [ "...
26.213333
141
0.633266
254
1,966
4.484252
0.295276
0.23705
0.098332
0.122915
0.33626
0.04741
0.04741
0
0
0
0
0.004237
0.159715
1,966
74
142
26.567568
0.68523
0.05646
0
0
0
0.033333
0.40277
0.035457
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d13781c900589758b7e909522916eb84e692143
1,289
py
Python
server/speech_diarization/model/frame.py
Tralfazz/RE-Verb
8fdebd4a1f8680ddc46c020257db4402c99283ab
[ "MIT" ]
38
2019-07-16T21:29:39.000Z
2022-01-11T04:03:45.000Z
server/speech_diarization/model/frame.py
Tralfazz/RE-Verb
8fdebd4a1f8680ddc46c020257db4402c99283ab
[ "MIT" ]
8
2020-05-15T15:40:28.000Z
2021-10-06T00:48:30.000Z
server/speech_diarization/model/frame.py
Tralfazz/RE-Verb
8fdebd4a1f8680ddc46c020257db4402c99283ab
[ "MIT" ]
6
2020-02-12T09:24:24.000Z
2021-05-09T10:56:06.000Z
from pydub import AudioSegment class Frame(): def __init__(self, start=0, end=0, audio=AudioSegment.empty()): self.start = start self.end = end self.audio = audio def __eq__(self, frame): return self.start == frame.start and self.end == frame.end def __len__(self): ...
28.021739
67
0.567106
161
1,289
4.36646
0.15528
0.153627
0.170697
0.189189
0.456615
0.403983
0.318634
0.254623
0.254623
0.194879
0
0.003501
0.335144
1,289
46
68
28.021739
0.816803
0.007758
0
0.171429
0
0
0
0
0
0
0
0
0
1
0.171429
false
0
0.028571
0.085714
0.371429
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
5d13f9ccb718d9e637d35bccf29e5a185ac13fc2
1,626
py
Python
vel/rl/models/q_dueling_model.py
cclauss/vel
78a6a20af80ff613898d2983c83fdb223634aaad
[ "MIT" ]
null
null
null
vel/rl/models/q_dueling_model.py
cclauss/vel
78a6a20af80ff613898d2983c83fdb223634aaad
[ "MIT" ]
null
null
null
vel/rl/models/q_dueling_model.py
cclauss/vel
78a6a20af80ff613898d2983c83fdb223634aaad
[ "MIT" ]
null
null
null
import gym from vel.api.base import LinearBackboneModel, Model, ModelFactory from vel.rl.modules.dueling_q_head import DuelingQHead class QDuelingModel(Model): """ Wraps a backbone model into API we need for Deep Q-Learning """ def __init__(self, backbone: LinearBackboneModel, action_space: gym.Space): ...
31.269231
92
0.682042
182
1,626
5.879121
0.362637
0.078505
0.033645
0.035514
0
0
0
0
0
0
0
0
0.220787
1,626
51
93
31.882353
0.844515
0.159287
0
0.068966
0
0
0.018896
0
0
0
0
0
0
1
0.241379
false
0
0.103448
0
0.551724
0
0
0
0
null
0
0
0
0
0
0
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
5d149a64f488a7ef1048cf92948caf6db6d4aee8
7,582
py
Python
muddery/server/launcher/utils.py
MarsZone/DreamLand
87455f421c1ba09cb6efd5fc0882fbc2a29ea1a5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
muddery/server/launcher/utils.py
MarsZone/DreamLand
87455f421c1ba09cb6efd5fc0882fbc2a29ea1a5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
muddery/server/launcher/utils.py
MarsZone/DreamLand
87455f421c1ba09cb6efd5fc0882fbc2a29ea1a5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ """ from __future__ import print_function import os import sys import shutil import ConfigParser from subprocess import check_output, CalledProcessError, STDOUT from evennia.server import evennia_launcher from muddery.server.launcher import configs #----------------------------------------...
29.733333
122
0.592324
867
7,582
4.989619
0.231834
0.024965
0.027739
0.015719
0.18123
0.134998
0.073047
0.033287
0.033287
0.033287
0
0.004293
0.293458
7,582
255
123
29.733333
0.803248
0.057637
0
0.219178
0
0
0.07911
0.011209
0
0
0
0
0
0
null
null
0.034247
0.123288
null
null
0.047945
0
0
0
null
0
0
0
0
0
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
5d1a5ab4f79362e0e35cc496ad617e4893d83b56
1,126
py
Python
lowfat/migrations/0134_auto_20180418_1700.py
elena-kolomeets/lowfat
f7647f5cd12519f722e41808157a96cc3e37b6ce
[ "BSD-3-Clause" ]
6
2017-02-23T16:44:36.000Z
2019-03-18T11:39:03.000Z
lowfat/migrations/0134_auto_20180418_1700.py
elena-kolomeets/lowfat
f7647f5cd12519f722e41808157a96cc3e37b6ce
[ "BSD-3-Clause" ]
286
2017-02-07T15:00:41.000Z
2022-03-08T12:56:09.000Z
lowfat/migrations/0134_auto_20180418_1700.py
elena-kolomeets/lowfat
f7647f5cd12519f722e41808157a96cc3e37b6ce
[ "BSD-3-Clause" ]
2
2018-06-19T12:38:08.000Z
2020-11-23T12:15:08.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-04-18 17:00 from __future__ import unicode_literals from django.db import migrations import tagulous.models.fields class Migration(migrations.Migration): dependencies = [ ('lowfat', '0133_auto_20180418_1630'), ] operations = [ ...
51.181818
703
0.734458
138
1,126
5.876812
0.789855
0.034525
0.049322
0
0
0
0
0
0
0
0
0.036132
0.164298
1,126
21
704
53.619048
0.825717
0.061279
0
0
1
0.071429
0.520873
0.021822
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d2144bbbeac851820cd7b79bbf0d1dbfc43681c
11,124
py
Python
src/pulitools/stats/display_stats.py
smaragden/OpenRenderManagement
cf3ab356f96969d7952b60417b48e941955e435c
[ "BSD-3-Clause" ]
35
2015-02-23T23:13:13.000Z
2021-01-03T05:56:39.000Z
src/pulitools/stats/display_stats.py
smaragden/OpenRenderManagement
cf3ab356f96969d7952b60417b48e941955e435c
[ "BSD-3-Clause" ]
15
2015-01-12T12:58:29.000Z
2016-03-30T13:10:19.000Z
src/pulitools/stats/display_stats.py
mikrosimage/OpenRenderManagement
6f9237a86cb8e4b206313f9c22424c8002fd5e4d
[ "BSD-3-Clause" ]
20
2015-03-18T06:57:13.000Z
2020-07-01T15:09:36.000Z
#!/usr/bin/python2.6 # -*- coding: utf8 -*- """ """ __author__ = "Jérôme Samson" __copyright__ = "Copyright 2014, Mikros Image" import os import sys import csv import time import datetime import pygal from optparse import OptionParser from octopus.dispatcher import settings from pulitools.common import roundT...
41.662921
165
0.626393
1,376
11,124
4.936047
0.28561
0.007951
0.024735
0.001767
0.149588
0.129859
0.11808
0.108952
0.098351
0.094523
0
0.129853
0.240561
11,124
267
166
41.662921
0.674124
0.197591
0
0.215569
0
0
0.112584
0
0
0
0
0.003745
0
0
null
null
0.005988
0.053892
null
null
0.035928
0
0
0
null
0
0
0
0
0
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
5d274ebe2be121fd6c565d7f8c9e505bfc1e7546
1,934
py
Python
modules/pymol/wizard/security.py
hryknkgw/pymolwin
4a1335e90497dbcbfa789f1285a7c1ad84a051f8
[ "CNRI-Python" ]
null
null
null
modules/pymol/wizard/security.py
hryknkgw/pymolwin
4a1335e90497dbcbfa789f1285a7c1ad84a051f8
[ "CNRI-Python" ]
null
null
null
modules/pymol/wizard/security.py
hryknkgw/pymolwin
4a1335e90497dbcbfa789f1285a7c1ad84a051f8
[ "CNRI-Python" ]
null
null
null
# This wizard contributed by Ezequiel "Zac" Panepucci 011114 # modified by Warren L. DeLano from pymol.wizard import Wizard from pymol import cmd import pymol class Security(Wizard): def __init__(self,_self=cmd): Wizard.__init__(self,_self) for a in self.get_prompt(): print a ...
40.291667
105
0.411582
172
1,934
4.552326
0.5
0.030651
0.045977
0.045977
0.058748
0
0
0
0
0
0
0.011009
0.436401
1,934
47
106
41.148936
0.707339
0.044984
0
0.243243
0
0
0.407709
0.066775
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.054054
0
0
0
null
0
0
0
0
0
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
5d291713c077d717927a3eb4728a1e7f156fd49a
1,365
py
Python
impy/tests/test_new_interface.py
kotania/impy
85ddd5764a3c1f955fae8d1b9422b619d4d12a4d
[ "BSD-3-Clause" ]
6
2022-01-12T14:07:09.000Z
2022-03-11T07:57:21.000Z
impy/tests/test_new_interface.py
kotania/impy
85ddd5764a3c1f955fae8d1b9422b619d4d12a4d
[ "BSD-3-Clause" ]
9
2021-06-24T08:19:56.000Z
2021-06-24T12:26:57.000Z
impy/tests/test_new_interface.py
kotania/impy
85ddd5764a3c1f955fae8d1b9422b619d4d12a4d
[ "BSD-3-Clause" ]
1
2022-01-12T14:06:33.000Z
2022-01-12T14:06:33.000Z
import sys import os import numpy as np root_dir = os.path.abspath(os.path.dirname(__file__) + "/..") sys.path.append(root_dir) sys.path.append(os.path.join(root_dir,'../DPMJET-III-gitlab')) from impy.definitions import * from impy.constants import * from impy.kinematics import EventKinematics from impy.common impor...
29.673913
98
0.731136
205
1,365
4.702439
0.536585
0.033195
0.026971
0.051867
0
0
0
0
0
0
0
0.018229
0.156044
1,365
45
99
30.333333
0.818576
0.384615
0
0
0
0
0.087591
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
0
1
0
0
0
0
1
5d2b733849d73446834366f7a8c5a22f629a1058
506
py
Python
tests/python/gaia-ui-tests/gaiatest/apps/system/regions/status_bar.py
wilsonpage/gaia
d0beeca2401ff90564dfcbe45ee5237d46605ab8
[ "Apache-2.0" ]
1
2019-09-07T18:44:40.000Z
2019-09-07T18:44:40.000Z
tests/python/gaia-ui-tests/gaiatest/apps/system/regions/status_bar.py
wilsonpage/gaia
d0beeca2401ff90564dfcbe45ee5237d46605ab8
[ "Apache-2.0" ]
3
2016-09-10T15:41:48.000Z
2016-09-10T15:42:41.000Z
tests/python/gaia-ui-tests/gaiatest/apps/system/regions/status_bar.py
wilsonpage/gaia
d0beeca2401ff90564dfcbe45ee5237d46605ab8
[ "Apache-2.0" ]
1
2016-01-25T22:23:32.000Z
2016-01-25T22:23:32.000Z
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from marionette.by import By from gaiatest.apps.base import Base class StatusBar(Base): _status_bar_time_locator =...
33.733333
69
0.733202
82
506
4.365854
0.658537
0.075419
0.108939
0.111732
0
0
0
0
0
0
0
0.014354
0.173913
506
14
70
36.142857
0.842105
0.379447
0
0
0
0
0.058065
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
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
5d2cae164b8c1fb28a178f6f18b340e79d1c7f9b
1,831
py
Python
paint/migrations/0013_auto_20200414_1921.py
ishabhandary/Paint-App
4b56455596d140cee4a9b19c71fe82364c3f3b7c
[ "BSD-2-Clause" ]
null
null
null
paint/migrations/0013_auto_20200414_1921.py
ishabhandary/Paint-App
4b56455596d140cee4a9b19c71fe82364c3f3b7c
[ "BSD-2-Clause" ]
null
null
null
paint/migrations/0013_auto_20200414_1921.py
ishabhandary/Paint-App
4b56455596d140cee4a9b19c71fe82364c3f3b7c
[ "BSD-2-Clause" ]
1
2021-09-03T09:53:16.000Z
2021-09-03T09:53:16.000Z
# Generated by Django 3.0.4 on 2020-04-14 13:51 import django.core.validators from django.db import migrations, models import paint.validators class Migration(migrations.Migration): dependencies = [ ('paint', '0012_auto_20200414_1903'), ] operations = [ migrations.AlterFie...
39.804348
198
0.625887
181
1,831
6.19337
0.320442
0.093666
0.133809
0.155219
0.721677
0.692239
0.55843
0.55843
0.55843
0.55843
0
0.031688
0.258875
1,831
45
199
40.688889
0.794399
0.024577
0
0.512821
1
0
0.188039
0.038528
0
0
0
0
0
1
0
false
0
0.076923
0
0.153846
0
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
5d2e959beb0af6f46b40651c61e6922c436e9ef1
1,882
py
Python
src/probnum/quad/quadrature.py
coldfix/probnum
9b93d822c8d6501f9a12a783da84867ea54e6f6c
[ "MIT" ]
null
null
null
src/probnum/quad/quadrature.py
coldfix/probnum
9b93d822c8d6501f9a12a783da84867ea54e6f6c
[ "MIT" ]
null
null
null
src/probnum/quad/quadrature.py
coldfix/probnum
9b93d822c8d6501f9a12a783da84867ea54e6f6c
[ "MIT" ]
null
null
null
""" Quadrature, i.e. numerical integration. This module provides an abstract base class defining quadrature methods. """ import abc def quad(fun, bounds, type=None): """ One-dimensional numerical integration. Parameters ---------- fun : function Function to be integrated. bounds : n...
21.386364
74
0.515409
168
1,882
5.75
0.404762
0.016563
0.065217
0.090062
0.481366
0.481366
0.481366
0.436853
0.436853
0.436853
0
0.001571
0.323592
1,882
87
75
21.632184
0.757266
0.692349
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.111111
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
1
0
0
0
0
0
0
0
1
5d30b67e3ced68660b18bfb43a571b13ae5bcd95
12,904
py
Python
evennia/contrib/email_login.py
pakhnu/my-world
405983dca81e70fc64d58d6a60126ffa5e8ada8c
[ "BSD-3-Clause" ]
null
null
null
evennia/contrib/email_login.py
pakhnu/my-world
405983dca81e70fc64d58d6a60126ffa5e8ada8c
[ "BSD-3-Clause" ]
null
null
null
evennia/contrib/email_login.py
pakhnu/my-world
405983dca81e70fc64d58d6a60126ffa5e8ada8c
[ "BSD-3-Clause" ]
null
null
null
""" Email-based login system Evennia contrib - Griatch 2012 This is a variant of the login system that requires an email-address instead of a username to login. This used to be the default Evennia login before replacing it with a more standard username + password system (having to supply an email for some reason ca...
36.555241
156
0.627092
1,642
12,904
4.878806
0.268575
0.018724
0.017226
0.00699
0.061416
0.051429
0.038197
0.020222
0.009986
0
0
0.003937
0.291305
12,904
352
157
36.659091
0.872061
0.272319
0
0.242775
0
0.017341
0.206489
0.005307
0
0
0
0
0
1
0.040462
false
0.098266
0.057803
0
0.306358
0
0
0
0
null
0
0
0
0
0
0
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
5d330d36fa9ff4ae9df0419ec8a4533cbd066ef9
908
py
Python
project/db/models/order_model.py
sunday-ucheawaji/API-
07fb4b596cfe8e85b8575a8e70a8c886d3ab627a
[ "MIT" ]
null
null
null
project/db/models/order_model.py
sunday-ucheawaji/API-
07fb4b596cfe8e85b8575a8e70a8c886d3ab627a
[ "MIT" ]
null
null
null
project/db/models/order_model.py
sunday-ucheawaji/API-
07fb4b596cfe8e85b8575a8e70a8c886d3ab627a
[ "MIT" ]
1
2022-02-09T14:13:20.000Z
2022-02-09T14:13:20.000Z
import uuid from django.db import models from db.models.cart_model import Cart # Create your models here. class Order(models.Model): PROCESSING_STOCK = 'Processing Stock' DELIVERY_IN_PROGRESS = 'Delivery in Progress' DELIVERED = 'Delivered' NOT_DELIVERED = 'Not Delivered' RETURNED = 'Returned' ...
32.428571
79
0.698238
103
908
5.941748
0.466019
0.098039
0.117647
0.098039
0.405229
0.405229
0.405229
0.405229
0.405229
0.405229
0
0.004138
0.201542
908
27
80
33.62963
0.84
0.026432
0
0
0
0
0.14966
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0.043478
0.695652
0
0
0
0
null
0
0
0
0
0
0
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
5d331a2197a491f2dcce1aa07ce4eabef9cbe9c9
2,619
py
Python
spells/scr/tpModifiers/sp_vertigo.py
dolio/toee-mod
5e13f5fa72edb4b2ce0b5479db239cec86f71407
[ "MIT" ]
null
null
null
spells/scr/tpModifiers/sp_vertigo.py
dolio/toee-mod
5e13f5fa72edb4b2ce0b5479db239cec86f71407
[ "MIT" ]
null
null
null
spells/scr/tpModifiers/sp_vertigo.py
dolio/toee-mod
5e13f5fa72edb4b2ce0b5479db239cec86f71407
[ "MIT" ]
null
null
null
from toee import * import tpdp from templeplus.pymod import PythonModifier from spell_utils import * def Descr(spell_id): packet = tpdp.SpellPacket(spell_id) return game.get_spell_mesline(packet.spell_enum) def Penalty(attachee, args, evt_obj): spell_id = args.get_arg(0) evt_obj.bonus_list.add(-2, 0, Descr(spel...
29.761364
74
0.770523
371
2,619
5.199461
0.326146
0.060653
0.058061
0.068429
0.226542
0.164334
0.091757
0
0
0
0
0.022806
0.112638
2,619
87
75
30.103448
0.807229
0.077129
0
0.111111
0
0
0.038972
0.010365
0
0
0
0
0
0
null
null
0
0.063492
null
null
0.015873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5d36d7acae27361d2aab50f13149f7c05f2f6466
3,162
py
Python
smacha_ros/src/smacha_ros/templates/ROSBase.tpl.py
ReconCell/smacha
253215a35d2d091bf50c28c1ba876209b82d2400
[ "BSD-3-Clause" ]
16
2019-04-16T07:44:30.000Z
2022-03-10T08:04:45.000Z
smacha_ros/src/smacha_ros/templates/ROSBase.tpl.py
ReconCell/smacha
253215a35d2d091bf50c28c1ba876209b82d2400
[ "BSD-3-Clause" ]
2
2019-07-18T09:11:00.000Z
2019-09-26T10:21:26.000Z
smacha_ros/src/smacha_ros/templates/ROSBase.tpl.py
ReconCell/smacha
253215a35d2d091bf50c28c1ba876209b82d2400
[ "BSD-3-Clause" ]
2
2019-08-21T20:14:54.000Z
2019-09-19T13:26:34.000Z
{% block meta %} name: ROSBase description: SMACH base template. language: Python framework: SMACH type: Base tags: [core] includes: [] extends: [] variables: - - manifest: description: ROS manifest name. type: str - - node_name: description: ROS node name for the state machine. type: str - outc...
27.982301
155
0.621758
367
3,162
5.185286
0.26158
0.033106
0.034157
0.054651
0.15134
0.09774
0.09774
0.09774
0.09774
0.09774
0
0.003564
0.201455
3,162
112
156
28.232143
0.750099
0
0
0.033708
0
0
0.074622
0
0
0
0
0
0
0
null
null
0
0.089888
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
5d36f779591e9d3550d722a538970fdf2b14f747
2,306
py
Python
visualization/cn-word-cloud.py
digbmc/college-news
099dedaf9b6ca0d8e87b1bd624f1f2dd7d64c7dc
[ "MIT" ]
null
null
null
visualization/cn-word-cloud.py
digbmc/college-news
099dedaf9b6ca0d8e87b1bd624f1f2dd7d64c7dc
[ "MIT" ]
null
null
null
visualization/cn-word-cloud.py
digbmc/college-news
099dedaf9b6ca0d8e87b1bd624f1f2dd7d64c7dc
[ "MIT" ]
null
null
null
""" Basic word-cloud generator: - separates all of the files by decade - reads each decade's files into a string - generates and displays word cloud of most frequent words from that string """ import os # used to get the names of the files from wordcloud import WordCloud # generates the word clouds from wordcloud impo...
49.06383
102
0.721596
363
2,306
4.53168
0.341598
0.043769
0.01459
0.019453
0
0
0
0
0
0
0
0.020563
0.198612
2,306
46
103
50.130435
0.869589
0.548135
0
0
1
0
0.077767
0
0
0
0
0
0
1
0
false
0
0.133333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d41ceaaf2c8cecf88bcf345bc9abba21e032807
2,333
py
Python
Practica06/RSA.py
Argenis616/cryptography
b702854a6cc23a46a5b477abc74bf0d9d2ee9ef4
[ "MIT" ]
null
null
null
Practica06/RSA.py
Argenis616/cryptography
b702854a6cc23a46a5b477abc74bf0d9d2ee9ef4
[ "MIT" ]
null
null
null
Practica06/RSA.py
Argenis616/cryptography
b702854a6cc23a46a5b477abc74bf0d9d2ee9ef4
[ "MIT" ]
null
null
null
from prime_generator import generate_prime import random import math import sys from math import gcd as mcd from sympy import mod_inverse def coprimo(a, b): return mcd(a, b) == 1 class RSA(): def __init__(self): """ Constructor de RSA, aquí se deben de generar los primos p y q para que pu...
33.328571
79
0.599657
331
2,333
4.138973
0.371601
0.029197
0.040146
0.026277
0.2
0.127007
0.077372
0.077372
0.077372
0.077372
0
0.003667
0.298757
2,333
69
80
33.811594
0.833741
0.322332
0
0.105263
1
0
0.029119
0
0
0
0
0
0
1
0.131579
false
0
0.157895
0.026316
0.394737
0
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
5d423f17c68463c55cd28db4772e440b1e062233
4,114
py
Python
app/plants/models.py
forrana/plant-helper
fd7e4565be039e7a5a31aa4d2aa685c3057386da
[ "MIT" ]
null
null
null
app/plants/models.py
forrana/plant-helper
fd7e4565be039e7a5a31aa4d2aa685c3057386da
[ "MIT" ]
null
null
null
app/plants/models.py
forrana/plant-helper
fd7e4565be039e7a5a31aa4d2aa685c3057386da
[ "MIT" ]
null
null
null
from .utils import is_growing_season from datetime import timedelta from django.db import models from django.conf import settings from django.utils import timezone from users.models import CustomUser class House(models.Model): owner = models.ForeignKey(CustomUser, on_delete=models.SET_NULL, blank=True, null=True)...
39.557692
174
0.698347
526
4,114
5.252852
0.188213
0.065147
0.061889
0.06949
0.462903
0.327181
0.170105
0.140427
0.140427
0.112921
0
0.011807
0.197132
4,114
104
175
39.557692
0.824705
0
0
0.168539
0
0
0.047388
0.037181
0
0
0
0
0
1
0.11236
false
0
0.067416
0.067416
0.662921
0
0
0
0
null
0
0
0
0
0
0
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
5d4557bb25bd26d9e709b4d3dbb917b9e3a29151
2,413
py
Python
setup.py
AlainODea/restfly
817c4619a3b33f48529e949563c5bbb26bc8b351
[ "MIT" ]
7
2021-05-05T20:20:12.000Z
2022-03-25T12:25:51.000Z
setup.py
AlainODea/restfly
817c4619a3b33f48529e949563c5bbb26bc8b351
[ "MIT" ]
6
2021-08-05T16:34:53.000Z
2022-03-30T16:56:41.000Z
setup.py
AlainODea/restfly
817c4619a3b33f48529e949563c5bbb26bc8b351
[ "MIT" ]
2
2022-01-12T19:38:08.000Z
2022-01-31T18:43:32.000Z
from setuptools import setup, find_packages with open('restfly/version.py', 'r') as vfile: exec(vfile.read()) long_description = ''' RESTfly: Simplifying API Libraries ================================== **RESTfly** (pronounced restfully) is a framework for building libraries to easily interact with RESTful APIs....
38.301587
79
0.689184
300
2,413
5.513333
0.52
0.036276
0.031439
0.048368
0.159008
0.119105
0.078597
0
0
0
0
0.010967
0.16867
2,413
62
80
38.919355
0.813559
0.004144
0
0.037736
0
0
0.764265
0.014161
0
0
0
0
0
1
0
false
0
0.018868
0
0.018868
0
0
0
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
5d47e5f481513f8eee23770867fbb0d41edf1482
3,552
py
Python
evennia/typeclasses/migrations/0007_tag_migrations_may_be_slow.py
dineshsonachalam/evennia
24c5ddecabb84d8a7f62fb65a11c8bbcc879c49e
[ "BSD-3-Clause" ]
9
2017-07-10T04:27:31.000Z
2020-07-31T08:54:08.000Z
evennia/typeclasses/migrations/0007_tag_migrations_may_be_slow.py
dineshsonachalam/evennia
24c5ddecabb84d8a7f62fb65a11c8bbcc879c49e
[ "BSD-3-Clause" ]
null
null
null
evennia/typeclasses/migrations/0007_tag_migrations_may_be_slow.py
dineshsonachalam/evennia
24c5ddecabb84d8a7f62fb65a11c8bbcc879c49e
[ "BSD-3-Clause" ]
4
2017-09-11T02:26:21.000Z
2021-12-31T05:20:34.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2017-01-25 22:30 from __future__ import unicode_literals from django.db import migrations def update_tags_with_dbmodel(apps, schema_editor): Tag = apps.get_model('typeclasses', 'Tag') ObjectDB = apps.get_model('objects', 'ObjectDB') for obj in Obje...
41.788235
94
0.629505
486
3,552
4.316872
0.152263
0.071497
0.077216
0.057197
0.615825
0.615825
0.615825
0.449952
0.449952
0.449952
0
0.007778
0.239865
3,552
84
95
42.285714
0.769259
0.019144
0
0.41791
1
0
0.10428
0.013502
0
0
0
0
0
1
0.014925
false
0
0.029851
0
0.089552
0
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
5d4904fbc632fe6c58cd2a06bcdc34d1d4f179d7
19,338
py
Python
tests/test_labelhash.py
jessicamizzi/khmer
997009400508218475cd3faa7cfa5d904f1cd8b1
[ "BSD-3-Clause" ]
null
null
null
tests/test_labelhash.py
jessicamizzi/khmer
997009400508218475cd3faa7cfa5d904f1cd8b1
[ "BSD-3-Clause" ]
null
null
null
tests/test_labelhash.py
jessicamizzi/khmer
997009400508218475cd3faa7cfa5d904f1cd8b1
[ "BSD-3-Clause" ]
null
null
null
# # This file is part of khmer, http://github.com/ged-lab/khmer/, and is # Copyright (C) Michigan State University, 2009-2013. It is licensed under # the three-clause BSD license; see doc/LICENSE.txt. # Contact: khmer-project@idyll.org # # pylint: disable=missing-docstring,protected-access import khmer from khmer impor...
27.784483
79
0.668115
2,734
19,338
4.527067
0.135699
0.023188
0.026178
0.034903
0.594409
0.537529
0.494627
0.442838
0.402521
0.37198
0
0.048913
0.221895
19,338
695
80
27.82446
0.773643
0.126435
0
0.5
0
0
0.133584
0.078418
0
0
0
0.001439
0.221239
0
null
null
0
0.013274
null
null
0.061947
0
0
0
null
0
0
0
0
0
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
5d4ce7fce23aa0cd460f68b726bfc16ffc4bc6c3
448
py
Python
components/collector/src/source_collectors/gitlab/failed_jobs.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
33
2016-01-20T07:35:48.000Z
2022-03-14T09:20:51.000Z
components/collector/src/source_collectors/gitlab/failed_jobs.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
2,410
2016-01-22T18:13:01.000Z
2022-03-31T16:57:34.000Z
components/collector/src/source_collectors/gitlab/failed_jobs.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
21
2016-01-16T11:49:23.000Z
2022-01-14T21:53:22.000Z
"""GitLab failed jobs collector.""" from collector_utilities.type import Job from .base import GitLabJobsBase class GitLabFailedJobs(GitLabJobsBase): """Collector class to get failed job counts from GitLab.""" def _count_job(self, job: Job) -> bool: """Return whether the job has failed.""" ...
29.866667
73
0.707589
57
448
5.403509
0.561404
0.051948
0
0
0
0
0
0
0
0
0
0
0.180804
448
14
74
32
0.839237
0.263393
0
0
0
0
0.057325
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5d4cf2074b24684b1e5b7a289b25839a9b1da4d2
7,930
py
Python
pycubexr/classes/values.py
ocnkr/pycubexr
ca17f0afcb01a0688a08b90949183089433112df
[ "BSD-3-Clause" ]
null
null
null
pycubexr/classes/values.py
ocnkr/pycubexr
ca17f0afcb01a0688a08b90949183089433112df
[ "BSD-3-Clause" ]
null
null
null
pycubexr/classes/values.py
ocnkr/pycubexr
ca17f0afcb01a0688a08b90949183089433112df
[ "BSD-3-Clause" ]
null
null
null
import copy import sys from abc import abstractmethod, ABC from numbers import Real from typing import List, Dict, Callable, Union, Sequence, Any, cast, Iterable class BaseValue(ABC): @abstractmethod def _add(self, other): pass @abstractmethod def _sub(self, other): pass @abstra...
24.937107
118
0.563304
875
7,930
4.938286
0.128
0.062486
0.030548
0.034714
0.500116
0.423976
0.391576
0.383939
0.319833
0.288591
0
0.00547
0.3314
7,930
317
119
25.015773
0.809506
0.114376
0
0.481982
0
0
0.017599
0.005008
0
0
0
0
0.009009
1
0.207207
false
0.022523
0.022523
0.09009
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5d4fa72cff3edc05a1321cfae627de20135be707
438
py
Python
Bases/Theory/5 - functions.py
PierreAnken/TrainingPython
a788090d335d8d940838d17e68f263ba4aa013d4
[ "MIT" ]
null
null
null
Bases/Theory/5 - functions.py
PierreAnken/TrainingPython
a788090d335d8d940838d17e68f263ba4aa013d4
[ "MIT" ]
null
null
null
Bases/Theory/5 - functions.py
PierreAnken/TrainingPython
a788090d335d8d940838d17e68f263ba4aa013d4
[ "MIT" ]
null
null
null
def say_hello(name: str = 'Lucas'): print(f'Hello {name} ') def ask_age(): user_age = input('Age?') return user_age def say_hello_mp(name, age_user=25): print(f'Hello {name} {age_user}') if __name__ == '__main__': say_hello() say_hello(123) print(say_hello('Pierre')) say_hello_m...
16.846154
42
0.618721
70
438
3.514286
0.371429
0.227642
0.121951
0.121951
0
0
0
0
0
0
0
0.026163
0.214612
438
25
43
17.52
0.688953
0
0
0
0
0
0.210046
0
0
0
0
0
0
1
0.2
false
0
0
0
0.266667
0.266667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d50cbe933152abd6a00189248810f68252954c7
280
py
Python
python/cursoemvideo/051.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
python/cursoemvideo/051.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
python/cursoemvideo/051.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
# Prints arithmetic progression of 10 numbers print('10 Termos de uma PA') number = int(input('Primeiro termo: ')) constant = int(input('Razão: ')) total = 0 for c in range (1, 11): total = number + (c - 1) * constant print('{}'.format(total), end = ' → ') print('ACABOU')
31.111111
45
0.632143
41
280
4.341463
0.731707
0.089888
0
0
0
0
0
0
0
0
0
0.039648
0.189286
280
9
46
31.111111
0.740088
0.153571
0
0
0
0
0.224576
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
5d5ab4b0864b694a622a4d86544c789f7d10c607
3,320
py
Python
civid/tokens.py
tdeck/civid_web
1fe52c4c78de5d5631231ba5152b7363379bb3c3
[ "MIT" ]
null
null
null
civid/tokens.py
tdeck/civid_web
1fe52c4c78de5d5631231ba5152b7363379bb3c3
[ "MIT" ]
null
null
null
civid/tokens.py
tdeck/civid_web
1fe52c4c78de5d5631231ba5152b7363379bb3c3
[ "MIT" ]
null
null
null
from itsdangerous import TimestampSigner from time import time import base64 import hashlib import string LOGIN_WINDOW_S = 60 CODE_WINDOW_S = 30 SHORT_SIG_LENGTH = 18 MIN_USERNAME_LENGTH = 3 USERNAME_CHARS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_' SHUFFLED_CHARS = 'NGthMiXu2xmnfzVROkEjvaUPYg...
32.23301
87
0.689458
386
3,320
5.73057
0.367876
0.03255
0.031646
0.013562
0.050633
0.028029
0.028029
0.028029
0
0
0
0.018238
0.223795
3,320
102
88
32.54902
0.840124
0.297289
0
0
0
0
0.079226
0.058038
0
0
0
0
0
1
0.196078
false
0.039216
0.098039
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5d5acdc8668095d4488d10307d079598bd606c8e
9,898
py
Python
sdk/python/pulumi_azure_nextgen/solutions/appliance_definition.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
31
2020-09-21T09:41:01.000Z
2021-02-26T13:21:59.000Z
sdk/python/pulumi_azure_nextgen/solutions/appliance_definition.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
231
2020-09-21T09:38:45.000Z
2021-03-01T11:16:03.000Z
sdk/python/pulumi_azure_nextgen/solutions/appliance_definition.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
4
2020-09-29T14:14:59.000Z
2021-02-10T20:38:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** 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 from .. import _utilities, _tables from ...
42.480687
285
0.646898
1,069
9,898
5.774556
0.162769
0.060586
0.040823
0.040013
0.420865
0.290296
0.216912
0.195205
0.104487
0.104487
0
0.002304
0.254698
9,898
232
286
42.663793
0.834486
0.258436
0
0.173913
1
0
0.159859
0.044942
0
0
0
0
0
1
0.123188
false
0.007246
0.057971
0.014493
0.304348
0
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
5d6b3cb3b52ae11043345d0484dc81c762c93dd4
3,351
py
Python
MHD/FEniCS/CGstokes/Stokes.py
wathen/PhD
35524f40028541a4d611d8c78574e4cf9ddc3278
[ "MIT" ]
3
2020-10-25T13:30:20.000Z
2021-08-10T21:27:30.000Z
MHD/FEniCS/CGstokes/Stokes.py
wathen/PhD
35524f40028541a4d611d8c78574e4cf9ddc3278
[ "MIT" ]
null
null
null
MHD/FEniCS/CGstokes/Stokes.py
wathen/PhD
35524f40028541a4d611d8c78574e4cf9ddc3278
[ "MIT" ]
3
2019-10-28T16:12:13.000Z
2020-01-13T13:59:44.000Z
import scipy #from MatrixOperations import * import os import cProfile from dolfin import * from block import * from block.algebraic.trilinos import * import block.iterative as bat import numpy import scipy.sparse as sps import scipy.io as save #MO = MatrixOperations() # mesh = UnitSquareMesh(16,16) n = 16 mesh = Rect...
24.639706
76
0.632647
609
3,351
3.43514
0.243021
0.042065
0.031071
0.022945
0.191205
0.174952
0.174952
0.174952
0.147228
0.147228
0
0.063051
0.119666
3,351
135
77
24.822222
0.646102
0.455386
0
0.067797
0
0.050847
0.177628
0.105115
0
0
0
0
0
0
null
null
0
0.169492
null
null
0.033898
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5d6cb1efc04da78554222f32e875784658a05ddb
3,371
py
Python
pyjswidgets/pyjamas/chart/TouchedPointUpdateOption.py
takipsizad/pyjs
54db0ba6747aca744f9f3c3e985a17e913dfb951
[ "ECL-2.0", "Apache-2.0" ]
739
2015-01-01T02:05:11.000Z
2022-03-30T15:26:16.000Z
pyjswidgets/pyjamas/chart/TouchedPointUpdateOption.py
takipsizad/pyjs
54db0ba6747aca744f9f3c3e985a17e913dfb951
[ "ECL-2.0", "Apache-2.0" ]
33
2015-03-25T23:17:04.000Z
2021-08-19T08:25:22.000Z
pyjswidgets/pyjamas/chart/TouchedPointUpdateOption.py
takipsizad/pyjs
54db0ba6747aca744f9f3c3e985a17e913dfb951
[ "ECL-2.0", "Apache-2.0" ]
167
2015-01-01T22:27:47.000Z
2022-03-17T13:29:19.000Z
""" * Copyright 2007,2008,2009 John C. Gunther * Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net> * * 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/lic...
31.212963
65
0.751706
509
3,371
4.907662
0.363458
0.105685
0.036029
0.041633
0.236189
0.231385
0.205364
0.161729
0.161729
0.1253
0
0.007128
0.167606
3,371
107
66
31.504673
0.883108
0.194304
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5d6f8e182f42cd344af387b159e277d93a8ace02
295
py
Python
setup.py
REALSYCRO/PyServ
77e62868758003670f47129b3eae8cb998b92a18
[ "MIT" ]
3
2021-08-21T19:00:18.000Z
2022-03-20T13:57:13.000Z
setup.py
REALSYCRO/PyServ
77e62868758003670f47129b3eae8cb998b92a18
[ "MIT" ]
1
2021-08-22T18:25:36.000Z
2021-08-22T19:41:57.000Z
setup.py
REALSYCRO/PyServ
77e62868758003670f47129b3eae8cb998b92a18
[ "MIT" ]
1
2021-08-22T13:32:48.000Z
2021-08-22T13:32:48.000Z
from setuptools import setup setup( name='pyserv', version='1.0', packages=["pyserv", "pyserv.extra", "pyserv.extra.exceptions"], install_requires = [x.rstrip() for x in (open("requirements.txt", "r"))], license='MIT', description='IServ API library', author='Veil', )
26.818182
77
0.644068
36
295
5.25
0.833333
0.116402
0
0
0
0
0
0
0
0
0
0.008163
0.169492
295
11
78
26.818182
0.763265
0
0
0
0
0
0.307432
0.077703
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
5d732948cc25ddfaa4d0b50bc9d49bf29e396fb7
1,200
py
Python
backend/core/tests/test_service.py
VekotinVerstas/sensehel
5851156f0da8cf44cf36cdf9737c6003a87a78c9
[ "MIT" ]
1
2019-04-27T11:08:53.000Z
2019-04-27T11:08:53.000Z
backend/core/tests/test_service.py
VekotinVerstas/sensehel
5851156f0da8cf44cf36cdf9737c6003a87a78c9
[ "MIT" ]
27
2018-12-28T12:38:04.000Z
2022-03-28T19:55:41.000Z
backend/core/tests/test_service.py
VekotinVerstas/sensehel
5851156f0da8cf44cf36cdf9737c6003a87a78c9
[ "MIT" ]
2
2019-11-13T13:24:08.000Z
2019-12-30T14:42:02.000Z
from rest_framework.test import APITestCase from core.models import SensorAttribute, Service, User class ServiceTest(APITestCase): def setUp(self): User.objects.create_user(username="nkha", password="123456") SensorAttribute.objects.create(uri='test uri', description='test description') def...
38.709677
86
0.6675
140
1,200
5.678571
0.335714
0.132075
0.065409
0.079245
0.402516
0.267925
0.267925
0.267925
0.208805
0.208805
0
0.030398
0.205
1,200
30
87
40
0.802935
0.074167
0
0.238095
0
0
0.142728
0
0
0
0
0
0.333333
1
0.095238
false
0.095238
0.095238
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
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
5370e18c7d20ea350551fa09a649bf4b8addb9e6
725
py
Python
zerver/migrations/0208_add_realm_night_logo_fields.py
alexandraciobica/zulip
f3753504469070bfccc73f22f933c87bee7d1852
[ "Apache-2.0" ]
4
2019-06-04T09:06:53.000Z
2019-06-04T09:07:47.000Z
zerver/migrations/0208_add_realm_night_logo_fields.py
991rajat/zulip
648a60baf63f9afade83148bd9ae1fc480510178
[ "Apache-2.0" ]
10
2019-02-26T11:10:42.000Z
2019-02-26T14:30:24.000Z
zerver/migrations/0208_add_realm_night_logo_fields.py
991rajat/zulip
648a60baf63f9afade83148bd9ae1fc480510178
[ "Apache-2.0" ]
1
2020-02-06T13:56:40.000Z
2020-02-06T13:56:40.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.18 on 2019-01-15 16:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('zerver', '0207_multiuseinvite_invited_as'), ] operations = [ migrations.Ad...
27.884615
135
0.613793
77
725
5.584416
0.688312
0.083721
0.106977
0.125581
0.209302
0.209302
0.209302
0.209302
0
0
0
0.044527
0.256552
725
25
136
29
0.753247
0.095172
0
0.333333
1
0
0.191424
0.045942
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
537531aaf4aaa0769253c5b85abfadd00f502725
4,012
py
Python
Cluster member/client.py
wanglabmccc/iiot_project
cd7cc4c9b888d8c74092dac01a5f1ab4648f91ad
[ "MIT" ]
null
null
null
Cluster member/client.py
wanglabmccc/iiot_project
cd7cc4c9b888d8c74092dac01a5f1ab4648f91ad
[ "MIT" ]
null
null
null
Cluster member/client.py
wanglabmccc/iiot_project
cd7cc4c9b888d8c74092dac01a5f1ab4648f91ad
[ "MIT" ]
null
null
null
''' Created on 2013-9-24 The example client program uses some sockets to demonstrate how the server with select() manages multiple connections at the same time . The client starts by connecting each TCP/IP socket to the server @author: mupeng ''' import socket import select import time import struct impor...
24.168675
118
0.618146
506
4,012
4.73913
0.312253
0.055046
0.052544
0.021268
0.257715
0.168057
0.168057
0.12427
0.12427
0.058382
0
0.017621
0.207876
4,012
166
119
24.168675
0.736941
0.032652
0
0.467213
0
0
0.093245
0.007929
0
0
0
0
0
0
null
null
0
0.114754
null
null
0.090164
0
0
0
null
0
0
0
0
0
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
5375de15b391728e9817457541b69155925f899f
23,406
py
Python
DS3-02 - Data Handling.v3.py
burkesquires/git-test
4ab30de06d7790068e75f17a383be81675f4992c
[ "MIT" ]
null
null
null
DS3-02 - Data Handling.v3.py
burkesquires/git-test
4ab30de06d7790068e75f17a383be81675f4992c
[ "MIT" ]
null
null
null
DS3-02 - Data Handling.v3.py
burkesquires/git-test
4ab30de06d7790068e75f17a383be81675f4992c
[ "MIT" ]
null
null
null
# coding: utf-8 # # DS3 Data Handling # ## R. Burke Squires # ### NIAID Bioinformatics and Computational Biosciences Branch (BCBB) # --- # # Outline: # - Intro to Python # - Learn python in Y minutes # # - Importing Data # - csv import # - Excel import # - Database import # - Web import # #...
28.860666
347
0.717252
3,749
23,406
4.434516
0.236596
0.005414
0.006617
0.008
0.135278
0.113383
0.100692
0.085835
0.073083
0.070556
0
0.013324
0.172733
23,406
810
348
28.896296
0.845272
0.761258
0
0.158273
0
0
0.190632
0.043194
0
0
0
0
0
0
null
null
0.007194
0.035971
null
null
0.021583
0
0
0
null
0
0
0
0
0
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
53760bd2abf9738595b381e5f8a5f68249b5bec6
1,275
py
Python
mongodumper.py
ahmedshabib/evergreen-gainsight-hack
e359745832eec50877980374b1d3de029f6358d3
[ "MIT" ]
null
null
null
mongodumper.py
ahmedshabib/evergreen-gainsight-hack
e359745832eec50877980374b1d3de029f6358d3
[ "MIT" ]
null
null
null
mongodumper.py
ahmedshabib/evergreen-gainsight-hack
e359745832eec50877980374b1d3de029f6358d3
[ "MIT" ]
null
null
null
__author__ = 'Ahmed' from pymongo import MongoClient import json import re from os import listdir from os.path import isfile, join client = MongoClient() db = client.hotelinfo j = 0 for i in [ f for f in listdir('json') if isfile(join('json',f)) ]: if i.find(".json") == -1: continue print i ...
27.12766
71
0.529412
137
1,275
4.89781
0.386861
0.052161
0.017884
0
0
0
0
0
0
0
0
0.005734
0.316078
1,275
46
72
27.717391
0.763761
0
0
0.175
0
0
0.138148
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5376ef89eb41506a06ff9b9c8a5ff407807c1925
302
py
Python
python/netvlad_tf/mat_to_checkpoint.py
Triocrossing/netvlad_tf_open
103691ee14f04129d109e191b95beddd53c9a770
[ "MIT" ]
null
null
null
python/netvlad_tf/mat_to_checkpoint.py
Triocrossing/netvlad_tf_open
103691ee14f04129d109e191b95beddd53c9a770
[ "MIT" ]
null
null
null
python/netvlad_tf/mat_to_checkpoint.py
Triocrossing/netvlad_tf_open
103691ee14f04129d109e191b95beddd53c9a770
[ "MIT" ]
null
null
null
import tensorflow as tf from netvlad_tf.net_from_mat import netFromMat from netvlad_tf.nets import defaultCheckpoint tf.reset_default_graph() layers = netFromMat() saver = tf.train.Saver() sess = tf.Session() tf.global_variables_initializer().run(session=sess) saver.save(sess, defaultCheckpoint())
23.230769
51
0.807947
42
302
5.619048
0.571429
0.09322
0.110169
0
0
0
0
0
0
0
0
0
0.092715
302
13
52
23.230769
0.861314
0
0
0
0
0
0
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
5379e49e4ca734dff930aef93fc1d52f2d6944b0
1,570
py
Python
vendor/pywork4core/django_app/mongo_test_case.py
olivierlefloch/django-short-urls
7d6c7f37e2678060d1b36cbb00cbeebb2278cbf2
[ "MIT" ]
1
2015-09-16T23:11:55.000Z
2015-09-16T23:11:55.000Z
vendor/pywork4core/django_app/mongo_test_case.py
olivierlefloch/django-short-urls
7d6c7f37e2678060d1b36cbb00cbeebb2278cbf2
[ "MIT" ]
34
2019-02-03T06:02:55.000Z
2020-03-27T13:14:50.000Z
vendor/pywork4core/django_app/mongo_test_case.py
olivierlefloch/django-short-urls
7d6c7f37e2678060d1b36cbb00cbeebb2278cbf2
[ "MIT" ]
null
null
null
# coding: utf-8 """ Test case for MongoEngine Adapted from https://github.com/MongoEngine/mongoengine/blob/master/mongoengine/django/tests.py MongoEngine's license: https://github.com/MongoEngine/mongoengine/blob/master/LICENSE """ from __future__ import unicode_literals from django.test import TestCase from django...
30.784314
106
0.698089
180
1,570
5.9
0.533333
0.016949
0.026365
0.047081
0.086629
0.086629
0.086629
0
0
0
0
0.000813
0.216561
1,570
50
107
31.4
0.862602
0.380892
0
0.086957
0
0
0.036132
0
0
0
0
0.02
0
1
0.086957
false
0
0.217391
0
0.347826
0
0
0
0
null
0
0
0
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
537a9aa97fc6f8d491ca9e5e3d5e7ad9e965caaf
4,180
py
Python
packages/3d_plotting/examples/compute_field.py
zmoon/scipy-lecture-notes
75a89ddedeb48930dbdb6fe25a76e9ef0587ae21
[ "CC-BY-4.0" ]
2,538
2015-01-01T04:58:41.000Z
2022-03-31T21:06:05.000Z
packages/3d_plotting/examples/compute_field.py
zmoon/scipy-lecture-notes
75a89ddedeb48930dbdb6fe25a76e9ef0587ae21
[ "CC-BY-4.0" ]
362
2015-01-18T14:16:23.000Z
2021-11-18T16:24:34.000Z
packages/3d_plotting/examples/compute_field.py
zmoon/scipy-lecture-notes
75a89ddedeb48930dbdb6fe25a76e9ef0587ae21
[ "CC-BY-4.0" ]
1,127
2015-01-05T14:39:29.000Z
2022-03-25T08:38:39.000Z
""" Helmoltz coils ============== A script that computes the magnetic field generated by a pair of Helmoltz coils. """ import numpy as np from scipy import special, linalg ############################################################################## # Function to caculate the field of a loop def base_vectors(n): ...
30.071942
78
0.528469
695
4,180
3.141007
0.276259
0.012826
0.016033
0.01924
0.068255
0.063216
0.048099
0.048099
0.037105
0.037105
0
0.038613
0.2689
4,180
138
79
30.289855
0.67572
0.454306
0
0
1
0
0
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.103448
0
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
537d275e7c727ea60ffbd87fa2e24a08249e440d
6,523
py
Python
asv_bench/benchmarks/reindex.py
buntwo/pandas
8e6b09ff3a09de58e82da6dcabbfddba61a743d6
[ "BSD-3-Clause" ]
4
2016-10-05T17:38:58.000Z
2020-08-24T16:26:37.000Z
asv_bench/benchmarks/reindex.py
neurodebian/pandas
de3e1e6705b1c1b17f945079201c68a9e8d2ed14
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "BSD-3-Clause" ]
null
null
null
asv_bench/benchmarks/reindex.py
neurodebian/pandas
de3e1e6705b1c1b17f945079201c68a9e8d2ed14
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "BSD-3-Clause" ]
12
2017-05-23T06:01:12.000Z
2021-08-16T05:09:46.000Z
from .pandas_vb_common import * from random import shuffle class Reindexing(object): goal_time = 0.2 def setup(self): self.rng = DatetimeIndex(start='1/1/1970', periods=10000, freq='1min') self.df = DataFrame(np.random.rand(10000, 10), index=self.rng, columns=range...
31.360577
114
0.575502
845
6,523
4.304142
0.168047
0.05499
0.028595
0.024746
0.451471
0.361012
0.339841
0.270553
0.240858
0.208963
0
0.05134
0.250498
6,523
207
115
31.512077
0.692575
0.056262
0
0.212766
0
0
0.023267
0
0
0
0
0
0
1
0.219858
false
0
0.014184
0
0.326241
0
0
0
0
null
0
0
0
0
0
0
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
537d9d89fcb67dfc71ef50aa3556db0e2f389ef3
988
py
Python
tests/licensedcode/data/datadriven/external/fossology-tests/CC/matching.py
s4-2/scancode-toolkit
8931b42e2630b94d0cabc834dfb3c16f01f82321
[ "Apache-2.0", "CC-BY-4.0" ]
1,511
2015-07-01T15:29:03.000Z
2022-03-30T13:40:05.000Z
tests/licensedcode/data/datadriven/external/fossology-tests/CC/matching.py
s4-2/scancode-toolkit
8931b42e2630b94d0cabc834dfb3c16f01f82321
[ "Apache-2.0", "CC-BY-4.0" ]
2,695
2015-07-01T16:01:35.000Z
2022-03-31T19:17:44.000Z
tests/licensedcode/data/datadriven/external/fossology-tests/CC/matching.py
s4-2/scancode-toolkit
8931b42e2630b94d0cabc834dfb3c16f01f82321
[ "Apache-2.0", "CC-BY-4.0" ]
540
2015-07-01T15:08:19.000Z
2022-03-31T12:13:11.000Z
# matching.py - bipartite graph maximum matching algorithms # # Copyright 2015 Jeffrey Finkelstein <jeffrey.finkelstein@gmail.com>. # # This file is part of NetworkX. # # NetworkX is distributed under a BSD license; see LICENSE.txt for more # information. # # This module uses material from the Wikipedia article Hopcrof...
44.909091
79
0.777328
143
988
5.363636
0.678322
0.036506
0
0
0
0
0
0
0
0
0
0.02093
0.129555
988
21
80
47.047619
0.87093
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
537eb1f576d7e12b9abebd19ea3847f84faeea48
3,354
py
Python
sourcecode/src/vx/media/Server.py
ivarvb/MEDIA
ba155a777148000b464419306ecd52e5b8255e62
[ "MIT" ]
null
null
null
sourcecode/src/vx/media/Server.py
ivarvb/MEDIA
ba155a777148000b464419306ecd52e5b8255e62
[ "MIT" ]
null
null
null
sourcecode/src/vx/media/Server.py
ivarvb/MEDIA
ba155a777148000b464419306ecd52e5b8255e62
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Ivar Vargas Belizario # Copyright (c) 2020 # E-mail: ivar@usp.br import tornado.ioloop import tornado.web import tornado.httpserver import tornado.options import signal import ujson import datetime from multiprocessing import cpu_count import os import signal...
27.491803
97
0.608229
368
3,354
5.421196
0.334239
0.071679
0.085714
0.094737
0.393484
0.295238
0.205514
0.156391
0.156391
0.156391
0
0.003116
0.234645
3,354
121
98
27.719008
0.774055
0.25492
0
0.037037
0
0
0.077694
0
0
0
0
0
0
1
0.074074
false
0.018519
0.314815
0
0.407407
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
537f02ae5b1115dfb4492de737d4fcc63203a192
1,121
py
Python
crudapp/employees/migrations/0001_initial.py
GillesJnr/Django-Employee-Database-App
b1d26b829b0e0d031f738859bafaf3a1c2074da2
[ "MIT" ]
null
null
null
crudapp/employees/migrations/0001_initial.py
GillesJnr/Django-Employee-Database-App
b1d26b829b0e0d031f738859bafaf3a1c2074da2
[ "MIT" ]
null
null
null
crudapp/employees/migrations/0001_initial.py
GillesJnr/Django-Employee-Database-App
b1d26b829b0e0d031f738859bafaf3a1c2074da2
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-15 14:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Position', fields=[ ...
32.970588
118
0.581624
112
1,121
5.696429
0.5
0.094044
0.112853
0.15047
0.247649
0.247649
0.247649
0.247649
0.247649
0.247649
0
0.029925
0.284567
1,121
33
119
33.969697
0.765586
0.040143
0
0.384615
1
0
0.094972
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5381717a84ce6eff3591d431d78f804591ab6eed
2,911
py
Python
apps/servers/models.py
asenattime/devops_backend
687cb747339d414b974b8c140736314a84fbd77d
[ "MIT" ]
53
2021-07-14T03:11:39.000Z
2021-09-23T10:39:14.000Z
apps/servers/models.py
asenattime/devops_backend
687cb747339d414b974b8c140736314a84fbd77d
[ "MIT" ]
null
null
null
apps/servers/models.py
asenattime/devops_backend
687cb747339d414b974b8c140736314a84fbd77d
[ "MIT" ]
10
2021-07-14T06:29:14.000Z
2021-09-23T00:25:35.000Z
from django.db import models from django.contrib.auth.models import User class Server(models.Model): ip = models.GenericIPAddressField('管理ip', max_length=15, db_index=True, help_text=u'IP地址') hostname = models.CharField('主机名', max_length=32, db_index=True, help_text=u'主机名') cpu = models.CharField("CPU", ...
54.924528
116
0.650292
405
2,911
4.483951
0.269136
0.101322
0.113987
0.107379
0.2913
0.281388
0.241189
0.126652
0.040749
0.040749
0
0.01943
0.204397
2,911
52
117
55.980769
0.76468
0
0
0
0
0
0.095156
0
0
0
0
0
0
1
0.023256
false
0
0.046512
0.023256
0.72093
0
0
0
0
null
0
0
0
0
0
0
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
53821502a4bd4d2cc147147d53125ed45134db1b
679
py
Python
src/tunel.py
marpuch/raspi-minecraft
065cc07d25eca752b64abcab9b59bba5fcf22d85
[ "CC0-1.0" ]
null
null
null
src/tunel.py
marpuch/raspi-minecraft
065cc07d25eca752b64abcab9b59bba5fcf22d85
[ "CC0-1.0" ]
null
null
null
src/tunel.py
marpuch/raspi-minecraft
065cc07d25eca752b64abcab9b59bba5fcf22d85
[ "CC0-1.0" ]
null
null
null
""" Tunnel generator Generates actually two tunnels. One of glass (so we can see through), on of air (so we can walk inside). Positioning of player can still be improved. """ import mcpi.minecraft as minecraft import mcpi.block as block def generate_tunnel(): mc = minecraft.Minecraft.create() position = mc...
24.25
60
0.649485
95
679
4.536842
0.473684
0.083527
0.032483
0.092807
0
0
0
0
0
0
0
0.023211
0.238586
679
27
61
25.148148
0.810445
0.247423
0
0
1
0
0.015905
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5384409ee0ecc774f8ff031a40f34fb3f70b0402
785
py
Python
Wattpad download.py
jbzdarkid/Random
d0979ca28ecc408d1fa7f2fa7cca96c80ac57376
[ "Apache-2.0" ]
1
2017-11-01T10:22:53.000Z
2017-11-01T10:22:53.000Z
Wattpad download.py
jbzdarkid/Random
d0979ca28ecc408d1fa7f2fa7cca96c80ac57376
[ "Apache-2.0" ]
1
2018-03-16T17:50:23.000Z
2018-03-16T17:51:15.000Z
Wattpad download.py
jbzdarkid/Random
d0979ca28ecc408d1fa7f2fa7cca96c80ac57376
[ "Apache-2.0" ]
5
2015-07-02T17:09:32.000Z
2017-10-04T07:08:00.000Z
import urllib2, re output = '\n\n' url = '76273009-wereling-wounded-on-hold-prologue' page = 1 title = None while(True): text = urllib2.urlopen('http://www.wattpad.com/'+url+'/page/'+str(page)).read() new_title = re.search('<title>(.*?)</title>', text).group(1) if new_title == title: # Reached page limit page = 1 ...
25.322581
80
0.598726
130
785
3.561538
0.469231
0.069114
0.038877
0
0
0
0
0
0
0
0
0.031104
0.180892
785
31
81
25.322581
0.688958
0.034395
0
0.066667
0
0
0.223545
0.084656
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53887efd9e49f222e4b0e4006608841edddc9d1d
9,219
py
Python
src/oci/devops/models/diff_response.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/devops/models/diff_response.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/devops/models/diff_response.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
32.010417
245
0.660701
1,127
9,219
5.120674
0.129547
0.042627
0.124762
0.079709
0.66245
0.511177
0.441518
0.325767
0.261307
0.212788
0
0.002693
0.274867
9,219
287
246
32.121951
0.860583
0.500814
0
0.089888
0
0
0.124757
0.025506
0
0
0
0
0
1
0.224719
false
0
0.022472
0.022472
0.393258
0
0
0
0
null
0
0
0
0
0
0
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
538d24613ebb9ba0b988e19c2d1f97fd3bb726cc
482
py
Python
tests/task/test_comment.py
asyncee/pycamunda
f4834d224ff99fcf80874efeaedf68a8a2efa926
[ "MIT" ]
null
null
null
tests/task/test_comment.py
asyncee/pycamunda
f4834d224ff99fcf80874efeaedf68a8a2efa926
[ "MIT" ]
null
null
null
tests/task/test_comment.py
asyncee/pycamunda
f4834d224ff99fcf80874efeaedf68a8a2efa926
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pytest import pycamunda.base import pycamunda.task def test_comment_load(my_comment_json): user = pycamunda.task.Comment.load(data=my_comment_json) assert isinstance(user, pycamunda.task.Comment) def test_comment_load_raises_key_error(my_comment_json): for key in my_com...
22.952381
60
0.724066
67
482
4.910448
0.402985
0.136778
0.197568
0.109422
0.170213
0
0
0
0
0
0
0.002538
0.182573
482
20
61
24.1
0.832487
0.043568
0
0
0
0
0
0
0
0
0
0
0.083333
1
0.166667
false
0
0.25
0
0.416667
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
53908c797355ce3fee19b861f060ca189c01bdb8
1,333
py
Python
Stock/Trade/Broker/WebTrader.py
Leonardo-YXH/DevilYuan
aca5e3cbfa38257335da16ae40968626bc853dc3
[ "MIT" ]
135
2020-10-23T01:15:39.000Z
2022-03-29T08:39:15.000Z
Stock/Trade/Broker/WebTrader.py
Leonardo-YXH/DevilYuan
aca5e3cbfa38257335da16ae40968626bc853dc3
[ "MIT" ]
1
2019-01-16T03:32:20.000Z
2019-01-16T03:32:20.000Z
Stock/Trade/Broker/WebTrader.py
Leonardo-YXH/DevilYuan
aca5e3cbfa38257335da16ae40968626bc853dc3
[ "MIT" ]
64
2020-10-23T01:15:49.000Z
2022-03-20T10:15:59.000Z
import ssl import random import requests from requests.adapters import HTTPAdapter from requests.packages.urllib3.poolmanager import PoolManager from .DyTrader import * class Ssl3HttpAdapter(HTTPAdapter): def init_poolmanager(self, connections, maxsize, block=False): self.poolmanager = PoolManager(num_po...
27.770833
96
0.615904
130
1,333
6.153846
0.530769
0.055
0.0625
0
0
0
0
0
0
0
0
0.019108
0.293323
1,333
47
97
28.361702
0.830149
0.031508
0
0
0
0.033333
0.070134
0
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
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
539774abfaf0e5ca52ddee857124d47e91af0123
3,198
py
Python
A10_ChangeDet/db_class.py
rensdehond/A10_changeDet
43d19359a882ac34f5059ac0bd36f186e7b44eaf
[ "MIT" ]
null
null
null
A10_ChangeDet/db_class.py
rensdehond/A10_changeDet
43d19359a882ac34f5059ac0bd36f186e7b44eaf
[ "MIT" ]
null
null
null
A10_ChangeDet/db_class.py
rensdehond/A10_changeDet
43d19359a882ac34f5059ac0bd36f186e7b44eaf
[ "MIT" ]
null
null
null
import logging import psycopg2 import sys import json class Database: """ Class die database kan aanroepen. Gebruik Database('metis') om een database te maken. ipv metis kan etl_02, etl_03, localhost of metis (als string) """ def __init__(self, db): self.database_name = db i...
37.623529
124
0.59631
361
3,198
5.193906
0.423823
0.0448
0.046933
0.0304
0.0368
0
0
0
0
0
0
0.019205
0.299875
3,198
84
125
38.071429
0.818222
0.26798
0
0.056604
0
0.018868
0.143814
0.009379
0
0
0
0
0
1
0.075472
false
0.113208
0.09434
0
0.226415
0
0
0
0
null
0
0
0
0
0
0
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
539b770da3c73eb6895381d0aa454eed46d371bb
1,534
py
Python
apex_rostest/apex_launchtest/apex_launchtest/util/__init__.py
oswinso/launch
abaa861f68f60b77585284c6ebf9fcd5bea419db
[ "Apache-2.0" ]
null
null
null
apex_rostest/apex_launchtest/apex_launchtest/util/__init__.py
oswinso/launch
abaa861f68f60b77585284c6ebf9fcd5bea419db
[ "Apache-2.0" ]
null
null
null
apex_rostest/apex_launchtest/apex_launchtest/util/__init__.py
oswinso/launch
abaa861f68f60b77585284c6ebf9fcd5bea419db
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
27.890909
96
0.71708
202
1,534
5.346535
0.579208
0.055556
0.038889
0.055556
0
0
0
0
0
0
0
0.006683
0.219687
1,534
54
97
28.407407
0.895572
0.577575
0
0.076923
0
0
0.226974
0.042763
0
0
0
0
0
1
0.038462
false
0.076923
0.192308
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
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
539cce48acd51dbdcde6af0b7295dbcb5d417702
579
py
Python
totalplot.py
fionanealon/iris-data-set-project
c6d586126f32f6486ba5372108df9a85684c6cf3
[ "Apache-2.0" ]
null
null
null
totalplot.py
fionanealon/iris-data-set-project
c6d586126f32f6486ba5372108df9a85684c6cf3
[ "Apache-2.0" ]
null
null
null
totalplot.py
fionanealon/iris-data-set-project
c6d586126f32f6486ba5372108df9a85684c6cf3
[ "Apache-2.0" ]
null
null
null
# Fiona Nealon, 2018-04-28 # Iris data set analysis # Plot histograms and scatterplots to analyse iris data set # Use seaborn library to analyse data import seaborn as sns # Use matplotlib & pyplot libraries to plot histograms and scatter plot import matplotlib.pyplot as plt # Read csv file into python usi...
28.95
109
0.753022
85
579
5.117647
0.635294
0.096552
0.050575
0
0
0
0
0
0
0
0
0.033264
0.169257
579
19
110
30.473684
0.871102
0.699482
0
0
0
0
0.075862
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
53a1405e01e2a92936e9ea42450aa2da8407d4da
677
py
Python
_states/c_hostname.py
whatevsz/salt-custom-modules
2352ee2bba83a54e9e60cfbf971c20836c9fa677
[ "Apache-2.0" ]
null
null
null
_states/c_hostname.py
whatevsz/salt-custom-modules
2352ee2bba83a54e9e60cfbf971c20836c9fa677
[ "Apache-2.0" ]
null
null
null
_states/c_hostname.py
whatevsz/salt-custom-modules
2352ee2bba83a54e9e60cfbf971c20836c9fa677
[ "Apache-2.0" ]
null
null
null
def set(name): ret = { 'name': name, 'changes': {}, 'result': False, 'comment': '' } current_name = __salt__['c_hostname.get_hostname']() if name == current_name: ret['result'] = True ret['comment'] = "Hostname \"{0}\" already set.".format(name) r...
27.08
71
0.537666
77
677
4.480519
0.376623
0.101449
0.156522
0.165217
0.133333
0
0
0
0
0
0
0.006122
0.276219
677
24
72
28.208333
0.697959
0
0
0.2
0
0
0.289941
0.068047
0
0
0
0
0
1
0.05
false
0
0
0
0.15
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
53aa71eb483a2edecc12d61ae5b732ca7e539325
1,780
py
Python
diana/toolbox/parse_mesh.py
quimaguirre/diana
930da0ea91ad87e354061af18db6c437a3318366
[ "MIT" ]
3
2019-07-11T05:32:13.000Z
2021-03-12T01:10:21.000Z
diana/toolbox/parse_mesh.py
quimaguirre/diana
930da0ea91ad87e354061af18db6c437a3318366
[ "MIT" ]
null
null
null
diana/toolbox/parse_mesh.py
quimaguirre/diana
930da0ea91ad87e354061af18db6c437a3318366
[ "MIT" ]
null
null
null
import networkx def main(): base_dir = "/home/emre/data/ontology/mesh/" rel_file = base_dir + "mtrees2013.bin" m = MESH(rel_file) g = m.get_ontology() #print len(g.nodes()), len(g.edges()) #concept = "Mycoses" concept = "Diabetes Mellitus, Type 2" concept_ids = m.get_concept_ids(concept...
26.969697
75
0.702809
272
1,780
4.272059
0.246324
0.116179
0.068847
0.081756
0.213425
0.096386
0.096386
0.043029
0
0
0
0.006821
0.176404
1,780
65
76
27.384615
0.785812
0.030899
0
0.150943
0
0
0.047619
0.017422
0
0
0
0
0
0
null
null
0
0.018868
null
null
0.037736
0
0
0
null
0
0
0
0
0
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
53ac192322e9b58f0d61007810944783cf2bddea
12,690
py
Python
eigenfaces.py
dongxijia/Eigenfaces
53204cb700f10d113728f0d856ab3a1bcfe7a623
[ "MIT" ]
84
2016-07-18T10:42:49.000Z
2022-03-31T10:40:49.000Z
eigenfaces.py
dongxijia/Eigenfaces
53204cb700f10d113728f0d856ab3a1bcfe7a623
[ "MIT" ]
4
2018-11-05T15:19:18.000Z
2018-12-12T18:55:04.000Z
eigenfaces.py
dongxijia/Eigenfaces
53204cb700f10d113728f0d856ab3a1bcfe7a623
[ "MIT" ]
53
2016-09-24T19:58:30.000Z
2021-12-09T02:36:29.000Z
#!/usr/bin/env python __author__ = 'Aleksandar Gyorev' __email__ = 'a.gyorev@jacobs-university.de' import os import cv2 import sys import shutil import random import numpy as np """ A Python class that implements the Eigenfaces algorithm for face recognition, using eigenvalue decomposition and principle component a...
56.4
148
0.49275
1,425
12,690
4.259649
0.225965
0.015815
0.019275
0.012521
0.220099
0.189786
0.158484
0.158484
0.158484
0.158484
0
0.015008
0.432939
12,690
224
149
56.651786
0.828516
0.223089
0
0.203008
0
0
0.060613
0.003292
0
0
0
0
0
0
null
null
0
0.045113
null
null
0.06015
0
0
0
null
0
0
0
0
0
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
53c0564d867c1de36ad6555fc7100ba951f4ba6e
6,304
py
Python
migrations/versions/e5e0d79b316d_init.py
Baobab-team/baobab-api
e026182a5254ead0949c9b5b339c43a035ef71c8
[ "MIT" ]
null
null
null
migrations/versions/e5e0d79b316d_init.py
Baobab-team/baobab-api
e026182a5254ead0949c9b5b339c43a035ef71c8
[ "MIT" ]
14
2019-12-12T03:30:16.000Z
2020-08-01T22:41:12.000Z
migrations/versions/e5e0d79b316d_init.py
Baobab-team/baobab-api
e026182a5254ead0949c9b5b339c43a035ef71c8
[ "MIT" ]
null
null
null
"""init Revision ID: e5e0d79b316d Revises: Create Date: 2020-06-27 10:35:16.444973 """ import sqlalchemy_utils from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e5e0d79b316d' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### com...
40.152866
99
0.660533
779
6,304
5.245186
0.136072
0.129222
0.121145
0.137053
0.731767
0.729809
0.601077
0.513705
0.451542
0.339452
0
0.006293
0.142925
6,304
156
100
40.410256
0.749954
0.043464
0
0.355072
0
0
0.164025
0
0
0
0
0
0
1
0.014493
false
0
0.021739
0
0.036232
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c24d225aaaee19fcf57f7bea6135a11bf8bff8
1,631
py
Python
tests/integration/test_ses.py
vnvo2409/localstack
2dd467227ba898b7c039252b354ef02b32b96247
[ "Apache-2.0" ]
null
null
null
tests/integration/test_ses.py
vnvo2409/localstack
2dd467227ba898b7c039252b354ef02b32b96247
[ "Apache-2.0" ]
null
null
null
tests/integration/test_ses.py
vnvo2409/localstack
2dd467227ba898b7c039252b354ef02b32b96247
[ "Apache-2.0" ]
null
null
null
import unittest from datetime import date, datetime from localstack.utils.aws import aws_stack TEST_TEMPLATE_ATTRIBUTES = { 'TemplateName': 'hello-world', 'SubjectPart': 'Subject test', 'TextPart': 'hello\nworld', 'HtmlPart': 'hello<br/>world', } class SESTest(unittest.TestCase): def test_list_...
40.775
92
0.717964
179
1,631
6.284916
0.296089
0.08
0.117333
0.120889
0.672889
0.672889
0.672889
0.672889
0.619556
0.619556
0
0.005158
0.167995
1,631
39
93
41.820513
0.823876
0.025138
0
0.548387
0
0
0.150504
0
0
0
0
0
0.258065
1
0.064516
false
0
0.096774
0
0.193548
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c77d52921af33f80e7c597f6154d77ed341442
1,147
py
Python
myuw/authorization.py
uw-it-aca/myuw
3fa1fabeb3c09d81a049f7c1a8c94092d612438a
[ "Apache-2.0" ]
18
2015-02-04T01:09:11.000Z
2021-11-25T03:10:39.000Z
myuw/authorization.py
uw-it-aca/myuw
3fa1fabeb3c09d81a049f7c1a8c94092d612438a
[ "Apache-2.0" ]
2,323
2015-01-15T19:45:10.000Z
2022-03-21T19:57:06.000Z
myuw/authorization.py
uw-it-aca/myuw
3fa1fabeb3c09d81a049f7c1a8c94092d612438a
[ "Apache-2.0" ]
9
2015-01-15T19:29:26.000Z
2022-02-11T04:51:23.000Z
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 import re from uw_pws import PWS from myuw.dao.admin import can_override, is_admin from myuw.dao import pws INVALID_STRING = "Username not a valid netid" NO_USER = "No override user supplied, please enter a UWNetID" def validate_...
26.068182
63
0.721011
161
1,147
4.944099
0.372671
0.082915
0.113065
0.082915
0.155779
0.155779
0.075377
0
0
0
0
0.011983
0.199651
1,147
43
64
26.674419
0.85512
0.195292
0
0
0
0
0.139326
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.045455
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
53ca79fb623d84a151fd084284175bf1175b37ff
174
py
Python
rangeofprimenumbers.py
bjoffficial/Python
73e6fdc19a1bec18488405c4a60c30ba68581ce5
[ "Apache-2.0" ]
null
null
null
rangeofprimenumbers.py
bjoffficial/Python
73e6fdc19a1bec18488405c4a60c30ba68581ce5
[ "Apache-2.0" ]
null
null
null
rangeofprimenumbers.py
bjoffficial/Python
73e6fdc19a1bec18488405c4a60c30ba68581ce5
[ "Apache-2.0" ]
null
null
null
n=int(input("From number")) n1=int(input("To number")) for i in range(n,n1): for j in range(2,i): if i%j==0: break else: print(i)
19.333333
28
0.482759
30
174
2.8
0.6
0.190476
0
0
0
0
0
0
0
0
0
0.035398
0.350575
174
8
29
21.75
0.707965
0
0
0
0
0
0.120482
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
53cb770652b3dd24cb7b60c1090a226130bb01a4
4,165
py
Python
supertunnel/ssh/config.py
alexrudy/supertunnel
4c64e2fedda3382b809a2c3d01c711ec4961f933
[ "BSD-3-Clause" ]
2
2019-09-28T19:48:10.000Z
2021-06-15T13:36:39.000Z
supertunnel/ssh/config.py
alexrudy/supertunnel
4c64e2fedda3382b809a2c3d01c711ec4961f933
[ "BSD-3-Clause" ]
null
null
null
supertunnel/ssh/config.py
alexrudy/supertunnel
4c64e2fedda3382b809a2c3d01c711ec4961f933
[ "BSD-3-Clause" ]
null
null
null
import logging from typing import Any from typing import Dict from typing import IO from typing import Iterable from typing import List from typing import NamedTuple from typing import Optional from typing import Union from .helpers import SSHConfigBase from .helpers import SSHFlag from .helpers import SSHOption from ...
29.539007
95
0.647539
507
4,165
5.163708
0.321499
0.027502
0.048892
0.024064
0.101604
0.064171
0.045837
0.045837
0.045837
0.045837
0
0.001275
0.246579
4,165
140
96
29.75
0.833015
0.171429
0
0.043478
0
0.01087
0.061123
0.017338
0
0
0
0
0
1
0.097826
false
0
0.141304
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
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
53d0669facf0e5e38c761ec3aa89849003cd5ef3
1,119
py
Python
Python_OOP_Softuni/Exam_Prep_02AprilExam/tests/test_magic_card.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
1
2020-12-14T23:25:19.000Z
2020-12-14T23:25:19.000Z
Python_OOP_Softuni/Exam_Prep_02AprilExam/tests/test_magic_card.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
null
null
null
Python_OOP_Softuni/Exam_Prep_02AprilExam/tests/test_magic_card.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
null
null
null
import unittest from project.card.magic_card import MagicCard class TestMagicCard(unittest.TestCase): def test_set_attr(self): tc = MagicCard('card') self.assertEqual(tc.name, 'card') self.assertEqual(tc.damage_points, 5) self.assertEqual(tc.health_points, 80) self.assertE...
31.971429
98
0.678284
143
1,119
5.090909
0.307692
0.144231
0.093407
0.123626
0.506868
0.451923
0.451923
0.343407
0.343407
0.217033
0
0.008018
0.219839
1,119
34
99
32.911765
0.825888
0
0
0.130435
0
0
0.128686
0
0
0
0
0
0.434783
1
0.173913
false
0
0.086957
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
53d0db3afb934826b3de999f8b322de907a978c1
2,500
py
Python
55-57-uplink/my-code/read_more_json.py
Anthlis/My_100_Days_Of_Python
9bdc36075f633099bd70161ae19ffad7ab88a797
[ "MIT" ]
2
2020-11-15T12:44:01.000Z
2021-11-15T12:26:32.000Z
55-57-uplink/my-code/read_more_json.py
Anthlis/My_100_Days_Of_Python
9bdc36075f633099bd70161ae19ffad7ab88a797
[ "MIT" ]
1
2021-06-01T23:51:28.000Z
2021-06-01T23:51:28.000Z
55-57-uplink/my-code/read_more_json.py
Anthlis/My_100_Days_Of_Python
9bdc36075f633099bd70161ae19ffad7ab88a797
[ "MIT" ]
1
2021-01-06T14:36:27.000Z
2021-01-06T14:36:27.000Z
import json str = ''' { "page" : 0, "size" : 20, "totalCount" : 2, "data" : [ { "namespace" : "android", "id" : "0000001111111", "creationTs" : 1516216756819, "name" : "Eric's phone", "description" : "This device was auto re...
45.454545
937
0.5116
264
2,500
4.784091
0.30303
0.019002
0.019002
0.022169
0.172605
0.153603
0.123515
0.071259
0.071259
0.071259
0
0.126993
0.2976
2,500
55
938
45.454545
0.592255
0.3856
0
0.166667
0
0
0.938602
0.032658
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53d9b1e9fd0842c81fc290284f420771ea672ffb
9,792
py
Python
gamelib/pyglet/app/__init__.py
luciotorre/aiamsori
521f3e16868326889caae9f8703ed042aead8817
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2016-07-13T04:30:25.000Z
2016-07-13T04:30:25.000Z
sympy/thirdparty/pyglet/pyglet/app/__init__.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
null
null
null
sympy/thirdparty/pyglet/pyglet/app/__init__.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
1
2021-11-10T06:39:41.000Z
2021-11-10T06:39:41.000Z
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
32.85906
78
0.670343
1,284
9,792
5.034268
0.307632
0.030631
0.012995
0.007426
0.148515
0.094369
0.087871
0.076733
0.076733
0.058478
0
0.004899
0.249489
9,792
297
79
32.969697
0.874677
0.668607
0
0.106667
0
0.013333
0.059188
0
0
0
0
0
0
1
0.226667
false
0
0.12
0.026667
0.426667
0
0
0
0
null
0
0
0
0
0
0
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
53d9efc36c06b01c198aef7f720a9ac3630284c4
1,441
py
Python
lumpy-llamas/lammas/urls.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
lumpy-llamas/lammas/urls.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
lumpy-llamas/lammas/urls.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
"""lammas URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
38.945946
77
0.70923
210
1,441
4.780952
0.347619
0.055777
0.054781
0.023904
0.116534
0.116534
0.074701
0
0
0
0
0.006509
0.14712
1,441
36
78
40.027778
0.810415
0.431645
0
0
0
0
0.197044
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
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
53dc0b3a49b9fef0484011269e1eda561dd5c44d
980
py
Python
chart-generation/data_extractors/istat_code_groups.py
maldins46/CovidTracker
6a50e780935de62e07c691fae2363c290aae5795
[ "MIT" ]
null
null
null
chart-generation/data_extractors/istat_code_groups.py
maldins46/CovidTracker
6a50e780935de62e07c691fae2363c290aae5795
[ "MIT" ]
13
2020-11-04T22:39:55.000Z
2022-03-02T10:27:45.000Z
chart-generation/data_extractors/istat_code_groups.py
maldins46/CovidTracker
6a50e780935de62e07c691fae2363c290aae5795
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Defines the various groups of, based on ISTAT codes. @author: riccardomaldini """ from data_extractors import istat_codes benchmark_array = [ istat_codes.toscana, istat_codes.veneto, istat_codes.marche ] marche_array = [ istat_codes.ancona, istat...
20.851064
52
0.721429
121
980
5.528926
0.454545
0.463378
0.067265
0.06577
0.080717
0
0
0
0
0
0
0.002516
0.188776
980
46
53
21.304348
0.838994
0.123469
0
0.055556
0
0
0
0
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53dc3b1ee48b7b9cf74afe47a085d615cfc2728c
4,388
py
Python
salty_listener.py
BatedUrGonnaDie/salty_bot
f8ad53fdd865762225de49164400db33fae8ba85
[ "MIT" ]
12
2015-01-16T16:48:30.000Z
2020-08-11T20:11:51.000Z
salty_listener.py
BatedUrGonnaDie/salty_bot
f8ad53fdd865762225de49164400db33fae8ba85
[ "MIT" ]
28
2015-01-28T10:54:51.000Z
2018-04-10T19:06:34.000Z
salty_listener.py
BatedUrGonnaDie/salty_bot
f8ad53fdd865762225de49164400db33fae8ba85
[ "MIT" ]
4
2015-07-13T08:41:32.000Z
2019-01-12T16:19:01.000Z
#! /usr/bin/env python2.7 # -*- coding: utf-8 -*- import socket import urlparse import psycopg2 import psycopg2.extras class WebRetrieve: def __init__(self, dev, db_url, web_ip, web_port, web_secret): self.development = dev self.db_url = db_url self.web_secret = "" self.web_secre...
37.504274
170
0.626253
612
4,388
4.285948
0.171569
0.045749
0.042699
0.051849
0.371331
0.364087
0.318719
0.304613
0.293557
0.282501
0
0.005503
0.254558
4,388
116
171
37.827586
0.796393
0.010483
0
0.120879
0
0.054945
0.186175
0
0
0
0
0
0
0
null
null
0.021978
0.043956
null
null
0.010989
0
0
0
null
0
0
0
0
0
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
53ecf4696f29980640e5b0243b87e50c512b07eb
3,183
py
Python
graphql/core/utils/schema_printer.py
defrex/graphql-core
9c8450fa5b2e3dd0a8ea015ac3b9b5f24028ac91
[ "MIT" ]
null
null
null
graphql/core/utils/schema_printer.py
defrex/graphql-core
9c8450fa5b2e3dd0a8ea015ac3b9b5f24028ac91
[ "MIT" ]
null
null
null
graphql/core/utils/schema_printer.py
defrex/graphql-core
9c8450fa5b2e3dd0a8ea015ac3b9b5f24028ac91
[ "MIT" ]
1
2019-08-23T12:52:58.000Z
2019-08-23T12:52:58.000Z
from ..language.printer import print_ast from ..type.definition import ( GraphQLEnumType, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType ) from .ast_from_value import ast_from_value def print_schema(schema): return _print_filtered_schem...
24.674419
109
0.662268
380
3,183
5.231579
0.194737
0.052314
0.042254
0.044266
0.134809
0.095573
0.095573
0.045272
0
0
0
0
0.202011
3,183
128
110
24.867188
0.782677
0
0
0.142857
0
0
0.071316
0.008168
0
0
0
0
0.011905
1
0.190476
false
0
0.035714
0.142857
0.488095
0.357143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
53ed32f073f984461a8218c4ceb05ff966e39267
3,026
py
Python
crud/migrations/0001_initial.py
OuroborosD/03-PiggoV2
0fdabfeca3a29cf0cfb87f120506ad517ee75ce6
[ "MIT" ]
null
null
null
crud/migrations/0001_initial.py
OuroborosD/03-PiggoV2
0fdabfeca3a29cf0cfb87f120506ad517ee75ce6
[ "MIT" ]
null
null
null
crud/migrations/0001_initial.py
OuroborosD/03-PiggoV2
0fdabfeca3a29cf0cfb87f120506ad517ee75ce6
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-04 17:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
51.288136
133
0.600463
314
3,026
5.617834
0.289809
0.068027
0.031179
0.049887
0.676304
0.643424
0.643424
0.643424
0.595805
0.595805
0
0.022817
0.246861
3,026
58
134
52.172414
0.751207
0.014871
0
0.509804
1
0
0.12521
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.137255
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53f3eaece67a12b732abeb0a1079f1d00bcab408
1,231
py
Python
backend/src/plansBilling.py
julianariasquijano/storeDemo
dd5f47eac3287fa21e7e0251d6810773c4d5dcb5
[ "MIT" ]
null
null
null
backend/src/plansBilling.py
julianariasquijano/storeDemo
dd5f47eac3287fa21e7e0251d6810773c4d5dcb5
[ "MIT" ]
null
null
null
backend/src/plansBilling.py
julianariasquijano/storeDemo
dd5f47eac3287fa21e7e0251d6810773c4d5dcb5
[ "MIT" ]
null
null
null
from src.localLib.paymentGateway import FwGateway as paymentGateway from src.models.plans import Plans def runPlansBilling(): """ Process all payments requests for all clients of all plans """ pg = paymentGateway() # Instanciating the paymentGateway plans = Plans() activePlans = plans.getPla...
31.564103
87
0.589764
100
1,231
7.26
0.53
0.019284
0
0
0
0
0
0
0
0
0
0
0.3355
1,231
39
88
31.564103
0.887531
0.098294
0
0
0
0
0.047481
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.08
0
0
0
null
0
0
0
0
0
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
53f9e9406a6de6db1ab24e1bd8b1aef7f202d17c
3,007
py
Python
feffery_antd_components/AntdTabs.py
nodelab-aps/feffery-antd-components
84c66389fa9e1129879ae95e4ca9f24385b6e5d3
[ "MIT" ]
null
null
null
feffery_antd_components/AntdTabs.py
nodelab-aps/feffery-antd-components
84c66389fa9e1129879ae95e4ca9f24385b6e5d3
[ "MIT" ]
null
null
null
feffery_antd_components/AntdTabs.py
nodelab-aps/feffery-antd-components
84c66389fa9e1129879ae95e4ca9f24385b6e5d3
[ "MIT" ]
null
null
null
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class AntdTabs(Component): """An AntdTabs component. Keyword arguments: - children (a list of or a singular dash component, string or number; optional): tab children, i.e. contents. - id (string; ...
39.051948
516
0.697705
332
3,007
6.192771
0.334337
0.131323
0.027724
0.029183
0.217899
0.217899
0.217899
0.217899
0.217899
0.217899
0
0.002048
0.188227
3,007
76
517
39.565789
0.840229
0.418025
0
0
1
0
0.22031
0.013196
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
0
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
99076d61af4d247e2f262184f6009eaeadc0eb8b
1,339
py
Python
jetengine/fields/float_field.py
kpdemetriou/jetengine
1b931efb4a4b0ad7a473773aa6fcf0677c71f122
[ "BSD-3-Clause" ]
5
2019-06-24T08:57:42.000Z
2021-12-17T22:58:08.000Z
jetengine/fields/float_field.py
kpdemetriou/jetengine
1b931efb4a4b0ad7a473773aa6fcf0677c71f122
[ "BSD-3-Clause" ]
1
2020-02-24T15:04:13.000Z
2020-07-31T11:47:44.000Z
jetengine/fields/float_field.py
kpdemetriou/jetengine
1b931efb4a4b0ad7a473773aa6fcf0677c71f122
[ "BSD-3-Clause" ]
3
2019-11-07T13:57:40.000Z
2021-12-17T22:58:00.000Z
from jetengine.fields.base_field import BaseField class FloatField(BaseField): """ Field responsible for storing floating-point values (:py:func:`float`). Usage: .. testcode:: modeling_fields name = FloatField(required=True, min_value=0.1, max_value=255.6) Available arguments (apart fr...
26.78
99
0.622106
177
1,339
4.559322
0.367232
0.069393
0.05948
0.05948
0.356877
0.356877
0.356877
0.257745
0.257745
0.257745
0
0.00639
0.29873
1,339
49
100
27.326531
0.853035
0.318895
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0
0.576923
0
0
0
0
null
0
0
0
0
0
0
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
9908a98164d79daf7aa90d02cbe08ac2f0afc97a
239
py
Python
04-Webpage/functions.py
Serrat96/GoldAnalysis
5191c6b764e4a3a629ed4f1b5c68df660512d578
[ "MIT" ]
null
null
null
04-Webpage/functions.py
Serrat96/GoldAnalysis
5191c6b764e4a3a629ed4f1b5c68df660512d578
[ "MIT" ]
null
null
null
04-Webpage/functions.py
Serrat96/GoldAnalysis
5191c6b764e4a3a629ed4f1b5c68df660512d578
[ "MIT" ]
1
2021-07-27T07:28:27.000Z
2021-07-27T07:28:27.000Z
import pandas as pd def read_data(path: str): try: return pd.read_parquet(path) except: initial_path = r'/app/centralbankanalytics/' path_2 = path[3:] return pd.read_parquet(initial_path + path_2)
21.727273
53
0.640167
33
239
4.424242
0.575758
0.109589
0.164384
0.260274
0
0
0
0
0
0
0
0.017045
0.263598
239
10
54
23.9
0.8125
0
0
0
0
0
0.108787
0.108787
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54c98e1962c36de295603a01a462cdc019b60cf2
7,652
py
Python
src/process/domain/integration/services/DataIntegrationService.py
PythonDataIntegrator/pythondataintegrator
6167778c36c2295e36199ac0d4d256a4a0c28d7a
[ "MIT" ]
14
2020-12-19T15:06:13.000Z
2022-01-12T19:52:17.000Z
src/process/domain/integration/services/DataIntegrationService.py
PythonDataIntegrator/pythondataintegrator
6167778c36c2295e36199ac0d4d256a4a0c28d7a
[ "MIT" ]
43
2021-01-06T22:05:22.000Z
2022-03-10T10:30:30.000Z
src/process/domain/integration/services/DataIntegrationService.py
PythonDataIntegrator/pythondataintegrator
6167778c36c2295e36199ac0d4d256a4a0c28d7a
[ "MIT" ]
4
2020-12-18T23:10:09.000Z
2021-04-02T13:03:12.000Z
from typing import List from injector import inject from domain.integration.services.DataIntegrationColumnService import DataIntegrationColumnService from domain.integration.services.DataIntegrationConnectionService import DataIntegrationConnectionService from infrastructure.data.RepositoryProvider import RepositoryP...
51.013333
134
0.645321
680
7,652
7.039706
0.141176
0.225611
0.075413
0.060581
0.535408
0.479841
0.387508
0.302904
0.283685
0.283685
0
0.001279
0.284893
7,652
149
135
51.355705
0.873538
0.123758
0
0.227723
0
0
0.01273
0.003528
0
0
0
0.006711
0
1
0.089109
false
0
0.09901
0
0.277228
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54cf528197c821cd4b4b40a435e9f8f3350fb1c0
41,368
py
Python
common/rofi/.config/rofi/scripts/emoji.py
amiroslaw/dotfiles
d6af6daac17b10ad9c9415d8f98b1210843d4977
[ "MIT" ]
null
null
null
common/rofi/.config/rofi/scripts/emoji.py
amiroslaw/dotfiles
d6af6daac17b10ad9c9415d8f98b1210843d4977
[ "MIT" ]
null
null
null
common/rofi/.config/rofi/scripts/emoji.py
amiroslaw/dotfiles
d6af6daac17b10ad9c9415d8f98b1210843d4977
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- from subprocess import Popen, PIPE emojis="""⛑🏻 Helmet With White Cross, Type-1-2 💏🏻 Kiss, Type-1-2 💑🏻 Couple With Heart, Type-1-2 ⛷🏻 Skier, Type-1-2 😀 Grinning Face 😁 Beaming Face With Smiling Eyes 😂 Face With Tears of Joy 🤣 Rolling on the Floor Laughing 😃 Grinni...
18.345011
82
0.705884
7,752
41,368
4.223684
0.517415
0.012705
0.018264
0.023029
0.021043
0.016034
0.012919
0.007116
0.005803
0
0
0.003025
0.192927
41,368
2,254
83
18.35315
0.871597
0.000943
0
0.003114
0
0
0.979142
0
0
0
0
0
0
1
0
false
0.001335
0.000445
0
0.000445
0.000445
0
0
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
54d2454a0ee289fb1c0b39783dc22b2ce31236e0
527
py
Python
StudyHub/quizes/migrations/0004_alter_quiz_pub_date.py
NimVrod/StudyHub
82729151b4a604adb5a368833480d37049d3630a
[ "CC0-1.0" ]
null
null
null
StudyHub/quizes/migrations/0004_alter_quiz_pub_date.py
NimVrod/StudyHub
82729151b4a604adb5a368833480d37049d3630a
[ "CC0-1.0" ]
null
null
null
StudyHub/quizes/migrations/0004_alter_quiz_pub_date.py
NimVrod/StudyHub
82729151b4a604adb5a368833480d37049d3630a
[ "CC0-1.0" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-25 11:06 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('quizes', '0003_alter_quiz_pub_date'), ] operations = [ migrations.AlterField( ...
25.095238
137
0.647059
65
527
5.123077
0.661538
0.024024
0
0
0
0
0
0
0
0
0
0.09204
0.237192
527
20
138
26.35
0.736318
0.085389
0
0
1
0
0.116667
0.05
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54d378adae5887bd27070dd5feb1bd88c46cea7d
1,765
py
Python
impala/_thrift_gen/Metrics/ttypes.py
wzhou-code/impyla
2ff9bf757e3ea6061007470e8cdb0f1a492fbf42
[ "Apache-2.0" ]
661
2015-01-08T08:33:43.000Z
2022-03-28T06:29:15.000Z
impala/_thrift_gen/Metrics/ttypes.py
wzhou-code/impyla
2ff9bf757e3ea6061007470e8cdb0f1a492fbf42
[ "Apache-2.0" ]
389
2015-01-13T14:58:47.000Z
2022-03-29T14:45:17.000Z
impala/_thrift_gen/Metrics/ttypes.py
wzhou-code/impyla
2ff9bf757e3ea6061007470e8cdb0f1a492fbf42
[ "Apache-2.0" ]
262
2015-01-24T02:29:47.000Z
2022-03-03T19:13:07.000Z
# # Autogenerated by Thrift Compiler (0.11.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py:new_style,no_utf8strings # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException fr...
19.611111
93
0.539377
222
1,765
4.054054
0.364865
0.06
0.043333
0.026667
0.333333
0.333333
0.333333
0.333333
0.333333
0.333333
0
0.056034
0.342776
1,765
89
94
19.831461
0.719828
0.085552
0
0.056338
1
0
0.175592
0
0
0
0
0
0
1
0
false
0
0.056338
0
0.394366
0
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
54d8aa5e0065b99f08828854f679781ed42b4b20
340
py
Python
ymir/mixins/__init__.py
mattvonrocketstein/ymir
a16117ec64c60ec52b0daa3b19eb711ec42b5070
[ "MIT" ]
3
2015-10-14T04:07:28.000Z
2017-09-09T11:12:51.000Z
ymir/mixins/__init__.py
mattvonrocketstein/ymir
a16117ec64c60ec52b0daa3b19eb711ec42b5070
[ "MIT" ]
36
2015-05-07T11:46:32.000Z
2021-09-23T23:20:56.000Z
ymir/mixins/__init__.py
mattvonrocketstein/ymir
a16117ec64c60ec52b0daa3b19eb711ec42b5070
[ "MIT" ]
3
2016-01-05T17:04:07.000Z
2016-03-14T09:08:22.000Z
# -*- coding: utf-8 -*- """ ymir.mixins """ from .packages import PackageMixin from ._ansible import AnsibleMixin from ._fabric import FabricMixin from .puppet import PuppetMixin from .rsync import RsyncMixin __all__ = [ tmp.__name__ for tmp in [PackageMixin, AnsibleMixin, PuppetMixin, FabricMixin, ...
20
34
0.711765
36
340
6.444444
0.611111
0
0
0
0
0
0
0
0
0
0
0.00365
0.194118
340
16
35
21.25
0.843066
0.1
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
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
0
0
0
0
0
0
1
0
0
0
0
1
54da2e236fbc0b68bc89dc6f90d94f8d45618742
1,294
py
Python
aep/di.py
nemesiscodex/plagas-backend
633b14e87bbc7f7759122c9a918cea7efb8dc3d5
[ "MIT" ]
2
2019-12-13T17:54:35.000Z
2019-12-14T11:17:07.000Z
aep/di.py
nemesiscodex/plagas-backend
633b14e87bbc7f7759122c9a918cea7efb8dc3d5
[ "MIT" ]
1
2019-12-14T16:02:10.000Z
2019-12-14T16:07:47.000Z
aep/di.py
nemesiscodex/darti-backend
633b14e87bbc7f7759122c9a918cea7efb8dc3d5
[ "MIT" ]
null
null
null
from dependency_injector import containers, providers from aep.data.datasources import AreaDatasource, SensorDatasource, ReadingDatasource, ActivationDatasource from aep.data.repositories import AreaRepository, SensorRepository, ReadingRepository, ActivationRepository from aep.presentation.services import AreaService,...
47.925926
107
0.827666
109
1,294
9.816514
0.284404
0.179439
0.095327
0.120561
0.140187
0
0
0
0
0
0
0
0.101236
1,294
26
108
49.769231
0.920034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.210526
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
54dc87aef4f889086e0aa348c40f798af4b7dbc7
1,605
py
Python
authentication/api/serializers.py
pykulytsky/django-drf-jwt-auth
19e338c6078cf16cf78e474c89c6ddd27f6ab885
[ "MIT" ]
null
null
null
authentication/api/serializers.py
pykulytsky/django-drf-jwt-auth
19e338c6078cf16cf78e474c89c6ddd27f6ab885
[ "MIT" ]
1
2021-06-25T15:47:35.000Z
2021-06-25T15:47:35.000Z
authentication/api/serializers.py
pykulytsky/django-drf-jwt-auth
19e338c6078cf16cf78e474c89c6ddd27f6ab885
[ "MIT" ]
null
null
null
from rest_framework import serializers from authentication.models import User, UserManager from django.contrib.auth import authenticate class RegistrationSerializer(serializers.ModelSerializer): password = serializers.CharField( max_length=128, min_length=8, write_only=True ) token...
30.283019
80
0.679128
172
1,605
6.22093
0.395349
0.04486
0.107477
0.135514
0.284112
0.214953
0.140187
0.140187
0.106542
0.106542
0
0.012966
0.231153
1,605
52
81
30.865385
0.854133
0
0
0.057143
0
0
0.092835
0
0
0
0
0
0
1
0.057143
false
0.171429
0.085714
0.028571
0.457143
0
0
0
0
null
0
0
0
0
0
0
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
54dce868751a05e0b14c85cece72dadb6466455f
7,870
py
Python
ckanext/harvest/logic/validators.py
dassolkim/ckan-harvest
ddb60fb294dcf020280940c99036b2c2c479ea0e
[ "PostgreSQL" ]
null
null
null
ckanext/harvest/logic/validators.py
dassolkim/ckan-harvest
ddb60fb294dcf020280940c99036b2c2c479ea0e
[ "PostgreSQL" ]
null
null
null
ckanext/harvest/logic/validators.py
dassolkim/ckan-harvest
ddb60fb294dcf020280940c99036b2c2c479ea0e
[ "PostgreSQL" ]
null
null
null
import logging import urlparse import json from ckan.lib.navl.dictization_functions import Invalid, validate from ckan import model from ckan.plugins import PluginImplementations from ckanext.harvest.plugin import DATASET_TYPE_NAME from ckanext.harvest.model import HarvestSource, UPDATE_FREQUENCIES, HarvestJob from c...
30.984252
79
0.622363
969
7,870
4.919505
0.232198
0.029998
0.026851
0.020978
0.144955
0.10237
0.10237
0.090203
0.074261
0.060415
0
0.002123
0.281703
7,870
253
80
31.106719
0.841146
0.068488
0
0.217143
0
0
0.086737
0
0
0
0
0.003953
0
0
null
null
0
0.057143
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