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
533c689999c368cfd2824982d040a984df189702
3,909
py
Python
tests/test_webframe.py
zsolt-beringer/osm-gimmisn
b0cbf2e88c1846ef49e33fd32aeb6b4ecabea4c0
[ "MIT" ]
null
null
null
tests/test_webframe.py
zsolt-beringer/osm-gimmisn
b0cbf2e88c1846ef49e33fd32aeb6b4ecabea4c0
[ "MIT" ]
null
null
null
tests/test_webframe.py
zsolt-beringer/osm-gimmisn
b0cbf2e88c1846ef49e33fd32aeb6b4ecabea4c0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (c) 2019 Miklos Vajna and contributors. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """The test_webframe module covers the webframe module.""" from typing import List from typing import TYPE_CHECKING from typing import Tupl...
33.991304
89
0.643643
457
3,909
5.352298
0.352298
0.035977
0.031889
0.039248
0.162306
0.162306
0.162306
0.162306
0.102208
0
0
0.00704
0.236889
3,909
114
90
34.289474
0.81294
0.164236
0
0.081081
0
0
0.094287
0.014986
0
0
0
0
0.175676
1
0.121622
false
0
0.175676
0
0.405405
0
0
0
0
null
0
0
0
0
0
0
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
1
0
533cc101e9c7e5be34bb424dc7dd27a2b33a585a
6,533
py
Python
spotify.py
nimatest1234/telegram_spotify_downloader_bot
7e0a9ba32ee219752582b917867600653337f3d1
[ "MIT" ]
null
null
null
spotify.py
nimatest1234/telegram_spotify_downloader_bot
7e0a9ba32ee219752582b917867600653337f3d1
[ "MIT" ]
null
null
null
spotify.py
nimatest1234/telegram_spotify_downloader_bot
7e0a9ba32ee219752582b917867600653337f3d1
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import spotipy from spotipy.oauth2 import SpotifyClientCredentials import requests from youtube_search import YoutubeSearch import youtube_dl import eyed3.id3 import eyed3 import lyricsgenius import telepot spotifyy = spotipy.Spotify( client_credentials_manager=SpotifyClient...
34.026042
106
0.590693
717
6,533
5.295676
0.245467
0.011061
0.044245
0.08296
0.29497
0.271267
0.266526
0.224124
0.169871
0.120095
0
0.044274
0.263585
6,533
191
107
34.204188
0.744959
0.015001
0
0.21875
0
0
0.160392
0.026447
0
0
0
0
0
1
0.04375
false
0.00625
0.0625
0
0.14375
0.06875
0
0
0
null
0
0
0
0
0
0
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
1
0
533d2e7d7e3bbba4894560b223b684f968b2d464
5,512
py
Python
tests/test_atomdict.py
Tillsten/atom
19b6291f7d3c9b3828dcd73e900b8dcbc2ddf92d
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/test_atomdict.py
Tillsten/atom
19b6291f7d3c9b3828dcd73e900b8dcbc2ddf92d
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/test_atomdict.py
Tillsten/atom
19b6291f7d3c9b3828dcd73e900b8dcbc2ddf92d
[ "BSD-3-Clause-Clear" ]
null
null
null
#------------------------------------------------------------------------------ # Copyright (c) 2018-2019, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. #------------------------------------------------...
28.559585
79
0.622097
709
5,512
4.668547
0.114245
0.181269
0.097281
0.095166
0.693958
0.61994
0.561631
0.464955
0.358308
0.308459
0
0.025034
0.20283
5,512
192
80
28.708333
0.728266
0.110668
0
0.432203
0
0
0.028944
0
0
0
0
0
0.254237
1
0.084746
false
0
0.025424
0
0.194915
0
0
0
0
null
0
0
0
0
0
0
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
1
0
533df513d0a6e1b0c3e33a0160d65ef452f32685
433
py
Python
dippy/core/timestamp.py
eggveloper/dippy.core
8ad613a50bcbf52132de1ece889e22fa4aba3a44
[ "MIT" ]
4
2021-04-23T10:26:28.000Z
2021-08-29T15:34:46.000Z
dippy/core/timestamp.py
eggveloper/dippy.core
8ad613a50bcbf52132de1ece889e22fa4aba3a44
[ "MIT" ]
23
2021-05-27T13:48:32.000Z
2021-12-15T15:41:28.000Z
dippy/core/timestamp.py
eggveloper/dippy.core
8ad613a50bcbf52132de1ece889e22fa4aba3a44
[ "MIT" ]
7
2021-05-22T17:16:57.000Z
2021-12-15T15:19:12.000Z
from datetime import datetime class Timestamp(float): def __new__(cls, value=None): return super().__new__( cls, datetime.utcnow().timestamp() if value is None else value ) def to_date(self) -> datetime: return datetime.utcfromtimestamp(self) def __repr__(self): ...
24.055556
74
0.625866
51
433
4.882353
0.529412
0.048193
0
0
0
0
0
0
0
0
0
0
0.251732
433
17
75
25.470588
0.768519
0
0
0
0
0
0.071594
0.050808
0
0
0
0
0
1
0.333333
false
0
0.083333
0.333333
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
1
0
0
0
1
1
0
0
3
533dfb21c5c2375616c84f6be95236ba70b32b20
701
py
Python
bible/admin.py
tushortz/biblelover
8ef4980d7f68e4037874373fb0ecde12d2d63d76
[ "MIT" ]
null
null
null
bible/admin.py
tushortz/biblelover
8ef4980d7f68e4037874373fb0ecde12d2d63d76
[ "MIT" ]
null
null
null
bible/admin.py
tushortz/biblelover
8ef4980d7f68e4037874373fb0ecde12d2d63d76
[ "MIT" ]
null
null
null
from django.contrib import admin from bible.models import Bible, VerseOfTheDay @admin.register(Bible) class BibleAdmin(admin.ModelAdmin): list_display = ['__str__', 'text'] readonly_fields = ['book', 'chapter', 'verse', 'text', 'category'] search_fields = ['text', 'book', 'chapter'] list_filter = ['ca...
26.961538
70
0.694722
80
701
5.875
0.5
0.038298
0.134043
0.07234
0.165957
0.165957
0.165957
0
0
0
0
0
0.178317
701
25
71
28.04
0.815972
0
0
0.166667
0
0
0.108417
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0.166667
0.888889
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
533f6cd5ce74f507059e39e73891411c50d53556
15,158
py
Python
typy/nodes.py
Procrat/typy
668cedb7f929256a09f565af9ee43c02889bec3f
[ "MIT" ]
3
2016-03-08T09:55:20.000Z
2016-09-09T12:54:12.000Z
typy/nodes.py
Procrat/typy
668cedb7f929256a09f565af9ee43c02889bec3f
[ "MIT" ]
null
null
null
typy/nodes.py
Procrat/typy
668cedb7f929256a09f565af9ee43c02889bec3f
[ "MIT" ]
null
null
null
""" Our own implementation of an abstract syntax tree (AST). The convert function recursively converts a Python AST (from the module `ast`) to our own AST (of the class `Node`). """ import ast from logging import debug from typy.builtin import data_types from typy.exceptions import NotYetSupported, NoSuchAttribute, ...
29.547758
79
0.605159
1,970
15,158
4.385279
0.092893
0.072115
0.063665
0.089131
0.579697
0.536752
0.485473
0.456187
0.399699
0.382915
0
0.000921
0.283415
15,158
512
80
29.605469
0.794421
0.055482
0
0.502762
0
0
0.057531
0
0
0
0
0.001953
0
1
0.187845
false
0.01105
0.013812
0.041436
0.39779
0
0
0
0
null
0
0
0
0
0
0
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
1
0
533f744d195d3508a544cf4533f2224861641646
2,310
py
Python
anonlink-entity-service/backend/entityservice/integrationtests/objectstoretests/test_objectstore.py
Sam-Gresh/linkage-agent-tools
f405c7efe3fa82d99bc047f130c0fac6f3f5bf82
[ "Apache-2.0" ]
1
2020-05-19T07:29:31.000Z
2020-05-19T07:29:31.000Z
backend/entityservice/integrationtests/objectstoretests/test_objectstore.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
backend/entityservice/integrationtests/objectstoretests/test_objectstore.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
""" Testing: - uploading over existing files - using deleted credentials - using expired credentials """ import io import minio from minio import Minio import pytest from minio.credentials import AssumeRoleProvider, Credentials from entityservice.object_store import connect_to_object_store, connect_to_upload_obje...
32.535211
117
0.685281
267
2,310
5.651685
0.397004
0.037111
0.055666
0.071571
0.252485
0.201458
0.162359
0.121272
0.080848
0.080848
0
0.012936
0.230303
2,310
70
118
33
0.835771
0.130736
0
0.113636
0
0
0.162325
0.034068
0
0
0
0
0
1
0.022727
false
0
0.159091
0
0.204545
0
0
0
0
null
0
0
0
0
0
0
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
1
0
533f98ae9a010e07bbde7ba6ae8dc19383efacaf
1,731
py
Python
soil/build/lib/soil/db/sqlalchemy/api.py
JackDan9/soil
ae612a4634634aace834491fbdefbc69e6167674
[ "MIT" ]
1
2020-08-06T11:58:35.000Z
2020-08-06T11:58:35.000Z
soil/build/lib/soil/db/sqlalchemy/api.py
JackDan9/soil
ae612a4634634aace834491fbdefbc69e6167674
[ "MIT" ]
4
2019-12-13T11:27:28.000Z
2022-02-27T11:58:38.000Z
soil/soil/db/sqlalchemy/api.py
JackDan9/soil
ae612a4634634aace834491fbdefbc69e6167674
[ "MIT" ]
null
null
null
# Copyright 2020 Soil, Inc. # Copyright (c) 2011 X.commerce, a business unit of eBay Inc. # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); yo...
25.086957
78
0.716927
231
1,731
5.233766
0.519481
0.049628
0.044665
0.026468
0.064516
0.064516
0.064516
0
0
0
0
0.013235
0.214327
1,731
68
79
25.455882
0.875735
0.476603
0
0.060606
0
0
0
0
0
0
0
0
0
1
0.121212
false
0
0.333333
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
533fd29f460114d34ef9d86ca150f4d2360ad787
26,237
py
Python
tests/test_models.py
kykrueger/redash
5fd78fdb2324a7c194e8a99c13deb5a57268866c
[ "BSD-2-Clause" ]
1
2019-11-19T06:10:22.000Z
2019-11-19T06:10:22.000Z
tests/test_models.py
kykrueger/redash
5fd78fdb2324a7c194e8a99c13deb5a57268866c
[ "BSD-2-Clause" ]
3
2022-02-14T01:15:27.000Z
2022-02-27T11:21:50.000Z
tests/test_models.py
kykrueger/redash
5fd78fdb2324a7c194e8a99c13deb5a57268866c
[ "BSD-2-Clause" ]
1
2019-12-06T08:30:35.000Z
2019-12-06T08:30:35.000Z
import calendar import datetime from unittest import TestCase import pytz from dateutil.parser import parse as date_parse from tests import BaseTestCase from redash import models, redis_connection from redash.models import db, types from redash.utils import gen_query_hash, utcnow class DashboardTest(BaseTestCase): ...
46.355124
149
0.675192
3,377
26,237
5.007699
0.104827
0.056117
0.058305
0.050736
0.693868
0.62344
0.550529
0.49861
0.453669
0.43522
0
0.021867
0.210428
26,237
565
150
46.437168
0.794458
0.058886
0
0.354762
0
0
0.037533
0
0
0
0
0.00177
0.2
1
0.121429
false
0
0.021429
0
0.169048
0
0
0
0
null
0
0
0
0
0
0
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
1
0
534038a8e2bcedd293d3b518dec4b55832e33688
407
py
Python
.history/List of Capstone Projects/FibonacciSequence_20200516134123.py
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
1
2020-05-18T17:50:00.000Z
2020-05-18T17:50:00.000Z
.history/List of Capstone Projects/FibonacciSequence_20200516134123.py
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
null
null
null
.history/List of Capstone Projects/FibonacciSequence_20200516134123.py
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
null
null
null
''' Fibonacci Sequence ''' import HeaderOfFiles def fibonacciSeq(number): ''' Generate Fibonacci Sequence to the given number. ''' a = 1 b = 1 for i in range(number): yield a a,b = b,a+b while True: try: f = int(input("Enter a number for Fibonacci: "...
15.074074
56
0.547912
51
407
4.372549
0.627451
0.152466
0
0
0
0
0
0
0
0
0
0.007519
0.346437
407
27
57
15.074074
0.830827
0.164619
0
0
1
0
0.169811
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53424970ea429b3e768870aa46951fcf76807afa
463
py
Python
composer/algorithms/mixup/__init__.py
jacobfulano/composer
4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8
[ "Apache-2.0" ]
2
2022-03-17T04:48:04.000Z
2022-03-20T09:06:19.000Z
composer/algorithms/mixup/__init__.py
jacobfulano/composer
4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8
[ "Apache-2.0" ]
null
null
null
composer/algorithms/mixup/__init__.py
jacobfulano/composer
4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 MosaicML. All Rights Reserved. from composer.algorithms.mixup.mixup import MixUp as MixUp from composer.algorithms.mixup.mixup import MixUpHparams as MixUpHparams from composer.algorithms.mixup.mixup import mixup_batch as mixup_batch _name = 'MixUp' _class_name = 'MixUp' _functional = 'mixup_batch' _...
33.071429
72
0.786177
64
463
5.5
0.59375
0.102273
0.1875
0.230114
0.352273
0.352273
0.244318
0
0
0
0
0.041769
0.12095
463
13
73
35.615385
0.823096
0.097192
0
0
0
0
0.257212
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
1
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
2
5342baca137d0ce393a0884db4bee3c92fc045d0
1,503
py
Python
tests/simple_gan_test.py
alanpeixinho/NiftyNet
9a17022a71985974f9e5ca992c765d55860fdd7d
[ "Apache-2.0" ]
null
null
null
tests/simple_gan_test.py
alanpeixinho/NiftyNet
9a17022a71985974f9e5ca992c765d55860fdd7d
[ "Apache-2.0" ]
null
null
null
tests/simple_gan_test.py
alanpeixinho/NiftyNet
9a17022a71985974f9e5ca992c765d55860fdd7d
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import, print_function import unittest import os import tensorflow as tf from tensorflow.keras import regularizers from niftynet.network.simple_gan import SimpleGAN from tests.niftynet_testcase import NiftyNetTestCase class SimpleGANTest(NiftyNetTestCase): def test_3d_reg_shape(s...
30.673469
65
0.642715
199
1,503
4.613065
0.301508
0.058824
0.074074
0.104575
0.679739
0.679739
0.62963
0.62963
0.62963
0.62963
0
0.035398
0.24817
1,503
48
66
31.3125
0.776991
0
0
0.611111
0
0
0.005323
0
0
0
0
0
0.166667
1
0.055556
false
0
0.194444
0
0.277778
0.027778
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
53432a332241c8c7299ada338e326f5385523550
2,537
py
Python
tests/test.py
N4S4/thingspeak_wrapper
f5c26e52c09124b85cc6056782d766d145e65a31
[ "MIT" ]
null
null
null
tests/test.py
N4S4/thingspeak_wrapper
f5c26e52c09124b85cc6056782d766d145e65a31
[ "MIT" ]
null
null
null
tests/test.py
N4S4/thingspeak_wrapper
f5c26e52c09124b85cc6056782d766d145e65a31
[ "MIT" ]
null
null
null
import time import thingspeak_wrapper as tsw # Initiate the class ThingWrapper with (CHANNEL_ID, WRITE_API__KEY, READ_API_KEY) # if is a public channel just pass the CHANNEL_ID argument, api_key defaults are None my_channel = tsw.wrapper.ThingWrapper(501309, '6TQDNWJQ44FA0GAQ', '10EVD2N6YIHI5O7Z') # all set of func...
35.236111
110
0.727237
396
2,537
4.431818
0.338384
0.082051
0.075214
0.036467
0.241595
0.104843
0.037607
0.037607
0
0
0
0.042424
0.154513
2,537
71
111
35.732394
0.775758
0.612534
0
0.090909
0
0
0.071806
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.227273
0
0
0
null
0
0
0
0
0
0
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
1
0
5343c13e8e474004e5dc969475dce6a87967180c
6,798
py
Python
neptunecontrib/monitoring/skopt.py
neptune-ai/neptune-contrib
fe5c6853128020aaaa59b440cc5203b940dcd39a
[ "MIT" ]
22
2020-02-23T21:25:34.000Z
2021-06-11T16:34:27.000Z
neptunecontrib/monitoring/skopt.py
neptune-ai/neptune-contrib
fe5c6853128020aaaa59b440cc5203b940dcd39a
[ "MIT" ]
29
2020-02-11T11:10:22.000Z
2021-10-03T09:01:28.000Z
neptunecontrib/monitoring/skopt.py
neptune-ai/neptune-contrib
fe5c6853128020aaaa59b440cc5203b940dcd39a
[ "MIT" ]
7
2020-05-10T06:59:53.000Z
2021-06-11T16:34:32.000Z
# # Copyright (c) 2019, Neptune Labs Sp. z o.o. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
33.653465
109
0.699912
875
6,798
5.211429
0.275429
0.017763
0.019737
0.025658
0.338596
0.297368
0.269737
0.261623
0.214035
0.214035
0
0.008169
0.207708
6,798
201
110
33.820896
0.83847
0.419388
0
0.168675
0
0
0.077292
0.005597
0
0
0
0
0
1
0.168675
false
0
0.096386
0.012048
0.325301
0.012048
0
0
0
null
0
0
0
0
0
0
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
1
0
534549f2acefb6ab739ca7a1aa4369dcb66352ae
5,771
py
Python
snoopy/server/transforms/Maltego.py
aiddenkeli/Snoopy
dd76180145981b3574b419edce39dbb060bd8c8c
[ "MIT" ]
432
2015-01-07T09:56:32.000Z
2022-03-28T12:15:42.000Z
snoopy/server/transforms/Maltego.py
aiddenkeli/Snoopy
dd76180145981b3574b419edce39dbb060bd8c8c
[ "MIT" ]
9
2015-01-31T10:07:28.000Z
2021-09-10T08:13:47.000Z
snoopy/server/transforms/Maltego.py
aiddenkeli/Snoopy
dd76180145981b3574b419edce39dbb060bd8c8c
[ "MIT" ]
135
2015-01-07T15:06:35.000Z
2022-01-24T02:19:55.000Z
#!/usr/bin/python # # This might be horrible code... # ...but it works # Feel free to re-write in a better way # And if you want to - send it to us, we'll update ;) # maltego@paterva.com (2010/10/18) # import sys from xml.dom import minidom class MaltegoEntity(object): value = ""; weight = 100; displayInformation ...
28.428571
234
0.665916
648
5,771
5.895062
0.271605
0.073298
0.018848
0.050262
0.143979
0.107853
0.067016
0.067016
0.067016
0.049738
0
0.006943
0.176399
5,771
202
235
28.569307
0.79676
0.061688
0
0.117647
0
0
0.17877
0.06947
0
0
0
0
0
0
null
null
0
0.014706
null
null
0.191176
0
0
0
null
0
0
0
0
0
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
53472d85e82afcf0ecb7050477e184968c938897
1,017
py
Python
metadeploy/api/migrations/0050_add_clickthrough_agreement.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
33
2019-03-20T15:34:39.000Z
2022-03-30T15:59:40.000Z
metadeploy/api/migrations/0050_add_clickthrough_agreement.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
2,718
2019-02-27T19:46:07.000Z
2022-03-11T23:18:09.000Z
metadeploy/api/migrations/0050_add_clickthrough_agreement.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
28
2019-03-28T04:57:16.000Z
2022-02-04T16:49:25.000Z
# Generated by Django 2.1.5 on 2019-02-12 21:18 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("api", "0049_add_all_other_translations")] operations = [ migrations.CreateModel( name="ClickThroughAgreement...
27.486486
63
0.474926
81
1,017
5.82716
0.691358
0.050847
0.059322
0.09322
0
0
0
0
0
0
0
0.032646
0.427729
1,017
36
64
28.25
0.778351
0.044248
0
0.166667
1
0
0.117526
0.103093
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5347385bc4a5e5ee6c5f4719e3b7b90b80842cc8
813
py
Python
invenio_iiif/config.py
dfdan/invenio-iiif
2ea2747fd29ab03b1d38e0ca6d2a9c1506aa8cbc
[ "MIT" ]
3
2019-07-25T16:25:22.000Z
2021-02-04T16:51:55.000Z
invenio_iiif/config.py
dfdan/invenio-iiif
2ea2747fd29ab03b1d38e0ca6d2a9c1506aa8cbc
[ "MIT" ]
26
2018-04-10T14:46:34.000Z
2021-06-16T08:51:09.000Z
invenio_iiif/config.py
dfdan/invenio-iiif
2ea2747fd29ab03b1d38e0ca6d2a9c1506aa8cbc
[ "MIT" ]
22
2018-04-04T09:41:38.000Z
2021-11-25T09:33:40.000Z
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2018 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """IIIF API for Invenio.""" IIIF_API_PREFIX = '/iiif/' """URL prefix to IIIF API.""" III...
27.1
72
0.724477
115
813
4.93913
0.495652
0.073944
0.09507
0.091549
0
0
0
0
0
0
0
0.011412
0.137761
813
29
73
28.034483
0.798859
0.291513
0
0
0
0
0.345679
0.283951
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5347c20f1c46f18f1b8fe3023d484d25d1b6adf3
14,306
py
Python
pub_ingest.py
mconlon17/vivo-pub-ingest
7c03ecdd6dc5418121a6b92de1572d1cc63f5cb5
[ "BSD-3-Clause" ]
null
null
null
pub_ingest.py
mconlon17/vivo-pub-ingest
7c03ecdd6dc5418121a6b92de1572d1cc63f5cb5
[ "BSD-3-Clause" ]
1
2015-04-04T01:38:51.000Z
2015-04-04T01:38:51.000Z
pubs/pub_ingest.py
mconlon17/vivo-1.5-improvement
44d8335eb7bbe518374a53c0e1f9f39014023ee7
[ "BSD-3-Clause" ]
null
null
null
#!/user/bin/env/python """ pub_ingest.py -- Read a bibtex file and make VIVO RDF The following objects will be made as needed: -- publisher -- journal -- information resource -- timestamp for the information resource -- people -- authorships -- concepts The result...
37.255208
97
0.636306
1,843
14,306
4.781877
0.157895
0.030183
0.046295
0.01634
0.249404
0.196982
0.157381
0.136389
0.12822
0.117781
0
0.007377
0.241996
14,306
383
98
37.35248
0.80533
0.032853
0
0.189591
0
0.018587
0.315857
0.027016
0
0
0
0
0
0
null
null
0
0.018587
null
null
0.200743
0
0
0
null
0
0
0
0
0
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
5348118dbe9a56351f72fa4c704f5f49e6815a7c
63,527
py
Python
port/platform/common/automation/u_utils.py
u-blox/ubxlib
4dc1b16e6f12354b601cb1c9d799c10f4e2afb54
[ "Apache-2.0" ]
91
2020-12-21T13:10:19.000Z
2022-03-24T23:27:13.000Z
port/platform/common/automation/u_utils.py
u-blox/ubxlib
4dc1b16e6f12354b601cb1c9d799c10f4e2afb54
[ "Apache-2.0" ]
42
2021-01-04T13:35:18.000Z
2022-03-25T08:57:45.000Z
port/platform/common/automation/u_utils.py
u-blox/ubxlib
4dc1b16e6f12354b601cb1c9d799c10f4e2afb54
[ "Apache-2.0" ]
25
2021-01-02T12:37:34.000Z
2022-03-31T01:53:37.000Z
#!/usr/bin/env python '''Generally useful bits and bobs.''' import queue # For PrintThread and exe_run from time import sleep, time, gmtime, strftime # For lock timeout, exe_run timeout and logging from multiprocessing import RLock from copy import copy import threading # For Print...
42.865722
120
0.533332
7,006
63,527
4.669141
0.13203
0.033382
0.011739
0.014123
0.356169
0.29558
0.256481
0.221356
0.198551
0.176877
0
0.008565
0.378784
63,527
1,481
121
42.894666
0.820343
0.214177
0
0.456897
0
0
0.067646
0.000507
0.000958
0
0.000405
0
0
1
0.050766
false
0.002874
0.019157
0
0.104406
0.167625
0
0
0
null
0
0
0
0
0
0
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
1
0
53481a8ce6431996b6ceac97f012f4f1b1b0f592
8,765
py
Python
faigler_mazeh.py
tcjansen/beer
c6421371b6506cef1adf88cefa9a55db2f04e2dc
[ "MIT" ]
null
null
null
faigler_mazeh.py
tcjansen/beer
c6421371b6506cef1adf88cefa9a55db2f04e2dc
[ "MIT" ]
null
null
null
faigler_mazeh.py
tcjansen/beer
c6421371b6506cef1adf88cefa9a55db2f04e2dc
[ "MIT" ]
null
null
null
import numpy as np import astropy.modeling.blackbody as bb import astropy.constants as const from astropy.io import fits from scipy.interpolate import interp2d class FaiglerMazehFit(): def __init__(self, P_orb, inc, R_star, M_star, T_star, A_ellip=False, A_beam=False, R_p=False, a=False, u=False, g=0.65, logg=...
31.989051
89
0.664803
1,398
8,765
4.023605
0.205293
0.016
0.011378
0.008889
0.2096
0.157689
0.129956
0.108978
0.096178
0.081956
0
0.027938
0.207758
8,765
273
90
32.106227
0.782114
0.258985
0
0.104938
0
0
0.074617
0.005364
0
0
0
0
0
1
0.135802
false
0
0.030864
0.018519
0.308642
0.006173
0
0
0
null
0
0
0
0
0
0
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
1
0
534843a13bac167037ca6701e9e5332c6dec3235
2,986
py
Python
src/vanilla_pytorch/prune_model.py
f2010126/LTH_Master
709472e7e7962fbf3a56a620c536fb03d359734f
[ "MIT" ]
null
null
null
src/vanilla_pytorch/prune_model.py
f2010126/LTH_Master
709472e7e7962fbf3a56a620c536fb03d359734f
[ "MIT" ]
1
2021-06-30T13:35:32.000Z
2021-06-30T13:35:32.000Z
src/vanilla_pytorch/prune_model.py
f2010126/LTH_Master
709472e7e7962fbf3a56a620c536fb03d359734f
[ "MIT" ]
1
2021-06-30T13:22:15.000Z
2021-06-30T13:22:15.000Z
import torch.nn.utils.prune as prune import torch from src.vanilla_pytorch.utils import count_rem_weights from src.vanilla_pytorch.models.linearnets import LeNet, init_weights from src.vanilla_pytorch.models.resnets import Resnets def remove_pruning(model): for i, (name, module) in enumerate(model.named_modules()...
38.779221
101
0.662425
432
2,986
4.449074
0.259259
0.056191
0.041623
0.041623
0.547347
0.541623
0.506244
0.483351
0.467222
0.433923
0
0.019239
0.216678
2,986
76
102
39.289474
0.80248
0.244809
0
0.380952
0
0
0.070136
0.01086
0
0
0
0.013158
0
1
0.095238
false
0
0.119048
0
0.261905
0.02381
0
0
0
null
0
0
0
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
534844fa3b3f1c68231a812a9b687424b61ad180
13,681
py
Python
Grid-neighbor-search/GNS/read_instance_2layer_2LMM_L.py
CitrusAqua/mol-infer
6d5411a2cdc7feda418f9413153b1b66b45a2e96
[ "MIT" ]
null
null
null
Grid-neighbor-search/GNS/read_instance_2layer_2LMM_L.py
CitrusAqua/mol-infer
6d5411a2cdc7feda418f9413153b1b66b45a2e96
[ "MIT" ]
null
null
null
Grid-neighbor-search/GNS/read_instance_2layer_2LMM_L.py
CitrusAqua/mol-infer
6d5411a2cdc7feda418f9413153b1b66b45a2e96
[ "MIT" ]
null
null
null
""" read_instance_BH-cyclic.py """ ''' [seed graph] V_C : "V_C" E_C : "E_C" [core specification] ell_LB : "\ell_{\rm LB}" ell_UB : "\ell_{\rm UB}" cs_LB : "\textsc{cs}_{\rm LB}" cs_UB : "\textsc{cs}_{\rm UB}" ''' import sys def read_pmax_file(filename): with ope...
29.421505
133
0.493166
2,339
13,681
2.635742
0.081659
0.025953
0.03163
0.03017
0.534955
0.466504
0.426764
0.397567
0.349878
0.311922
0
0.031969
0.33923
13,681
464
134
29.484914
0.65
0.087201
0
0.312139
0
0
0.009064
0
0
0
0
0
0
1
0.014451
false
0
0.00289
0
0.031792
0.008671
0
0
0
null
0
0
0
0
0
0
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
1
0
53485f957146c431dd0276a23463daf3fd0b5d3c
527
py
Python
gamma/system_input.py
ArtBIT/gamma
4ec03251fcd46cd7ae7b5123ad101064b0f9bdd1
[ "MIT" ]
15
2021-07-19T05:54:00.000Z
2022-03-16T10:24:30.000Z
gamma/system_input.py
ArtBIT/gamma
4ec03251fcd46cd7ae7b5123ad101064b0f9bdd1
[ "MIT" ]
1
2022-02-07T21:27:42.000Z
2022-02-09T12:32:28.000Z
gamma/system_input.py
ArtBIT/gamma
4ec03251fcd46cd7ae7b5123ad101064b0f9bdd1
[ "MIT" ]
3
2022-01-13T10:12:02.000Z
2022-02-08T11:55:29.000Z
from .system import * from .colours import * class InputSystem(System): def init(self): self.key = 'input' def setRequirements(self): self.requiredComponents = ['input'] def updateEntity(self, entity, scene): # don't allow input during a cutscene if scene.cutscene is...
23.954545
65
0.620493
58
527
5.637931
0.568966
0.04893
0.055046
0.214067
0
0
0
0
0
0
0
0
0.288425
527
21
66
25.095238
0.872
0.121442
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.583333
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
1
0
0
0
0
1
0
0
3
53487b0b2e562895d1a372a23c376324cd33f385
3,484
py
Python
tensorflow_federated/python/research/utils/checkpoint_utils_test.py
mcognetta/federated
fa0c1a00b5d77768bc2f38f503f3ef1a65693945
[ "Apache-2.0" ]
null
null
null
tensorflow_federated/python/research/utils/checkpoint_utils_test.py
mcognetta/federated
fa0c1a00b5d77768bc2f38f503f3ef1a65693945
[ "Apache-2.0" ]
null
null
null
tensorflow_federated/python/research/utils/checkpoint_utils_test.py
mcognetta/federated
fa0c1a00b5d77768bc2f38f503f3ef1a65693945
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2019, The TensorFlow Federated Authors. # # 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 ...
35.55102
77
0.751148
505
3,484
4.956436
0.336634
0.035957
0.040751
0.027966
0.443068
0.425489
0.387535
0.387535
0.387535
0.322413
0
0.023074
0.154133
3,484
97
78
35.917526
0.826264
0.326349
0
0.244898
0
0
0.013877
0
0
0
0
0.010309
0.061224
1
0.061224
false
0
0.142857
0.020408
0.326531
0
0
0
0
null
0
0
0
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
534883bea976b0a78d54a9c4ba718667cfc4884f
2,923
py
Python
website/models/user.py
alexli0707/pyforum
4f5ea4a0b07e094e24410ae699016590b9c20d59
[ "Apache-2.0" ]
4
2016-10-13T02:03:55.000Z
2017-04-05T03:21:46.000Z
website/models/user.py
alexli0707/pyforum
4f5ea4a0b07e094e24410ae699016590b9c20d59
[ "Apache-2.0" ]
null
null
null
website/models/user.py
alexli0707/pyforum
4f5ea4a0b07e094e24410ae699016590b9c20d59
[ "Apache-2.0" ]
1
2019-01-01T09:36:28.000Z
2019-01-01T09:36:28.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import peewee from flask import current_app,abort from flask.ext.login import AnonymousUserMixin, UserMixin from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from peewee import Model, IntegerField, CharField,PrimaryKeyField from website.app import db_wr...
27.317757
99
0.63599
332
2,923
5.454819
0.322289
0.046383
0.039757
0.046383
0.261734
0.226394
0.197681
0.123689
0.123689
0.123689
0
0.008858
0.266165
2,923
106
100
27.575472
0.835431
0.034211
0
0.315068
0
0
0.03592
0
0
0
0
0
0
1
0.123288
false
0.109589
0.109589
0.041096
0.534247
0.027397
0
0
0
null
0
0
0
0
0
0
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
5349c9c6e7fa65e3aff751e7538d0e98f7e22725
32
py
Python
FlaskApp/__init__.py
robertavram/project5
12a2816b84be994b561f2f693cf34c0fa4f0ca19
[ "Apache-2.0" ]
7
2015-09-20T22:11:01.000Z
2021-11-09T18:04:47.000Z
FlaskApp/__init__.py
robertavram/project5
12a2816b84be994b561f2f693cf34c0fa4f0ca19
[ "Apache-2.0" ]
9
2020-03-24T15:24:59.000Z
2022-03-11T23:13:00.000Z
FlaskApp/__init__.py
robertavram/project5
12a2816b84be994b561f2f693cf34c0fa4f0ca19
[ "Apache-2.0" ]
2
2016-03-06T00:30:54.000Z
2017-04-06T10:15:06.000Z
# application import application
16
18
0.875
3
32
9.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
2
18
16
0.965517
0.34375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
1
0
1
0
1
0
0
6
534a04c3322e1ecaccb87a17247c9e86ecb95e59
2,039
py
Python
sim2net/speed/constant.py
harikuts/dsr_optimization
796e58da578f7841a060233a8981eb69d92b798b
[ "MIT" ]
12
2018-06-17T05:29:35.000Z
2022-03-20T23:55:49.000Z
sim2net/speed/constant.py
harikuts/dsr_optimization
796e58da578f7841a060233a8981eb69d92b798b
[ "MIT" ]
2
2020-05-02T16:36:34.000Z
2021-03-12T17:40:02.000Z
sim2net/speed/constant.py
harikuts/dsr_optimization
796e58da578f7841a060233a8981eb69d92b798b
[ "MIT" ]
6
2015-09-09T00:00:22.000Z
2020-05-29T20:18:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # (c) 2012 Michal Kalewski <mkalewski at cs.put.poznan.pl> # # This file is a part of the Simple Network Simulator (sim2net) project. # USE, MODIFICATION, COPYING AND DISTRIBUTION OF THIS SOFTWARE IS SUBJECT TO # THE TERMS AND CONDITIONS OF THE MIT LICENSE. YOU SHOULD H...
26.828947
79
0.60667
254
2,039
4.73622
0.440945
0.024938
0.029094
0.024938
0.159601
0.124688
0.124688
0.069825
0.069825
0.069825
0
0.015183
0.289358
2,039
75
80
27.186667
0.815045
0.591957
0
0
0
0
0.034483
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
534aebd1f9c4e46d72dc93169bc74d5b8daf04ea
2,088
py
Python
nexula/nexula_utility/utility_extract_func.py
haryoa/nexula
cc3b5a9b8dd8294bdc47150a1971cb49c4dde225
[ "MIT" ]
3
2020-05-06T08:53:22.000Z
2020-09-24T07:45:38.000Z
nexula/nexula_utility/utility_extract_func.py
haryoa/nexula
cc3b5a9b8dd8294bdc47150a1971cb49c4dde225
[ "MIT" ]
null
null
null
nexula/nexula_utility/utility_extract_func.py
haryoa/nexula
cc3b5a9b8dd8294bdc47150a1971cb49c4dde225
[ "MIT" ]
null
null
null
from nexula.nexula_utility.utility_import_var import import_class class NexusFunctionModuleExtractor(): """ Used for constructing pipeline data preporcessing and feature representer """ def __init__(self, module_class_list, args_dict, **kwargs): """ Instantiate class(es) object in pip...
29.408451
77
0.594828
249
2,088
4.654618
0.253012
0.062123
0.093184
0.067299
0.194133
0.181191
0.096635
0.096635
0.053494
0
0
0
0.306034
2,088
70
78
29.828571
0.799862
0.230364
0
0.068966
0
0
0.02289
0
0
0
0
0.014286
0
1
0.137931
false
0
0.103448
0
0.344828
0
0
0
0
null
0
0
0
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
534b03a80c1d26fa6e09b0d0a301670d7c14eb1d
717
py
Python
marbas/preprocessing.py
MJ-Jang/Marbas
0a144e4f2ae868604ed4d3b7ae892a53fdebf388
[ "Apache-2.0" ]
null
null
null
marbas/preprocessing.py
MJ-Jang/Marbas
0a144e4f2ae868604ed4d3b7ae892a53fdebf388
[ "Apache-2.0" ]
null
null
null
marbas/preprocessing.py
MJ-Jang/Marbas
0a144e4f2ae868604ed4d3b7ae892a53fdebf388
[ "Apache-2.0" ]
null
null
null
import os from configparser import ConfigParser cfg = ConfigParser() #PATH_CUR = os.getcwd() + '/pynori' PATH_CUR = os.path.dirname(__file__) cfg.read(PATH_CUR+'/config.ini') # PREPROCESSING ENG_LOWER = cfg.getboolean('PREPROCESSING', 'ENG_LOWER') class Preprocessing(object): """Preprocessing modules before tokeniz...
18.868421
56
0.707113
97
717
5
0.453608
0.131959
0.098969
0.078351
0.17732
0
0
0
0
0
0
0
0.174338
717
38
57
18.868421
0.819257
0.244073
0
0.157895
0
0
0.063953
0
0
0
0
0
0
1
0.263158
false
0.157895
0.105263
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
1
0
0
3
534bd05a5abb5701233fcbfbd1621011b3753745
2,106
py
Python
pravash/servicenowplugin/xlr-servicenow-plugin-master/src/main/resources/servicenow/ServiceNowQueryTile.py
amvasudeva/rapidata
7b6e984d24866f5cf474847cf462ac628427cf48
[ "Apache-2.0" ]
null
null
null
pravash/servicenowplugin/xlr-servicenow-plugin-master/src/main/resources/servicenow/ServiceNowQueryTile.py
amvasudeva/rapidata
7b6e984d24866f5cf474847cf462ac628427cf48
[ "Apache-2.0" ]
7
2020-06-30T23:14:35.000Z
2021-08-02T17:08:05.000Z
pravash/servicenowplugin/xlr-servicenow-plugin-master/src/main/resources/servicenow/ServiceNowQueryTile.py
amvasudeva/rapidata
7b6e984d24866f5cf474847cf462ac628427cf48
[ "Apache-2.0" ]
null
null
null
# # THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS # FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS. # import com.xhaus.jyson.JysonCodec...
39
141
0.702279
255
2,106
5.698039
0.45098
0.020647
0.015141
0.030282
0.034412
0
0
0
0
0
0
0.007005
0.18661
2,106
54
142
39
0.841214
0.130579
0
0.119048
0
0.02381
0.186199
0.061336
0
0
0
0
0
0
null
null
0.095238
0.02381
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
534bea3e62a4def92bc88bd345a7c584ed8fc91f
272
py
Python
bc/recruitment/migrations/0022_merge_20200331_1633.py
Buckinghamshire-Digital-Service/buckinghamshire-council
bbbdb52b515bcdfc79a2bd9198dfa4828405370e
[ "BSD-3-Clause" ]
1
2021-02-27T07:27:17.000Z
2021-02-27T07:27:17.000Z
bc/recruitment/migrations/0022_merge_20200331_1633.py
Buckinghamshire-Digital-Service/buckinghamshire-council
bbbdb52b515bcdfc79a2bd9198dfa4828405370e
[ "BSD-3-Clause" ]
null
null
null
bc/recruitment/migrations/0022_merge_20200331_1633.py
Buckinghamshire-Digital-Service/buckinghamshire-council
bbbdb52b515bcdfc79a2bd9198dfa4828405370e
[ "BSD-3-Clause" ]
1
2021-06-09T15:56:54.000Z
2021-06-09T15:56:54.000Z
# Generated by Django 2.2.10 on 2020-03-31 15:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("recruitment", "0021_merge_20200331_1503"), ("recruitment", "0013_button_block"), ] operations = []
19.428571
52
0.665441
32
272
5.5
0.84375
0
0
0
0
0
0
0
0
0
0
0.168224
0.213235
272
13
53
20.923077
0.654206
0.169118
0
0
1
0
0.28125
0.107143
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
534d47fdc7a25cba8b55b44734cb77c92e4d9b0f
1,580
py
Python
Stage_3/Task11_Graph/depth_first_search.py
Pyabecedarian/Algorithms-and-Data-Structures-using-Python
08642357df60d48cb185b5487150204b42764260
[ "MIT" ]
null
null
null
Stage_3/Task11_Graph/depth_first_search.py
Pyabecedarian/Algorithms-and-Data-Structures-using-Python
08642357df60d48cb185b5487150204b42764260
[ "MIT" ]
null
null
null
Stage_3/Task11_Graph/depth_first_search.py
Pyabecedarian/Algorithms-and-Data-Structures-using-Python
08642357df60d48cb185b5487150204b42764260
[ "MIT" ]
null
null
null
""" The Depth First Search (DFS) The goal of a dfs is to search as deeply as possible, connecting as many nodes in the graph as possible and branching where necessary. Think of the BFS that builds a search tree one level at a time, whereas the DFS creates a search tree by exploring one branch of the tree a...
30.384615
111
0.623418
224
1,580
4.316964
0.379464
0.049638
0.020683
0.037229
0
0
0
0
0
0
0
0.003653
0.306962
1,580
51
112
30.980392
0.879452
0.485443
0
0.230769
0
0
0.029963
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
534d9ad6eb702336fba7d16987e60cced1fa2979
250
py
Python
salt/_modules/freebsd_common.py
rbtcollins/rusty_rail
6ab8a95247b42a81add03500a75ce6678ede5d58
[ "Apache-2.0" ]
16
2017-08-23T20:04:36.000Z
2020-03-09T19:12:30.000Z
salt/_modules/freebsd_common.py
rbtcollins/rusty_rail
6ab8a95247b42a81add03500a75ce6678ede5d58
[ "Apache-2.0" ]
null
null
null
salt/_modules/freebsd_common.py
rbtcollins/rusty_rail
6ab8a95247b42a81add03500a75ce6678ede5d58
[ "Apache-2.0" ]
2
2018-08-18T04:59:26.000Z
2021-02-20T05:22:57.000Z
def sysrc(value): """Call sysrc. CLI Example: .. code-block:: bash salt '*' freebsd_common.sysrc sshd_enable=YES salt '*' freebsd_common.sysrc static_routes """ return __salt__['cmd.run_all']("sysrc %s" % value)
22.727273
54
0.612
31
250
4.645161
0.709677
0.152778
0.236111
0.305556
0
0
0
0
0
0
0
0
0.244
250
10
55
25
0.761905
0.58
0
0
0
0
0.24359
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
1
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
1
0
0
0
0
1
0
0
4
534f1909a1ab524bb2f051997a7532e48c09b6dd
1,429
py
Python
auth0/v3/management/blacklists.py
jhunken/auth0-python
af5d863ffe75a4a7cd729c9d084cad6b37bd632e
[ "MIT" ]
null
null
null
auth0/v3/management/blacklists.py
jhunken/auth0-python
af5d863ffe75a4a7cd729c9d084cad6b37bd632e
[ "MIT" ]
null
null
null
auth0/v3/management/blacklists.py
jhunken/auth0-python
af5d863ffe75a4a7cd729c9d084cad6b37bd632e
[ "MIT" ]
null
null
null
from .rest import RestClient class Blacklists(object): """Auth0 blacklists endpoints Args: domain (str): Your Auth0 domain, e.g: 'username.auth0.com' token (str): Management API v2 Token telemetry (bool, optional): Enable or disable Telemetry (defaults to True) """ ...
28.58
83
0.588523
182
1,429
4.576923
0.384615
0.028812
0.038415
0.040816
0.288115
0.288115
0.288115
0.288115
0.288115
0.180072
0
0.008946
0.296011
1,429
49
84
29.163265
0.819085
0.538838
0
0
0
0
0.08413
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
534f4e03ba246b728b20809e5d71ee70468b20fb
2,886
py
Python
test_backtest/simplebacktest.py
qzm/QUANTAXIS
055fdc16d67670fb4770e7097865336199e55f3e
[ "MIT" ]
1
2021-05-20T12:33:46.000Z
2021-05-20T12:33:46.000Z
test_backtest/simplebacktest.py
qzm/QUANTAXIS
055fdc16d67670fb4770e7097865336199e55f3e
[ "MIT" ]
null
null
null
test_backtest/simplebacktest.py
qzm/QUANTAXIS
055fdc16d67670fb4770e7097865336199e55f3e
[ "MIT" ]
null
null
null
# coding=utf-8 # # The MIT License (MIT) # # Copyright (c) 2016-2018 yutiansut/QUANTAXIS # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation th...
37.480519
200
0.711365
443
2,886
4.514673
0.392777
0.018
0.0165
0.024
0.2865
0.2625
0.2625
0.2625
0.2625
0.2625
0
0.031383
0.182952
2,886
77
201
37.480519
0.816794
0.389466
0
0
0
0
0.014959
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.111111
0.074074
0
0
0
null
0
0
0
0
0
0
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
1
0
53500afefcda695385af9237df24a3052bec880e
4,010
py
Python
artview/components/field.py
jjhelmus/artview
2af5ccad8d509d11ef6da7c97bee0f7b255b6879
[ "BSD-3-Clause" ]
null
null
null
artview/components/field.py
jjhelmus/artview
2af5ccad8d509d11ef6da7c97bee0f7b255b6879
[ "BSD-3-Clause" ]
null
null
null
artview/components/field.py
jjhelmus/artview
2af5ccad8d509d11ef6da7c97bee0f7b255b6879
[ "BSD-3-Clause" ]
null
null
null
""" field.py Class instance used for modifying field via Display window. """ # Load the needed packages from functools import partial from ..core import Variable, Component, QtGui, QtCore class FieldButtonWindow(Component): '''Class to display a Window with Field name radio buttons.''' Vradar = None #: s...
32.868852
77
0.605486
433
4,010
5.577367
0.337182
0.028986
0.024845
0.038095
0.184679
0.130021
0.104348
0.047205
0.047205
0.047205
0
0
0.293267
4,010
121
78
33.140496
0.852152
0.385786
0
0.12766
0
0
0.022419
0
0
0
0
0
0
1
0.12766
false
0
0.042553
0
0.255319
0
0
0
0
null
0
0
0
0
0
0
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
1
0
5350847a4e985147242bdddaf7eae8ed5d884139
4,101
py
Python
rest_framework_mongoengine/fields.py
Careerleaf/django-rest-framework-mongoengine
fc28dbf7af760528f6f7247e567328df46458799
[ "MIT" ]
null
null
null
rest_framework_mongoengine/fields.py
Careerleaf/django-rest-framework-mongoengine
fc28dbf7af760528f6f7247e567328df46458799
[ "MIT" ]
null
null
null
rest_framework_mongoengine/fields.py
Careerleaf/django-rest-framework-mongoengine
fc28dbf7af760528f6f7247e567328df46458799
[ "MIT" ]
null
null
null
from bson.errors import InvalidId from django.core.exceptions import ValidationError from django.utils.encoding import smart_str from mongoengine import dereference from mongoengine.base.document import BaseDocument from mongoengine.document import Document from rest_framework import serializers from mongoengine.fields...
29.717391
84
0.641795
464
4,101
5.517241
0.256466
0.039063
0.032813
0.03125
0.221484
0.183203
0.145313
0.089844
0.089844
0.089844
0
0.003348
0.271641
4,101
138
85
29.717391
0.853699
0.071934
0
0.258427
0
0
0.056263
0.011147
0
0
0
0
0
1
0.157303
false
0
0.101124
0.089888
0.573034
0
0
0
0
null
0
0
0
0
0
0
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
5351727e655c86d144b817ff63881c17c72740b2
1,657
py
Python
tests/conftest.py
bbhunter/fuzz-lightyear
75c1318d2f747a4fac6b55a46649c944528769ba
[ "Apache-2.0" ]
169
2019-11-06T20:30:16.000Z
2022-01-22T15:55:19.000Z
tests/conftest.py
bbhunter/fuzz-lightyear
75c1318d2f747a4fac6b55a46649c944528769ba
[ "Apache-2.0" ]
29
2019-09-24T19:44:03.000Z
2021-10-01T09:29:30.000Z
tests/conftest.py
bbhunter/fuzz-lightyear
75c1318d2f747a4fac6b55a46649c944528769ba
[ "Apache-2.0" ]
27
2019-12-27T19:57:28.000Z
2021-12-08T05:38:10.000Z
import pytest from fuzz_lightyear.datastore import _ALL_POST_FUZZ_HOOKS_BY_OPERATION from fuzz_lightyear.datastore import _ALL_POST_FUZZ_HOOKS_BY_TAG from fuzz_lightyear.datastore import _RERUN_POST_FUZZ_HOOKS_BY_OPERATION from fuzz_lightyear.datastore import _RERUN_POST_FUZZ_HOOKS_BY_TAG from fuzz_lightyear.datastore...
37.659091
72
0.834037
222
1,657
5.756757
0.288288
0.122066
0.146322
0.162754
0.443662
0.401408
0.273865
0.203443
0.203443
0.203443
0
0
0.114665
1,657
43
73
38.534884
0.871166
0.076041
0
0.060606
0
0
0.003968
0
0
0
0
0
0
1
0.060606
true
0
0.424242
0
0.484848
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
1
0
1
0
0
0
0
3
5351910933f7e53efc48e359df0170e503cf6959
8,375
py
Python
src/diepvries/field.py
michael-the1/diepvries
ddba9c91ee5fb2014dc576ffb74faa40c3d0d04f
[ "MIT" ]
67
2021-08-20T14:30:49.000Z
2022-03-22T23:37:08.000Z
src/diepvries/field.py
michael-the1/diepvries
ddba9c91ee5fb2014dc576ffb74faa40c3d0d04f
[ "MIT" ]
1
2022-01-22T08:19:38.000Z
2022-02-02T08:48:34.000Z
src/diepvries/field.py
michael-the1/diepvries
ddba9c91ee5fb2014dc576ffb74faa40c3d0d04f
[ "MIT" ]
6
2021-09-03T17:21:16.000Z
2021-12-22T12:11:51.000Z
"""Module for a Data Vault field.""" from typing import Optional from . import ( FIELD_PREFIX, FIELD_SUFFIX, METADATA_FIELDS, TABLE_PREFIXES, UNKNOWN, FieldDataType, FieldRole, TableType, ) class Field: """A field in a Data Vault model.""" def __init__( self, ...
34.465021
88
0.612537
988
8,375
5.012146
0.200405
0.043619
0.043619
0.055533
0.296446
0.247779
0.209006
0.125606
0.096527
0.096527
0
0.001541
0.302567
8,375
242
89
34.607438
0.846259
0.297194
0
0.111111
0
0
0.162579
0.081754
0
0
0
0
0
1
0.088889
false
0
0.014815
0
0.22963
0
0
0
0
null
0
0
0
0
0
0
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
1
0
5351c8767281abfc0e99352875444fb190e31a5e
5,702
py
Python
mmdet/datasets/deepscoresV2.py
tuggeluk/mmdetection
669a535c944628a3ab43330cae5c77b643e13a4b
[ "Apache-2.0" ]
1
2020-01-22T15:25:20.000Z
2020-01-22T15:25:20.000Z
mmdet/datasets/deepscoresV2.py
tuggeluk/mmdetection
669a535c944628a3ab43330cae5c77b643e13a4b
[ "Apache-2.0" ]
2
2019-12-16T10:51:41.000Z
2020-10-06T13:46:25.000Z
mmdet/datasets/deepscoresV2.py
tuggeluk/mmdetection
669a535c944628a3ab43330cae5c77b643e13a4b
[ "Apache-2.0" ]
2
2020-04-20T08:58:40.000Z
2021-05-08T07:55:54.000Z
"""DEEPSCORESV2 Provides access to the DEEPSCORESV2 database with a COCO-like interface. The only changes made compared to the coco.py file are the class labels. Author: Lukas Tuggener <tugg@zhaw.ch> Yvan Satyawan <y_satyawan@hotmail.com> Created on: November 23, 2019 """ from .coco import * import os im...
36.318471
118
0.590144
723
5,702
4.484094
0.312586
0.028069
0.012338
0.012955
0.047193
0.02992
0.019124
0
0
0
0
0.017997
0.308138
5,702
156
119
36.551282
0.803802
0.216941
0
0.020408
0
0
0.049698
0.012308
0
0
0
0
0
1
0.071429
false
0
0.05102
0.010204
0.204082
0.010204
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5351dc5962b2184cb179f5f6f4ba10be7538464e
81,840
py
Python
tests/go_cd_configurator_test.py
agsmorodin/gomatic
e6ae871ffc2d027823f6b7a5755e0ac65c724538
[ "MIT" ]
null
null
null
tests/go_cd_configurator_test.py
agsmorodin/gomatic
e6ae871ffc2d027823f6b7a5755e0ac65c724538
[ "MIT" ]
null
null
null
tests/go_cd_configurator_test.py
agsmorodin/gomatic
e6ae871ffc2d027823f6b7a5755e0ac65c724538
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from xml.dom.minidom import parseString import xml.etree.ElementTree as ET from decimal import Decimal from gomatic import GoCdConfigurator, FetchArtifactDir, RakeTask, ExecTask, ScriptExecutorTask, FetchArtifactTask, \ FetchArtifactFile, Tab, GitMaterial, PipelineMaterial,...
49.271523
208
0.697849
9,620
81,840
5.65343
0.055198
0.118854
0.022984
0.02679
0.777553
0.690398
0.594454
0.533648
0.476005
0.424539
0
0.006538
0.17577
81,840
1,660
209
49.301205
0.799718
0.003739
0
0.407054
0
0.008082
0.137514
0.054191
0
0
0
0.000602
0.311536
0
null
null
0.022043
0.007348
null
null
0.004409
0
0
0
null
0
0
0
0
0
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
53527ec6ef2428da3e1c97ac08275c75fd6e2545
1,628
py
Python
gui/wellplot/settings/style/wellplotstylehandler.py
adriangrepo/qreservoir
20fba1b1fd1a42add223d9e8af2d267665bec493
[ "MIT" ]
2
2019-10-04T13:54:51.000Z
2021-05-21T19:36:15.000Z
gui/wellplot/settings/style/wellplotstylehandler.py
adriangrepo/qreservoir
20fba1b1fd1a42add223d9e8af2d267665bec493
[ "MIT" ]
3
2019-11-19T17:06:09.000Z
2020-01-18T20:39:54.000Z
gui/wellplot/settings/style/wellplotstylehandler.py
adriangrepo/qreservoir
20fba1b1fd1a42add223d9e8af2d267665bec493
[ "MIT" ]
2
2020-07-02T13:20:48.000Z
2020-11-11T00:18:51.000Z
import logging from qrutilities.imageutils import ImageUtils from PyQt4.QtGui import QColor logger = logging.getLogger('console') class WellPlotStyleHandler(object): ''' classdocs ''' def saveDataState(self, wellPlotData, wellPlotStyleWidget): if wellPlotStyleWidget.plotTitleOnCheckBox.isC...
45.222222
103
0.72973
141
1,628
8.283688
0.397163
0.010274
0.015411
0.010274
0.291952
0.235445
0.210616
0.152397
0.152397
0.104452
0
0.000759
0.191032
1,628
36
104
45.222222
0.886105
0.005528
0
0.185185
0
0
0.004364
0
0
0
0
0
0
1
0.037037
false
0
0.111111
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
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
1
0
5353098565b09d0a6b37ec215ad6356db9a8d2af
599
py
Python
utm_messages/urls.py
geoffreynyaga/ANGA-UTM
8371a51ad27c85d2479bb34d8c4e02ea28465941
[ "Apache-2.0" ]
7
2020-01-18T16:53:41.000Z
2021-12-21T07:02:43.000Z
utm_messages/urls.py
geoffreynyaga/ANGA-UTM
8371a51ad27c85d2479bb34d8c4e02ea28465941
[ "Apache-2.0" ]
28
2020-01-06T18:36:54.000Z
2022-02-10T10:03:55.000Z
utm_messages/urls.py
geoffreynyaga/ANGA-UTM
8371a51ad27c85d2479bb34d8c4e02ea28465941
[ "Apache-2.0" ]
3
2020-01-18T16:53:54.000Z
2020-10-26T11:21:41.000Z
from django.conf.urls import url from . import views app_name = "messages" urlpatterns = [ url(r'^$', views.InboxListView.as_view(), name='inbox'), url(r'^sent/$', views.SentMessagesListView.as_view(), name='sent'), url(r'^compose/$', views.MessagesCreateView.as_view(), name='compo...
29.95
90
0.60601
72
599
4.902778
0.430556
0.067989
0.169972
0.096317
0
0
0
0
0
0
0
0
0.195326
599
19
91
31.526316
0.732365
0.12187
0
0
0
0
0.178218
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53548465e12a42f5d8a5f01db8be119e8fba5d7d
24,159
py
Python
server/apps/datablock/tests/test_create_worker.py
iotile/iotile_cloud
9dc65ac86d3a730bba42108ed7d9bbb963d22ba6
[ "MIT" ]
null
null
null
server/apps/datablock/tests/test_create_worker.py
iotile/iotile_cloud
9dc65ac86d3a730bba42108ed7d9bbb963d22ba6
[ "MIT" ]
null
null
null
server/apps/datablock/tests/test_create_worker.py
iotile/iotile_cloud
9dc65ac86d3a730bba42108ed7d9bbb963d22ba6
[ "MIT" ]
null
null
null
import datetime import json import dateutil.parser from django.contrib.auth import get_user_model from django.test import Client, TestCase from django.utils import timezone from apps.devicelocation.models import DeviceLocation from apps.physicaldevice.models import Device from apps.property.models import GenericProp...
41.439108
120
0.634919
2,643
24,159
5.657208
0.080969
0.066948
0.044342
0.032103
0.838082
0.822164
0.788523
0.748328
0.727996
0.68546
0
0.032195
0.254315
24,159
582
121
41.510309
0.79778
0
0
0.602
0
0
0.02227
0.002732
0
0
0
0
0.158
1
0.026
false
0
0.042
0
0.07
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
5354d3bcbb084eaac2e9dc5457335c7f402533a9
12,221
py
Python
nova/policies/servers.py
maya2250/nova
e483ca1cd9a5db5856f87fc69ca07c42d2be5def
[ "Apache-2.0" ]
null
null
null
nova/policies/servers.py
maya2250/nova
e483ca1cd9a5db5856f87fc69ca07c42d2be5def
[ "Apache-2.0" ]
1
2020-11-05T17:42:24.000Z
2020-11-05T17:42:24.000Z
nova/policies/servers.py
Mattlk13/nova
5b13eb59540aaf535a53920e783964d106de2620
[ "Apache-2.0" ]
1
2020-07-22T22:14:40.000Z
2020-07-22T22:14:40.000Z
# 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 # d...
29.734793
79
0.524262
1,177
12,221
5.329652
0.220901
0.063128
0.140921
0.073649
0.502949
0.441256
0.394548
0.343058
0.257134
0.218875
0
0.002341
0.370837
12,221
410
80
29.807317
0.8135
0.059897
0
0.448378
0
0
0.305778
0.074226
0
0
0
0
0
1
0.00295
false
0
0.0059
0.00295
0.011799
0
0
0
0
null
0
0
0
0
0
0
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
1
0
5355dedf12aa8e15115b8c77564d80f57eb0ec2a
1,577
py
Python
set-env.py
sajaldebnath/vrops-custom-group-creation
e3c821336832445e93706ad29afe216867660123
[ "MIT" ]
1
2017-08-14T07:51:42.000Z
2017-08-14T07:51:42.000Z
set-env.py
sajaldebnath/vrops-custom-group-creation
e3c821336832445e93706ad29afe216867660123
[ "MIT" ]
null
null
null
set-env.py
sajaldebnath/vrops-custom-group-creation
e3c821336832445e93706ad29afe216867660123
[ "MIT" ]
null
null
null
# !/usr/bin python """ # # set-env - a small python program to setup the configuration environment for data-push.py # data-push.py contains the python program to push attribute values to vROps # Author Sajal Debnath <sdebnath@vmware.com> # """ # Importing the required modules import json import base64 i...
28.672727
107
0.689918
202
1,577
5.30198
0.480198
0.037348
0.052288
0.070962
0
0
0
0
0
0
0
0.006385
0.205453
1,577
55
107
28.672727
0.848364
0.304375
0
0
0
0
0.187379
0
0
0
0
0
0
1
0.076923
false
0.115385
0.115385
0.038462
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
53564fa8ddf1d013bfaf1e0a0630a501757ce124
1,504
py
Python
week02/day08.py
gtadeus/LeetCodeChallenge2009
81d3fae205fb9071d7a98260df9bbeb1c8c8ffe0
[ "MIT" ]
null
null
null
week02/day08.py
gtadeus/LeetCodeChallenge2009
81d3fae205fb9071d7a98260df9bbeb1c8c8ffe0
[ "MIT" ]
null
null
null
week02/day08.py
gtadeus/LeetCodeChallenge2009
81d3fae205fb9071d7a98260df9bbeb1c8c8ffe0
[ "MIT" ]
null
null
null
import unittest # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def sumRootToLeaf(self, root: TreeNode) -> int: m = self.c(root) r=0 for n in ...
28.923077
146
0.475399
203
1,504
3.453202
0.26601
0.051355
0.034237
0.047076
0.245364
0.199715
0.199715
0.097004
0
0
0
0.025471
0.399601
1,504
52
147
28.923077
0.750831
0.031915
0
0.139535
0
0
0.018569
0
0
0
0
0
0.023256
1
0.093023
false
0
0.023256
0
0.325581
0
0
0
0
null
0
0
0
0
0
0
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
1
0
53577342e6db4b3427645ab2e05fe5d3ca60a280
118
py
Python
config.py
tiuD/cross-prom
8b987138ec32e0ac64ca6ffe13d0e1cd0d18aef3
[ "MIT" ]
null
null
null
config.py
tiuD/cross-prom
8b987138ec32e0ac64ca6ffe13d0e1cd0d18aef3
[ "MIT" ]
null
null
null
config.py
tiuD/cross-prom
8b987138ec32e0ac64ca6ffe13d0e1cd0d18aef3
[ "MIT" ]
null
null
null
TOKEN = "1876415562:AAEsX_c9k3Fot2IT0BYRqkCCQ5vFEHQDLDQ" CHAT_ID = [957539786] # e.g. [1234567, 2233445, 3466123...]
29.5
59
0.754237
12
118
7.25
1
0
0
0
0
0
0
0
0
0
0
0.424528
0.101695
118
3
60
39.333333
0.396226
0.29661
0
0
0
0
0.567901
0.567901
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5357c161a07eb9258b2e704a13f4eda6f6ab93d0
63
py
Python
buchschloss/gui2/__init__.py
mik2k2/buchschloss
8a9d17de5847ccab48a0de48aa4b60af2a7cc045
[ "MIT" ]
1
2020-01-13T18:52:51.000Z
2020-01-13T18:52:51.000Z
buchschloss/gui2/__init__.py
mik2k2/buchschloss
8a9d17de5847ccab48a0de48aa4b60af2a7cc045
[ "MIT" ]
48
2020-01-13T10:32:22.000Z
2021-06-16T16:10:19.000Z
buchschloss/gui2/__init__.py
mik2k2/buchschloss
8a9d17de5847ccab48a0de48aa4b60af2a7cc045
[ "MIT" ]
1
2020-01-19T11:07:12.000Z
2020-01-19T11:07:12.000Z
"""entry point""" from . import main start = main.app.launch
10.5
23
0.666667
9
63
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.174603
63
5
24
12.6
0.807692
0.174603
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
1
0
0
0
0
3
5358824aa89abe42dc1e1bfd86a2b5480905c96d
411
py
Python
src/tests/test_stop_at_task.py
francesco-p/FACIL
e719deebb6d2acb5778b60759294c23ea5e2b454
[ "MIT" ]
243
2020-09-22T11:26:34.000Z
2022-03-31T13:16:21.000Z
src/tests/test_stop_at_task.py
francesco-p/FACIL
e719deebb6d2acb5778b60759294c23ea5e2b454
[ "MIT" ]
15
2021-05-09T08:48:15.000Z
2022-03-28T16:07:45.000Z
src/tests/test_stop_at_task.py
francesco-p/FACIL
e719deebb6d2acb5778b60759294c23ea5e2b454
[ "MIT" ]
52
2021-03-01T15:08:29.000Z
2022-03-28T19:53:14.000Z
from tests import run_main_and_assert FAST_LOCAL_TEST_ARGS = "--exp-name local_test --datasets mnist" \ " --network LeNet --num-tasks 5 --seed 1 --batch-size 32" \ " --nepochs 2 --num-workers 0 --stop-at-task 3" def test_finetuning_stop_at_task(): args_line = FAST_LO...
34.25
82
0.647202
58
411
4.241379
0.637931
0.109756
0.081301
0.130081
0
0
0
0
0
0
0
0.022508
0.243309
411
11
83
37.363636
0.768489
0
0
0
0
0
0.389294
0
0
0
0
0
0.25
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53591d67014d7a8167c868c3b270950bcf55cca8
375
py
Python
Python/contains-duplicate.py
shreyventure/LeetCode-Solutions
74423d65702b78974e390f17c9d6365d17e6eed5
[ "MIT" ]
388
2020-06-29T08:41:27.000Z
2022-03-31T22:55:05.000Z
Python/contains-duplicate.py
shreyventure/LeetCode-Solutions
74423d65702b78974e390f17c9d6365d17e6eed5
[ "MIT" ]
178
2020-07-16T17:15:28.000Z
2022-03-09T21:01:50.000Z
Python/contains-duplicate.py
shreyventure/LeetCode-Solutions
74423d65702b78974e390f17c9d6365d17e6eed5
[ "MIT" ]
263
2020-07-13T18:33:20.000Z
2022-03-28T13:54:10.000Z
# Autor: Anuj Sharma (@optider) # Github Profile: https://github.com/Optider/ # Problem Link: https://leetcode.com/problems/contains-duplicate/ class Solution: def containsDuplicate(self, nums: List[int]) -> bool: count = {} for n in nums : if count.get(n) != None : ret...
26.785714
65
0.581333
44
375
4.954545
0.772727
0
0
0
0
0
0
0
0
0
0
0.003788
0.296
375
13
66
28.846154
0.82197
0.365333
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5359c8fd0dd897c7cd9afb3870d3437688b42ddc
8,824
py
Python
build/android/gyp/dex.py
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
build/android/gyp/dex.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
build/android/gyp/dex.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#!/usr/bin/env python # # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import logging import optparse import os import sys import tempfile import zipfile from util import build_utils def _C...
35.580645
80
0.68563
1,146
8,824
5.11082
0.246073
0.017927
0.035855
0.017927
0.187809
0.14393
0.078539
0.024927
0
0
0
0.005602
0.211015
8,824
247
81
35.724696
0.835679
0.142792
0
0.086207
0
0
0.160011
0.014595
0
0
0
0
0
1
0.063218
false
0.005747
0.045977
0
0.16092
0.005747
0
0
0
null
0
0
0
0
0
0
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
1
0
535aa0f5c23f246944ffe8092713608d551e77e5
11,199
py
Python
apps/views.py
Edwardhgj/meiduo
38796f5caf54676eb5620f50ade5474ee8700ad8
[ "MIT" ]
null
null
null
apps/views.py
Edwardhgj/meiduo
38796f5caf54676eb5620f50ade5474ee8700ad8
[ "MIT" ]
6
2020-06-05T23:02:49.000Z
2022-02-11T03:43:22.000Z
apps/views.py
Edwardhgj/meiduo
38796f5caf54676eb5620f50ade5474ee8700ad8
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.hashers import check_password, make_password from django.views import View from utils.response_code import RET, error_map from rest_framework.views import APIView from rest_framework.response import Response from apps.ser...
21.331429
70
0.544156
1,308
11,199
4.602446
0.169725
0.023256
0.038206
0.079734
0.52392
0.402658
0.369934
0.31412
0.292525
0.256312
0
0.004241
0.326279
11,199
524
71
21.372137
0.793638
0.043307
0
0.564179
0
0
0.071878
0.013906
0
0
0
0
0
1
0.101493
false
0.01791
0.035821
0.026866
0.274627
0.068657
0
0
0
null
0
0
0
0
0
0
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
1
0
535ab0b00b5e6dd49d2816d9ac5192041774bc04
4,283
py
Python
learnedevolution/targets/covariance/amalgam_covariance.py
realtwister/LearnedEvolution
2ec49b50a49acae9693cfb05ac114dfbcc4aa337
[ "MIT" ]
null
null
null
learnedevolution/targets/covariance/amalgam_covariance.py
realtwister/LearnedEvolution
2ec49b50a49acae9693cfb05ac114dfbcc4aa337
[ "MIT" ]
null
null
null
learnedevolution/targets/covariance/amalgam_covariance.py
realtwister/LearnedEvolution
2ec49b50a49acae9693cfb05ac114dfbcc4aa337
[ "MIT" ]
null
null
null
import numpy as np; from .covariance_target import CovarianceTarget; class AMaLGaMCovariance(CovarianceTarget): _API=2. def __init__(self, theta_SDR = 1., eta_DEC = 0.9, alpha_Sigma = [-1.1,1.2,1.6], NIS_MAX = 25, tau = 0.35, epsilon = 1e-30, condition_n...
30.592857
87
0.585337
555
4,283
4.291892
0.203604
0.062972
0.062972
0.054576
0.263224
0.202351
0.183039
0.183039
0.156171
0.156171
0
0.020219
0.295587
4,283
139
88
30.81295
0.769307
0.016344
0
0.168224
0
0
0.016861
0.005699
0
0
0
0
0
1
0.093458
false
0.009346
0.018692
0.009346
0.158879
0
0
0
0
null
0
0
0
0
0
0
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
1
0
535b6a1790a4b33142e1922aac85ef30e05ce452
1,487
gyp
Python
binding.gyp
terrorizer1980/fs-admin
e21216161c56def4ca76a3ef4e71844e2ba26074
[ "MIT" ]
25
2017-10-14T22:54:00.000Z
2022-02-28T16:45:44.000Z
binding.gyp
icecream17/fs-admin
e21216161c56def4ca76a3ef4e71844e2ba26074
[ "MIT" ]
46
2019-02-22T15:17:32.000Z
2022-03-15T16:04:38.000Z
binding.gyp
icecream17/fs-admin
e21216161c56def4ca76a3ef4e71844e2ba26074
[ "MIT" ]
19
2018-01-04T00:52:17.000Z
2022-02-05T17:18:17.000Z
{ 'target_defaults': { 'win_delay_load_hook': 'false', 'conditions': [ ['OS=="win"', { 'msvs_disabled_warnings': [ 4530, # C++ exception handler used, but unwind semantics are not enabled 4506, # no definition for inline function ], }], ], }, 'targets'...
24.377049
83
0.438467
120
1,487
5.241667
0.675
0.044515
0.057234
0.081081
0
0
0
0
0
0
0
0.017076
0.369872
1,487
60
84
24.783333
0.654216
0.065905
0
0.416667
0
0
0.445887
0.146465
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
535e247a8a58c1477770025f4437600400e0562a
2,917
py
Python
src/botwtracker/settings.py
emoritzx/botw-tracker
9c096e62825f2ba2f0f66167b646eaf5a1b5b50a
[ "MIT" ]
7
2017-04-25T10:16:20.000Z
2022-02-25T05:58:16.000Z
src/botwtracker/settings.py
emoritzx/botw-tracker
9c096e62825f2ba2f0f66167b646eaf5a1b5b50a
[ "MIT" ]
1
2020-01-02T20:40:35.000Z
2020-01-02T21:10:51.000Z
src/botwtracker/settings.py
emoritzx/botw-tracker
9c096e62825f2ba2f0f66167b646eaf5a1b5b50a
[ "MIT" ]
3
2020-01-02T21:11:21.000Z
2021-12-11T13:49:35.000Z
"""Django settings for botwtracker project. Copyright (c) 2017, Evan Moritz. botw-tracker is an open source software project released under the MIT License. See the accompanying LICENSE file for terms. """ import os from .config_local import * # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
26.044643
91
0.683579
304
2,917
6.447368
0.414474
0.09949
0.060714
0.028571
0.207143
0.173469
0.072449
0.041837
0.041837
0
0
0.010025
0.179294
2,917
111
92
26.279279
0.808688
0.217004
0
0.028169
0
0
0.537748
0.452539
0
0
0
0
0
1
0
false
0.070423
0.028169
0
0.028169
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
535e920c95d9b042b1a45ee54769faf051d34c56
1,013
py
Python
app/domains/users/views.py
Geo-Gabriel/eccomerce_nestle_mongodb
97bf5dbdc7bee20a9ca2f7cad98afc6e8f11bd3e
[ "MIT" ]
3
2020-06-21T15:51:25.000Z
2021-01-24T21:19:27.000Z
app/domains/users/views.py
Geo-Gabriel/eccomerce_nestle_mongodb
97bf5dbdc7bee20a9ca2f7cad98afc6e8f11bd3e
[ "MIT" ]
null
null
null
app/domains/users/views.py
Geo-Gabriel/eccomerce_nestle_mongodb
97bf5dbdc7bee20a9ca2f7cad98afc6e8f11bd3e
[ "MIT" ]
null
null
null
from flask import Blueprint, request, jsonify from app.domains.users.actions import get_all_users, insert_user, get_user_by_id, update_user, delete_user app_users = Blueprint('app.users', __name__) @app_users.route('/users', methods=['GET']) def get_users(): return jsonify([user.serialize() for user in get_all_...
27.378378
106
0.698914
149
1,013
4.516779
0.241611
0.08321
0.096582
0.13373
0.506686
0.237741
0.197623
0.139673
0.139673
0
0
0.017084
0.133268
1,013
36
107
28.138889
0.749431
0
0
0.166667
0
0
0.090819
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0.041667
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
535eb0ebfd076b333a6d2c988712739a93360c70
8,513
py
Python
legacy_code/tf_cnn_siamese/model.py
PerryXDeng/project_punyslayer
79529b020ca56a5473dbb85ac7155bc03dc5023a
[ "MIT" ]
2
2019-10-25T04:57:03.000Z
2020-06-16T00:34:18.000Z
legacy_code/tf_cnn_siamese/model.py
PerryXDeng/project_punyslayer
79529b020ca56a5473dbb85ac7155bc03dc5023a
[ "MIT" ]
null
null
null
legacy_code/tf_cnn_siamese/model.py
PerryXDeng/project_punyslayer
79529b020ca56a5473dbb85ac7155bc03dc5023a
[ "MIT" ]
1
2020-06-25T14:54:24.000Z
2020-06-25T14:54:24.000Z
import legacy_code.tf_cnn_siamese.configurations as conf import tensorflow as tf import numpy as np def construct_cnn(x, conv_weights, conv_biases, fc_weights, fc_biases, dropout = False): """ constructs the convolution graph for one image :param x: input node :param conv_weights: convolutio...
39.412037
80
0.670504
1,210
8,513
4.521488
0.179339
0.042771
0.026138
0.040395
0.525864
0.474867
0.441967
0.422044
0.39682
0.388594
0
0.014939
0.237284
8,513
215
81
39.595349
0.827661
0.380477
0
0.387387
0
0
0.028684
0
0
0
0
0
0
1
0.063063
false
0
0.027027
0
0.153153
0.009009
0
0
0
null
0
0
0
0
0
0
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
1
0
535f56691aa062ae2f47bfd3027e86cffdb80581
3,591
py
Python
tests/test_utils_log.py
FingerCrunch/scrapy
3225de725720bba246ba8c9845fe4b84bc0c82e7
[ "BSD-3-Clause" ]
41,267
2015-01-01T07:39:25.000Z
2022-03-31T20:09:40.000Z
tests/test_utils_log.py
FingerCrunch/scrapy
3225de725720bba246ba8c9845fe4b84bc0c82e7
[ "BSD-3-Clause" ]
4,420
2015-01-02T09:35:38.000Z
2022-03-31T22:53:32.000Z
tests/test_utils_log.py
FingerCrunch/scrapy
3225de725720bba246ba8c9845fe4b84bc0c82e7
[ "BSD-3-Clause" ]
11,080
2015-01-01T18:11:30.000Z
2022-03-31T15:33:19.000Z
import sys import logging import unittest from testfixtures import LogCapture from twisted.python.failure import Failure from scrapy.utils.log import (failure_to_exc_info, TopLevelFormatter, LogCounterHandler, StreamLogger) from scrapy.utils.test import get_crawler from scrapy.extensions...
32.944954
77
0.662768
424
3,591
5.485849
0.21934
0.051591
0.051591
0.058469
0.39123
0.366294
0.257094
0.257094
0.239037
0.156492
0
0.002158
0.225564
3,591
108
78
33.25
0.834232
0.010304
0
0.234568
0
0
0.11036
0.005912
0
0
0
0
0.111111
1
0.185185
false
0
0.098765
0
0.333333
0.012346
0
0
0
null
0
0
0
0
0
0
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
1
0
53620a02b1382e7015ce77097767be27a037d2cd
2,329
py
Python
astar.py
jeff012345/clue-part-duo
bd9ccd2ccdbc2fe358a696b31644b93e70ff874b
[ "MIT" ]
null
null
null
astar.py
jeff012345/clue-part-duo
bd9ccd2ccdbc2fe358a696b31644b93e70ff874b
[ "MIT" ]
null
null
null
astar.py
jeff012345/clue-part-duo
bd9ccd2ccdbc2fe358a696b31644b93e70ff874b
[ "MIT" ]
null
null
null
import heapq from typing import List from definitions import RoomPosition, Position import random import sys class PriorityQueue: def __init__(self): self.elements: Array = [] def empty(self) -> bool: return len(self.elements) == 0 def put(self, item, priority: float): hea...
26.465909
92
0.592529
294
2,329
4.591837
0.323129
0.026667
0.04
0.037037
0.04
0.016296
0
0
0
0
0
0.021645
0.305711
2,329
87
93
26.770115
0.813234
0.033061
0
0.066667
0
0
0.050357
0
0
0
0
0
0
1
0.1
false
0
0.083333
0.033333
0.316667
0.016667
0
0
0
null
0
0
0
0
0
0
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
1
0
53620e1797375b57cbec5b488715571deabfedc5
19,152
py
Python
src/py_scripts/fc_phasing.py
pb-jchin/FALCON_unzip
21b1df3491e3bb7b9d8ecd13fc0c9c1a45b6393f
[ "BSD-3-Clause-Clear" ]
2
2016-06-23T03:20:22.000Z
2016-10-07T23:45:26.000Z
src/py_scripts/fc_phasing.py
pb-jchin/FALCON_unzip
21b1df3491e3bb7b9d8ecd13fc0c9c1a45b6393f
[ "BSD-3-Clause-Clear" ]
null
null
null
src/py_scripts/fc_phasing.py
pb-jchin/FALCON_unzip
21b1df3491e3bb7b9d8ecd13fc0c9c1a45b6393f
[ "BSD-3-Clause-Clear" ]
null
null
null
from pypeflow.common import * from pypeflow.data import PypeLocalFile, makePypeLocalFile, fn from pypeflow.task import PypeTask, PypeThreadTaskBase, PypeTaskBase from pypeflow.controller import PypeWorkflow, PypeThreadWorkflow from falcon_kit.FastaReader import FastaReader import subprocess, shlex import os, re cigar...
33.897345
155
0.477339
2,431
19,152
3.541752
0.109009
0.01115
0.011847
0.027642
0.427178
0.370383
0.32288
0.251336
0.195122
0.159698
0
0.04929
0.407843
19,152
564
156
33.957447
0.709902
0.024697
0
0.292035
0
0
0.039787
0.006291
0
0
0
0
0
1
0.011062
false
0.002212
0.019912
0
0.033186
0.019912
0
0
0
null
0
0
0
0
0
0
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
1
0
5362c554ddeabe0765b25a2b55000d5493c91742
8,490
py
Python
augmentation/combineds/wgan_gp_straight.py
pabloduque0/cnn_deconv_viz
3fc3d8a9dbad8e8e28d4df4023bdb438e4c9cf85
[ "MIT" ]
null
null
null
augmentation/combineds/wgan_gp_straight.py
pabloduque0/cnn_deconv_viz
3fc3d8a9dbad8e8e28d4df4023bdb438e4c9cf85
[ "MIT" ]
null
null
null
augmentation/combineds/wgan_gp_straight.py
pabloduque0/cnn_deconv_viz
3fc3d8a9dbad8e8e28d4df4023bdb438e4c9cf85
[ "MIT" ]
null
null
null
from keras.datasets import mnist from keras.layers.merge import _Merge from keras.layers import Input, Dense, Reshape, Flatten, Dropout from keras.layers import BatchNormalization, Activation, ZeroPadding2D from keras.layers.advanced_activations import LeakyReLU from keras.layers.convolutional import UpSampling2D, Conv...
37.566372
99
0.593404
1,001
8,490
4.894106
0.22977
0.04899
0.020004
0.027148
0.229026
0.181466
0.124719
0.118596
0.118596
0.106961
0
0.022398
0.284806
8,490
225
100
37.733333
0.78442
0.188928
0
0.157895
0
0
0.01673
0
0
0
0
0
0
1
0.06015
false
0
0.112782
0.007519
0.225564
0.007519
0
0
0
null
0
0
0
0
0
0
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
1
0
53630922cfad6e358b0a44487fb3bc1d5337ec0e
231
py
Python
Core/Block_C/RC480_Factory.py
BernardoB95/Extrator_SPEDFiscal
10b4697833c561d24654251da5f22d044f03fc16
[ "MIT" ]
1
2021-04-25T13:53:20.000Z
2021-04-25T13:53:20.000Z
Core/Block_C/RC480_Factory.py
BernardoB95/Extrator_SPEDFiscal
10b4697833c561d24654251da5f22d044f03fc16
[ "MIT" ]
null
null
null
Core/Block_C/RC480_Factory.py
BernardoB95/Extrator_SPEDFiscal
10b4697833c561d24654251da5f22d044f03fc16
[ "MIT" ]
null
null
null
from Core.IFactory import IFactory from Regs.Block_C import RC480 class RC480Factory(IFactory): def create_block_object(self, line): self.rc480 = _rc480 = RC480() _rc480.reg_list = line return _rc480
21
40
0.69697
30
231
5.133333
0.6
0.194805
0.194805
0
0
0
0
0
0
0
0
0.118644
0.233766
231
10
41
23.1
0.751412
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
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
1
0
0
2
5363e8818d7ff22e74bce67b8f3e1086a76a24c5
1,594
py
Python
keras2onnx/proto/__init__.py
mgoldchild/keras-onnx
8e700572b89a907ca21a3096556f64b62b7aa76c
[ "MIT" ]
null
null
null
keras2onnx/proto/__init__.py
mgoldchild/keras-onnx
8e700572b89a907ca21a3096556f64b62b7aa76c
[ "MIT" ]
null
null
null
keras2onnx/proto/__init__.py
mgoldchild/keras-onnx
8e700572b89a907ca21a3096556f64b62b7aa76c
[ "MIT" ]
null
null
null
############################################################################### # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. ############################################################################### imp...
33.914894
117
0.69197
204
1,594
5.147059
0.465686
0.033333
0.034286
0.019048
0.2
0.140952
0.140952
0.140952
0.140952
0.140952
0
0.008047
0.142409
1,594
46
118
34.652174
0.760059
0.226474
0
0.142857
0
0
0.069224
0
0
0
0
0
0.035714
1
0.142857
false
0
0.357143
0.107143
0.607143
0
0
0
0
null
0
0
0
0
0
0
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
1
1
0
0
3
536436e3554ba3a4da46ab96d890765a1f73000c
554
py
Python
tests/test_load.py
ocefpaf/xroms
763d6e678e28fe074e0aaab26fecd2b74e51a8b0
[ "MIT" ]
4
2020-01-21T21:24:17.000Z
2020-10-02T03:09:32.000Z
tests/test_load.py
ocefpaf/xroms
763d6e678e28fe074e0aaab26fecd2b74e51a8b0
[ "MIT" ]
1
2020-04-08T00:11:39.000Z
2020-04-25T08:03:45.000Z
tests/test_load.py
ocefpaf/xroms
763d6e678e28fe074e0aaab26fecd2b74e51a8b0
[ "MIT" ]
1
2020-04-06T06:42:36.000Z
2020-04-06T06:42:36.000Z
'''Test package.''' import xroms from glob import glob import os def test_open_netcdf(): '''Test xroms.open_netcdf().''' base = os.path.join(xroms.__path__[0],'..','tests','input') files = glob('%s/ocean_his_000?.nc' % base) ds = xroms.open_netcdf(files) assert ds def test_open_zar...
21.307692
63
0.597473
77
554
4.025974
0.363636
0.116129
0.070968
0.090323
0.354839
0.354839
0.354839
0.354839
0.354839
0.354839
0
0.020642
0.212996
554
25
64
22.16
0.690367
0.113718
0
0.307692
0
0
0.149474
0
0
0
0
0
0.153846
1
0.153846
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53646f201e13a30e6efd94fa6ebf56d02fafc4af
1,381
py
Python
demoproject/demoproject/urls.py
alvnary18/django-nvd3
4b7dffb1107b8202698212b99c26d1d0097afd1d
[ "MIT" ]
302
2015-01-06T14:38:22.000Z
2022-01-11T15:28:07.000Z
demoproject/demoproject/urls.py
alvnary18/django-nvd3
4b7dffb1107b8202698212b99c26d1d0097afd1d
[ "MIT" ]
63
2015-01-03T14:39:29.000Z
2021-04-19T09:29:15.000Z
demoproject/demoproject/urls.py
alvnary18/django-nvd3
4b7dffb1107b8202698212b99c26d1d0097afd1d
[ "MIT" ]
104
2015-01-07T21:40:53.000Z
2021-02-22T08:21:02.000Z
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.home, name='home'), url(r'^piechart/', views.demo_piechart, name='demo_piechart'), url(r'^linechart/', views.demo_linechart, name='demo_linechart'), url(r'^linechart_without_date/', views.demo_linechart_without_date,...
62.772727
115
0.766836
157
1,381
6.471338
0.184713
0.059055
0.038386
0.047244
0
0
0
0
0
0
0
0
0.086169
1,381
21
116
65.761905
0.805071
0.039826
0
0
0
0
0.397281
0.252266
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
536501345147bcbb0b1035da0ccdac716533b14a
2,557
py
Python
wired_version/mcs_wired.py
Harri-Renney/Mind_Control_Synth
5a892a81a3f37444ef154f29a62d44fa1476bfbd
[ "MIT" ]
1
2020-12-20T09:53:20.000Z
2020-12-20T09:53:20.000Z
wired_version/mcs_wired.py
Harri-Renney/Mind_Control_Synth
5a892a81a3f37444ef154f29a62d44fa1476bfbd
[ "MIT" ]
null
null
null
wired_version/mcs_wired.py
Harri-Renney/Mind_Control_Synth
5a892a81a3f37444ef154f29a62d44fa1476bfbd
[ "MIT" ]
null
null
null
import time import mido from pinaps.piNapsController import PiNapsController from NeuroParser import NeuroParser """ Equation of motion used to modify virbato. """ def positionStep(pos, vel, acc): return pos + vel * 2 + (1/2) * acc * 4 def velocityStep(vel, acc): return acc * 2 + vel CTRL_LF...
35.027397
134
0.658193
268
2,557
6.186567
0.395522
0.033173
0.014475
0.027744
0.308806
0.268999
0.268999
0.268999
0.209891
0.209891
0
0.020116
0.261244
2,557
73
135
35.027397
0.857597
0.152522
0
0.122449
0
0
0.057115
0
0
0
0
0.013699
0
1
0.081633
false
0
0.081633
0.040816
0.204082
0.061224
0
0
0
null
0
0
0
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
5366c96f79a37fc8c50479d35ab11dc62e0b3949
15,109
py
Python
pipeline/visualization/single_tab.py
windblood/kafka_stock
8dbe4a1cf5c367b3c210683d4027bbfaf955ed41
[ "Apache-2.0" ]
45
2019-08-06T09:06:58.000Z
2022-03-14T06:13:33.000Z
pipeline/visualization/single_tab.py
windblood/kafka_stock
8dbe4a1cf5c367b3c210683d4027bbfaf955ed41
[ "Apache-2.0" ]
2
2021-05-10T09:23:12.000Z
2021-12-20T07:06:54.000Z
pipeline/visualization/single_tab.py
windblood/kafka_stock
8dbe4a1cf5c367b3c210683d4027bbfaf955ed41
[ "Apache-2.0" ]
14
2020-03-19T04:38:25.000Z
2022-03-16T06:37:04.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 31 11:47:47 2019 @author: yanyanyu """ """ Tab1-plot1: candlestick """ import json import datetime import pandas as pd from math import pi from random import choice from pytz import timezone from bokeh.plotting import figure,show from bokeh.p...
48.117834
144
0.53253
1,544
15,109
5.100389
0.234456
0.008762
0.010667
0.008254
0.376381
0.293206
0.256762
0.233651
0.225524
0.225524
0
0.016665
0.32484
15,109
313
145
48.271566
0.755318
0.057515
0
0.220339
0
0
0.23785
0.015306
0
0
0
0
0
1
0.029661
false
0
0.050847
0
0.097458
0
0
0
0
null
0
0
0
0
0
0
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
1
0
53683ad065e876599c6cda203cf6ca253e4f6885
7,499
py
Python
traffic_predict/model.py
Wangjw6/project
daae9de42fe7bf7ff29c20246e1164b62b7cef4a
[ "MIT" ]
null
null
null
traffic_predict/model.py
Wangjw6/project
daae9de42fe7bf7ff29c20246e1164b62b7cef4a
[ "MIT" ]
null
null
null
traffic_predict/model.py
Wangjw6/project
daae9de42fe7bf7ff29c20246e1164b62b7cef4a
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import tensorflow as tf class CNN: def __init__(self, save_or_load_path=None, trainable=True, learning_rate = 0.00002,timestep=9,road=189,predstep=1): self.trainable = trainable self.learning_rate = learning_rate self.road = road self.input_size = timestep *...
43.346821
119
0.642619
1,132
7,499
4.090106
0.094523
0.046652
0.041469
0.02851
0.988985
0.988985
0.988985
0.988985
0.988985
0.988985
0
0.064072
0.215362
7,499
173
120
43.346821
0.722808
0.094813
0
0.943548
0
0
0.010189
0
0
0
0
0
0
1
0.169355
false
0
0.008065
0.072581
0.346774
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
536933e136a1518afd79a7f6f89175f2c5e084a2
2,755
py
Python
VirtualMouse-mediapipe.py
SanLiWuXun/Virtual-Control
c3b38d4e2df201af851ca70a90de1fdc770158e4
[ "MIT" ]
null
null
null
VirtualMouse-mediapipe.py
SanLiWuXun/Virtual-Control
c3b38d4e2df201af851ca70a90de1fdc770158e4
[ "MIT" ]
null
null
null
VirtualMouse-mediapipe.py
SanLiWuXun/Virtual-Control
c3b38d4e2df201af851ca70a90de1fdc770158e4
[ "MIT" ]
null
null
null
import cv2 import mediapipe as mp from time import sleep import numpy as np import autopy import pynput wCam, hCam = 1280, 720 wScr, hScr = autopy.screen.size() cap = cv2.VideoCapture(0) cap.set(3, wCam) cap.set(4, hCam) mp_drawing = mp.solutions.drawing_utils mp_hands = mp.solutions.hands mouse = pynput.mouse.Cont...
35.320513
113
0.622142
374
2,755
4.44385
0.36631
0.078219
0.075812
0.066185
0.156438
0.156438
0.039711
0
0
0
0
0.054108
0.275499
2,755
78
114
35.320513
0.778557
0.132486
0
0.035088
0
0
0.018044
0
0
0
0.001679
0
0
1
0.017544
false
0
0.105263
0
0.140351
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
536a166e562f305f44e421c35ddf14c30aa9d207
2,804
py
Python
util/tools/split_train_val.py
JochenZoellner/tf_neiss-1
c91019e5bce6d3c7512237eec5ea997fd95304ac
[ "Apache-2.0" ]
null
null
null
util/tools/split_train_val.py
JochenZoellner/tf_neiss-1
c91019e5bce6d3c7512237eec5ea997fd95304ac
[ "Apache-2.0" ]
1
2020-08-07T13:04:43.000Z
2020-08-10T12:32:46.000Z
util/tools/split_train_val.py
JochenZoellner/tf_neiss-1
c91019e5bce6d3c7512237eec5ea997fd95304ac
[ "Apache-2.0" ]
1
2019-12-16T15:46:45.000Z
2019-12-16T15:46:45.000Z
import glob import logging import os import shutil import sys """script to divide a folder with generated/training data into a train and val folder - val folder contains 500 Samples if not changed in source code - DOES NOT work if images structured in subfolders, see below - if there is no dir in the given...
40.057143
117
0.579529
382
2,804
4.117801
0.308901
0.071202
0.076287
0.07438
0.260648
0.210426
0.181182
0.181182
0.120153
0.097266
0
0.010505
0.28709
2,804
69
118
40.637681
0.776388
0.07311
0
0.085106
1
0
0.10519
0
0
0
0
0
0
1
0.021277
false
0.021277
0.106383
0
0.12766
0.191489
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
536b5c354fdb15e9bd9be57f477eacb913ce0e22
4,793
py
Python
Chapter10/neuroevolution/distributed_helpers.py
KonstantinKlepikov/Hands-on-Neuroevolution-with-Python
cdd35fa21f2a091d176c140427ab1644d9ecd1f2
[ "MIT" ]
51
2019-06-03T12:45:13.000Z
2022-02-16T15:48:28.000Z
Chapter10/neuroevolution/distributed_helpers.py
123mitnik/Hands-on-Neuroevolution-with-Python
b65c7dee49303c296ae22f2d82422614bdf7a168
[ "MIT" ]
3
2020-02-20T08:13:34.000Z
2020-09-16T10:11:52.000Z
Chapter10/neuroevolution/distributed_helpers.py
123mitnik/Hands-on-Neuroevolution-with-Python
b65c7dee49303c296ae22f2d82422614bdf7a168
[ "MIT" ]
30
2019-05-24T02:02:47.000Z
2022-03-03T22:48:22.000Z
import threading from queue import Queue from multiprocessing.pool import ApplyResult import tabular_logger as tlogger class AsyncWorker(object): @property def concurrent_tasks(self): raise NotImplementedError() def run_async(self, task_id, task, callback): raise NotImplementedError() ...
32.828767
119
0.595869
515
4,793
5.285437
0.178641
0.047759
0.043718
0.024982
0.315944
0.221161
0.121234
0.073475
0.073475
0.073475
0
0.001848
0.322554
4,793
145
120
33.055172
0.836464
0.025037
0
0.319328
0
0
0.097258
0.036632
0
0
0
0
0
1
0.109244
false
0
0.033613
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
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
1
0
536b943feabc16b11630bbf2f1fc6f9c7d3d5261
557
py
Python
make/platform/registry.py
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
make/platform/registry.py
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
make/platform/registry.py
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
import os registry = {} class RegisterPlatform(object): ''' classdocs ''' def __init__(self, platform): ''' Constructor ''' self.platform = platform def __call__(self, clazz): registry[self.platform] = clazz def platform(): # Decide on whi...
16.878788
57
0.563734
53
557
5.773585
0.622642
0.117647
0
0
0
0
0
0
0
0
0
0.002653
0.32316
557
32
58
17.40625
0.809019
0.061041
0
0
0
0
0.080435
0
0
0
0
0
0
0
null
null
0
0.071429
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
536bfa0db6a83d2b284796ec230b11252da51887
553
py
Python
mailer/admin.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
5
2019-07-01T17:50:44.000Z
2022-02-20T02:44:42.000Z
mailer/admin.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
3
2020-06-05T21:44:33.000Z
2021-06-10T21:39:26.000Z
mailer/admin.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
1
2021-12-09T06:32:40.000Z
2021-12-09T06:32:40.000Z
"""Django Admin Panels for App""" from django.contrib import admin from mailer import models @admin.register(models.SendingAddress) class SendingAddressAdmin(admin.ModelAdmin): """Admin View for SendingAddress""" list_display = ('address', 'organization') list_filter = ('organization__name',) actions ...
29.105263
73
0.672694
66
553
5.545455
0.69697
0.060109
0
0
0
0
0
0
0
0
0
0.002347
0.229656
553
18
74
30.722222
0.856808
0.211573
0
0
0
0
0.088095
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
536e0e040e307bf9f906164571d5de4002db0a3c
492
py
Python
tests/settings.py
systemallica/django-belt
3035a8bad26a108d9c78daaccb81ab8a9a9ebd41
[ "MIT" ]
2
2019-10-08T08:56:46.000Z
2020-10-10T08:29:43.000Z
tests/settings.py
systemallica/django-belt
3035a8bad26a108d9c78daaccb81ab8a9a9ebd41
[ "MIT" ]
null
null
null
tests/settings.py
systemallica/django-belt
3035a8bad26a108d9c78daaccb81ab8a9a9ebd41
[ "MIT" ]
2
2019-10-08T08:59:54.000Z
2021-03-18T18:15:38.000Z
DEBUG = True USE_TZ = True SECRET_KEY = "dummy" DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}} INSTALLED_APPS = [ "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sites", "rest_framework", "django_filters", "belt", "tests.app", ]...
18.222222
85
0.668699
54
492
5.87037
0.685185
0.123028
0
0
0
0
0
0
0
0
0
0.004866
0.164634
492
26
86
18.923077
0.766423
0
0
0
0
0
0.506098
0.254065
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
72559fed2c0dfd5ae9506264bf674d020588c5b0
26,482
py
Python
Cell_Generation/fabric_CMC_NMOS.py
ALIGN-analoglayout/2018-01-ALIGN
931263cec2efc05d58657af9ecca88ae0040c3a5
[ "BSD-3-Clause" ]
8
2019-01-10T06:34:26.000Z
2021-06-30T05:44:49.000Z
Cell_Generation/fabric_CMC_NMOS.py
ALIGN-analoglayout/2018-01-ALIGN
931263cec2efc05d58657af9ecca88ae0040c3a5
[ "BSD-3-Clause" ]
null
null
null
Cell_Generation/fabric_CMC_NMOS.py
ALIGN-analoglayout/2018-01-ALIGN
931263cec2efc05d58657af9ecca88ae0040c3a5
[ "BSD-3-Clause" ]
2
2019-01-09T19:58:28.000Z
2019-03-08T22:58:50.000Z
import sys import json import transformation class StopPointGrid: def __init__( self, nm, layer, direction, width, pitch, offset=0): self.nm = nm self.layer = layer self.direction = direction assert direction in ['v','h'] self.width = width self.pitch = pitch ...
55.987315
323
0.551809
3,332
26,482
4.30042
0.073529
0.021774
0.037965
0.02966
0.664317
0.540791
0.472887
0.456417
0.436318
0.415381
0
0.055736
0.29201
26,482
472
324
56.105932
0.708518
0.004871
0
0.293532
0
0
0.017653
0.001223
0
0
0
0
0.007463
1
0.069652
false
0
0.007463
0.044776
0.097015
0
0
0
0
null
0
0
0
0
0
0
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
1
0
725600e7a0a1963a9922b5936348396ff3c1bd52
13,457
py
Python
docs/testcases/all_in_one.py
tiramtaramta/conduit
ae4ca8e64fe64c2b6702d803d799e380fda84a92
[ "MIT" ]
null
null
null
docs/testcases/all_in_one.py
tiramtaramta/conduit
ae4ca8e64fe64c2b6702d803d799e380fda84a92
[ "MIT" ]
null
null
null
docs/testcases/all_in_one.py
tiramtaramta/conduit
ae4ca8e64fe64c2b6702d803d799e380fda84a92
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By import os import time import csv from webdriver_manager.chrome import ChromeDriverManager import math from basic_function import ...
37.48468
120
0.630081
1,690
13,457
4.768047
0.172189
0.080665
0.090345
0.119881
0.598784
0.555473
0.498263
0.451104
0.438819
0.409531
0
0.017895
0.235937
13,457
358
121
37.589385
0.765804
0.137846
0
0.425121
0
0
0.215522
0.09846
0
0
0
0
0.077295
1
0.062802
false
0.019324
0.048309
0
0.125604
0
0
0
0
null
0
0
0
0
0
0
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
1
0
72562c1a74abbba1475bce520bf08235d1927c9c
116
py
Python
config.py
amalshaji/python-playground
bd3a88a493f36230958613d60a9d70d64f971dba
[ "MIT" ]
14
2021-07-03T10:45:04.000Z
2022-03-15T18:42:29.000Z
config.py
amalshaji/python-playground
bd3a88a493f36230958613d60a9d70d64f971dba
[ "MIT" ]
null
null
null
config.py
amalshaji/python-playground
bd3a88a493f36230958613d60a9d70d64f971dba
[ "MIT" ]
1
2021-08-19T12:06:51.000Z
2021-08-19T12:06:51.000Z
from pydantic import BaseSettings class Settings(BaseSettings): deta_project_key: str settings = Settings()
12.888889
33
0.775862
13
116
6.769231
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.163793
116
8
34
14.5
0.907216
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
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
2
725642bee9a909399840fd99543e731184a069ea
819
py
Python
IV_semester/os/configs.py
dainiusjocas/labs
25aa0ae2032681dbaf0afd83f3d80bedddea6407
[ "Beerware" ]
1
2019-04-16T22:05:42.000Z
2019-04-16T22:05:42.000Z
IV_semester/os/configs.py
dainiusjocas/labs
25aa0ae2032681dbaf0afd83f3d80bedddea6407
[ "Beerware" ]
null
null
null
IV_semester/os/configs.py
dainiusjocas/labs
25aa0ae2032681dbaf0afd83f3d80bedddea6407
[ "Beerware" ]
null
null
null
#!/usr/bin/env python ''' This module provides configuration options for OS project. No more magic numbers! ''' BLOCK_SIZE = 16 # words WORD_SIZE = 4 # bytes # length od RS in blocks RESTRICTED_LENGTH = 1 # length of DS in blocks DS_LENGTH = 6 # timer value TIMER_VALUE = 10 # buffer size BUFFER_SIZE = 16 # num...
18.2
89
0.764347
126
819
4.714286
0.619048
0.065657
0
0
0
0
0
0
0
0
0
0.050147
0.172161
819
44
90
18.613636
0.825959
0.377289
0
0
0
0
0.038697
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7256bed763fbd51245f430291a65885eb6f4534d
3,022
py
Python
roboticstoolbox/models/URDF/Puma560.py
Russ76/robotics-toolbox-python
4b3e82a6522757ffde1f83aef8d05b3ad475e9de
[ "MIT" ]
null
null
null
roboticstoolbox/models/URDF/Puma560.py
Russ76/robotics-toolbox-python
4b3e82a6522757ffde1f83aef8d05b3ad475e9de
[ "MIT" ]
null
null
null
roboticstoolbox/models/URDF/Puma560.py
Russ76/robotics-toolbox-python
4b3e82a6522757ffde1f83aef8d05b3ad475e9de
[ "MIT" ]
null
null
null
#!/usr/bin/env python import numpy as np from roboticstoolbox.robot.ERobot import ERobot from math import pi class Puma560(ERobot): """ Class that imports a Puma 560 URDF model ``Puma560()`` is a class which imports a Unimation Puma560 robot definition from a URDF file. The model describes its kine...
31.154639
130
0.610192
408
3,022
4.433824
0.401961
0.011056
0.092869
0.05749
0.162521
0.096186
0.096186
0.063018
0.063018
0.063018
0
0.08113
0.273991
3,022
96
131
31.479167
0.743391
0.453011
0
0.108108
0
0
0.054159
0.031593
0
0
0
0
0
1
0.027027
false
0
0.081081
0
0.135135
0.027027
0
0
0
null
0
0
0
0
0
0
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
1
0
7258cd5e14cfcac3370c20a51efc82ed53ffd2ed
26,052
py
Python
functest/tests/unit/odl/test_odl.py
hashnfv/hashnfv-functest
ff34df7ec7be6cd5fcf0f7557b393bd5d6266047
[ "Apache-2.0" ]
null
null
null
functest/tests/unit/odl/test_odl.py
hashnfv/hashnfv-functest
ff34df7ec7be6cd5fcf0f7557b393bd5d6266047
[ "Apache-2.0" ]
null
null
null
functest/tests/unit/odl/test_odl.py
hashnfv/hashnfv-functest
ff34df7ec7be6cd5fcf0f7557b393bd5d6266047
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2016 Orange and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 """Define t...
40.642746
79
0.609857
2,858
26,052
5.252624
0.108467
0.047429
0.024181
0.027844
0.63769
0.575873
0.543832
0.513056
0.48741
0.451639
0
0.013743
0.276601
26,052
640
80
40.70625
0.782819
0.033395
0
0.411067
0
0
0.139924
0.04302
0
0
0
0
0.088933
1
0.156126
false
0.063241
0.025692
0
0.225296
0
0
0
0
null
0
0
0
0
0
0
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
7259d1c0671ff1b759aee401e67ca154f987dcca
5,059
py
Python
ntpclients/ntptrace.py
OptimalRanging/NTPsec
7fa9b38c3e91f96b173ffa02bafa29cf81173cf7
[ "CC-BY-4.0", "BSD-2-Clause", "NTP", "MIT", "BSD-3-Clause" ]
null
null
null
ntpclients/ntptrace.py
OptimalRanging/NTPsec
7fa9b38c3e91f96b173ffa02bafa29cf81173cf7
[ "CC-BY-4.0", "BSD-2-Clause", "NTP", "MIT", "BSD-3-Clause" ]
null
null
null
ntpclients/ntptrace.py
OptimalRanging/NTPsec
7fa9b38c3e91f96b173ffa02bafa29cf81173cf7
[ "CC-BY-4.0", "BSD-2-Clause", "NTP", "MIT", "BSD-3-Clause" ]
1
2021-09-24T18:19:49.000Z
2021-09-24T18:19:49.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ ntptrace - trace peers of an NTP server Usage: ntptrace [-n | --numeric] [-m number | --max-hosts=number] [-r hostname | --host=hostname] [--help | --more-help] hostname See the manual page for details. """ # SPDX-License-Identifier: BS...
27.796703
77
0.555841
664
5,059
4.188253
0.302711
0.019417
0.025171
0.012945
0.133046
0.092053
0.071197
0.071197
0.071197
0.020137
0
0.018508
0.284444
5,059
181
78
27.950276
0.749724
0.073137
0
0.131783
0
0
0.262292
0.011971
0
0
0
0
0
1
0.023256
false
0.007752
0.054264
0
0.116279
0.054264
0
0
0
null
0
0
0
0
0
0
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
1
0
7259dd2585e473152b9b222537cbe864940bc023
7,529
py
Python
lbrynet/wallet/server/block_processor.py
abueide/lbry
7f5deaf6c80422a30b3714d4bf12e028756ed9fe
[ "MIT" ]
null
null
null
lbrynet/wallet/server/block_processor.py
abueide/lbry
7f5deaf6c80422a30b3714d4bf12e028756ed9fe
[ "MIT" ]
null
null
null
lbrynet/wallet/server/block_processor.py
abueide/lbry
7f5deaf6c80422a30b3714d4bf12e028756ed9fe
[ "MIT" ]
null
null
null
import struct import msgpack from lbrynet.wallet.transaction import Transaction, Output from torba.server.hash import hash_to_hex_str from torba.server.block_processor import BlockProcessor from lbrynet.schema.claim import Claim from lbrynet.wallet.server.model import ClaimInfo class LBRYBlockProcessor(BlockProce...
48.574194
119
0.663036
1,018
7,529
4.604126
0.202358
0.09601
0.044378
0.02987
0.313847
0.268615
0.252187
0.207169
0.168338
0.134414
0
0.001611
0.257936
7,529
154
120
48.88961
0.837301
0.09231
0
0.173554
0
0
0.046563
0.003695
0
0
0
0.006494
0.008264
1
0.082645
false
0.016529
0.057851
0
0.214876
0
0
0
0
null
0
0
0
0
0
0
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
1
0
725bc15a18df21922924af39352a1db6548ae9d5
5,450
py
Python
ProjectEuler.Problem.013.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
ProjectEuler.Problem.013.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
ProjectEuler.Problem.013.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
from ProjectEulerCommons.Base import * numbers_list = """37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 8926167...
47.391304
68
0.949725
131
5,450
39.496183
0.961832
0.004252
0
0
0
0
0
0
0
0
0
0.94839
0.025872
5,450
114
69
47.807018
0.026182
0
0
0
0
0
0.972349
0.953471
0
1
0
0
0
1
0
false
0
0.009615
0
0.009615
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
725c4a78b42553c5dfa61cb7be78dad147ba621d
4,584
py
Python
api/app/endpoints/datasets.py
historeno/enermaps
ad3a97636baa153a56367e374d0fef7f009bf19d
[ "Apache-2.0" ]
null
null
null
api/app/endpoints/datasets.py
historeno/enermaps
ad3a97636baa153a56367e374d0fef7f009bf19d
[ "Apache-2.0" ]
null
null
null
api/app/endpoints/datasets.py
historeno/enermaps
ad3a97636baa153a56367e374d0fef7f009bf19d
[ "Apache-2.0" ]
null
null
null
"""Endpoint for the manipulation of datasets """ import hashlib from flask import Response from flask_restx import Namespace, Resource, abort from app.common import client from app.common import datasets as datasets_fcts from app.common import path api = Namespace("datasets", description="Datasets related endpoints...
28.830189
88
0.630017
551
4,584
5.087114
0.194192
0.070639
0.039957
0.051374
0.578666
0.55726
0.527292
0.513735
0.424545
0.383161
0
0.007165
0.238874
4,584
158
89
29.012658
0.796217
0.097077
0
0.363636
0
0
0.192214
0.112145
0
0
0
0
0
1
0.081818
false
0
0.054545
0
0.281818
0
0
0
0
null
0
0
0
0
0
0
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
1
0
725c8eebe50fb704a955c92f2df5a2010dd496c0
360
py
Python
python/p45.py
forewing/lc
314468a1a3bb7d38eccf1f34b0d1b7da04a34784
[ "CC0-1.0" ]
null
null
null
python/p45.py
forewing/lc
314468a1a3bb7d38eccf1f34b0d1b7da04a34784
[ "CC0-1.0" ]
null
null
null
python/p45.py
forewing/lc
314468a1a3bb7d38eccf1f34b0d1b7da04a34784
[ "CC0-1.0" ]
null
null
null
class Solution: def jump(self, nums: List[int]) -> int: n = len(nums) dp = [float('inf')] * n dp[0] = 0 tail = 1 for i in range(n): limit = min(n, i + nums[i] + 1) for j in range(tail, limit): dp[j] = min(dp[j], dp[i] + 1) ...
24
45
0.405556
53
360
2.754717
0.45283
0.054795
0
0
0
0
0
0
0
0
0
0.034653
0.438889
360
14
46
25.714286
0.688119
0
0
0
0
0
0.008333
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
725ca51ad9d691720ab9b25d90f6e0eda40f5f1a
59
py
Python
mlgorithms/knn/__init__.py
doycode/mlgorithms
b187efad474acdc9b7c6defe4761f101530bd1a3
[ "Apache-2.0" ]
9
2019-08-22T08:02:31.000Z
2019-12-08T07:14:41.000Z
mlgorithms/knn/__init__.py
shashashuai/mlgorithms
f9f30c109083213dc3c62b30d74121ad1ebd2835
[ "Apache-2.0" ]
null
null
null
mlgorithms/knn/__init__.py
shashashuai/mlgorithms
f9f30c109083213dc3c62b30d74121ad1ebd2835
[ "Apache-2.0" ]
3
2019-12-06T15:08:24.000Z
2020-12-21T16:44:13.000Z
from .knn import KNNClassifier __all__ = ['KNNClassifier']
19.666667
30
0.779661
6
59
7
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.118644
59
3
31
19.666667
0.807692
0
0
0
0
0
0.216667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
1
0
0
0
0
3
725ce8235488dcfac8f6ef5c1aeb63ee7251e649
571
py
Python
apps/configuration/fields.py
sotkonstantinidis/testcircle
448aa2148fbc2c969e60f0b33ce112d4740a8861
[ "Apache-2.0" ]
3
2019-02-24T14:24:43.000Z
2019-10-24T18:51:32.000Z
apps/configuration/fields.py
sotkonstantinidis/testcircle
448aa2148fbc2c969e60f0b33ce112d4740a8861
[ "Apache-2.0" ]
17
2017-03-14T10:55:56.000Z
2022-03-11T23:20:19.000Z
apps/configuration/fields.py
sotkonstantinidis/testcircle
448aa2148fbc2c969e60f0b33ce112d4740a8861
[ "Apache-2.0" ]
2
2016-02-01T06:32:40.000Z
2019-09-06T04:33:50.000Z
import unicodedata from django.forms import fields class XMLCompatCharField(fields.CharField): """ Strip 'control characters', as XML 1.0 does not allow them and the API may return data in XML. """ def to_python(self, value): value = super().to_python(value=value) return self.rem...
27.190476
79
0.644483
75
571
4.8
0.626667
0.141667
0.127778
0
0
0
0
0
0
0
0
0.007042
0.25394
571
20
80
28.55
0.838028
0.164623
0
0
0
0
0.010941
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
725e0b8e42aaad734ba9a21ce1eb2b48fbf8f5f0
2,575
py
Python
ademo.py
erikdelange/MicroPython-HTTP-Server
54bda9d55ac65b9a6bbf2189098a788add52b344
[ "MIT" ]
null
null
null
ademo.py
erikdelange/MicroPython-HTTP-Server
54bda9d55ac65b9a6bbf2189098a788add52b344
[ "MIT" ]
null
null
null
ademo.py
erikdelange/MicroPython-HTTP-Server
54bda9d55ac65b9a6bbf2189098a788add52b344
[ "MIT" ]
null
null
null
import sys import time import uasyncio as asyncio from ahttpserver import sendfile, Server app = Server() @app.route("GET", "/") async def root(reader, writer, request): writer.write(b"HTTP/1.1 200 OK\r\n") writer.write(b"Connection: close\r\n") writer.write(b"Content-Type: text/html\r\n") ...
28.611111
87
0.626796
365
2,575
4.350685
0.317808
0.110831
0.11335
0.09005
0.34068
0.34068
0.34068
0.34068
0.34068
0.34068
0
0.023058
0.225243
2,575
89
88
28.932584
0.772932
0.113398
0
0.34375
0
0.015625
0.218003
0.030005
0
0
0
0
0
1
0.03125
false
0.015625
0.0625
0
0.09375
0.09375
0
0
0
null
0
0
0
0
0
0
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
1
0
725f0a434de0934431956914cb716614971e97cb
3,851
py
Python
models/audio_net.py
vipulSharma18/Deep-Self-Supervised-Audio-Video-Cosegmentation-with-Adaptive-Noise-Cancellation
d52695be31a1552d0785f3b6634bde6ef9276a90
[ "MIT" ]
null
null
null
models/audio_net.py
vipulSharma18/Deep-Self-Supervised-Audio-Video-Cosegmentation-with-Adaptive-Noise-Cancellation
d52695be31a1552d0785f3b6634bde6ef9276a90
[ "MIT" ]
null
null
null
models/audio_net.py
vipulSharma18/Deep-Self-Supervised-Audio-Video-Cosegmentation-with-Adaptive-Noise-Cancellation
d52695be31a1552d0785f3b6634bde6ef9276a90
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F class Unet(nn.Module): def __init__(self, fc_dim=64, num_downs=5, ngf=64, use_dropout=False): super(Unet, self).__init__() # construct unet structure unet_block = UnetBlock( ngf * 8, ngf * 8, input_n...
35.657407
75
0.539081
448
3,851
4.412946
0.205357
0.067274
0.042489
0.060698
0.425392
0.348508
0.348508
0.348508
0.341932
0.318159
0
0.020251
0.358868
3,851
107
76
35.990654
0.780478
0.045183
0
0.404494
0
0
0.002244
0
0
0
0
0
0
1
0.044944
false
0
0.033708
0
0.134831
0
0
0
0
null
0
0
0
0
0
0
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
1
0
726015e732db272b6ddb3ba0b812c3994b6a974f
6,117
py
Python
tests/test_core.py
cnschema/kgtool
599e23a9e8a856625143b171f9c36eb5b00623f6
[ "Apache-2.0" ]
7
2018-08-22T01:09:40.000Z
2022-03-31T18:03:33.000Z
tests/test_core.py
cnschema/kgtool
599e23a9e8a856625143b171f9c36eb5b00623f6
[ "Apache-2.0" ]
2
2020-05-09T12:01:15.000Z
2021-06-01T22:17:12.000Z
tests/test_core.py
cnschema/kgtool
599e23a9e8a856625143b171f9c36eb5b00623f6
[ "Apache-2.0" ]
8
2018-03-07T01:28:32.000Z
2020-09-06T18:27:27.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Path hack import os import sys sys.path.insert(0, os.path.abspath('..')) try: import unittest2 as unittest except ImportError: import unittest from kgtool.core import * # noqa class CoreTestCase(unittest.TestCase): def setUp(self): pass def t...
29.839024
101
0.560896
678
6,117
4.874631
0.176991
0.075038
0.070802
0.059002
0.559758
0.533132
0.448109
0.333737
0.255068
0.074433
0
0.050983
0.284944
6,117
204
102
29.985294
0.704618
0.009318
0
0.38961
0
0
0.172391
0.043593
0
0
0
0
0.246753
1
0.090909
false
0.006494
0.038961
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
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
1
0
7261ec9ea850db246c5fb7cbfebb2bc01fe9250d
903
py
Python
ui/Rhino/AGS/dev/AGS_toolbar_display_cmd.py
ricardoavelino/compas_ags
1c9e496bc4b72b11adc80ea97288ddc27e92c08e
[ "MIT" ]
1
2021-08-14T11:14:52.000Z
2021-08-14T11:14:52.000Z
ui/Rhino/AGS/dev/AGS_toolbar_display_cmd.py
ricardoavelino/compas_ags
1c9e496bc4b72b11adc80ea97288ddc27e92c08e
[ "MIT" ]
null
null
null
ui/Rhino/AGS/dev/AGS_toolbar_display_cmd.py
ricardoavelino/compas_ags
1c9e496bc4b72b11adc80ea97288ddc27e92c08e
[ "MIT" ]
null
null
null
from __future__ import print_function from __future__ import absolute_import from __future__ import division import scriptcontext as sc import compas_rhino from compas_ags.rhino import SettingsForm from compas_ags.rhino import FormObject from compas_ags.rhino import ForceObject __commandname__ = "AGS_toolbar_displa...
25.083333
99
0.615725
95
903
5.452632
0.484211
0.057915
0.092664
0.104247
0.138996
0
0
0
0
0
0
0
0.149502
903
35
100
25.8
0.674479
0.208195
0
0.105263
0
0
0.104225
0
0
0
0
0.028571
0
1
0.052632
false
0
0.421053
0
0.578947
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
726209920117b9b9ebcbf40bbfd0a7a9d4bd3f25
10,312
py
Python
lpp/evaluator.py
VidoniJorge/c-interprete
4f026d093b26289d3f692cd64d52069fdd1d954c
[ "Apache-2.0" ]
null
null
null
lpp/evaluator.py
VidoniJorge/c-interprete
4f026d093b26289d3f692cd64d52069fdd1d954c
[ "Apache-2.0" ]
null
null
null
lpp/evaluator.py
VidoniJorge/c-interprete
4f026d093b26289d3f692cd64d52069fdd1d954c
[ "Apache-2.0" ]
null
null
null
from typing import ( Any, cast, List, Optional, Type ) import lpp.ast as ast from lpp.builtins import BUILTINS from lpp.object import( Boolean, Builtin, Environment, Error, Function, Integer, Null, Object, ObjectType, String, Return ) TRUE = Boolean(True...
33.264516
113
0.650698
1,240
10,312
5.215323
0.091935
0.019329
0.0334
0.030153
0.435905
0.357662
0.291325
0.223287
0.193753
0.170558
0
0.00013
0.253006
10,312
310
114
33.264516
0.839413
0.001746
0
0.246094
0
0
0.01564
0
0
0
0
0
0.078125
1
0.070313
false
0
0.015625
0.007813
0.339844
0
0
0
0
null
0
0
0
0
0
0
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
1
0
726246040afca77178e3293325a2bcbc9ed6e53e
121,132
py
Python
cli/tests/pcluster/config/test_validators.py
QPC-database/aws-parallelcluster
8c2e9595ca171340df21695c27d85dc00f19d3e4
[ "Apache-2.0" ]
1
2021-07-10T13:59:46.000Z
2021-07-10T13:59:46.000Z
cli/tests/pcluster/config/test_validators.py
QPC-database/aws-parallelcluster
8c2e9595ca171340df21695c27d85dc00f19d3e4
[ "Apache-2.0" ]
null
null
null
cli/tests/pcluster/config/test_validators.py
QPC-database/aws-parallelcluster
8c2e9595ca171340df21695c27d85dc00f19d3e4
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance # with the License. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "LICENSE.txt" file accom...
39.780624
120
0.588383
12,448
121,132
5.459753
0.082423
0.020835
0.022836
0.015567
0.68065
0.62431
0.57624
0.527772
0.479643
0.447773
0
0.041839
0.290856
121,132
3,044
121
39.793693
0.749348
0.038817
0
0.472061
0
0.003991
0.376327
0.071676
0
0
0
0.000329
0.031567
1
0.023222
false
0.000726
0.016328
0.000726
0.041001
0.000363
0
0
0
null
0
0
0
0
0
0
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
1
0
72626018c04a7d52d09238e8d7436046a0c6a071
652
py
Python
flask_app.py
takamatsu-shyo/yolo-microservice
b8ab03b98c0939ab1849d0da938d0878b0ec441f
[ "MIT" ]
null
null
null
flask_app.py
takamatsu-shyo/yolo-microservice
b8ab03b98c0939ab1849d0da938d0878b0ec441f
[ "MIT" ]
null
null
null
flask_app.py
takamatsu-shyo/yolo-microservice
b8ab03b98c0939ab1849d0da938d0878b0ec441f
[ "MIT" ]
null
null
null
from flask import Flask from flask import request from flask import Response from resources import resourcePing, resourceResolution from message_protocol.resolution_input import parseResolutionInput import json app = Flask(__name__) @app.route('/ping', methods=['GET']) def ping(): output = resourcePing.main() ...
29.636364
66
0.759202
75
652
6.493333
0.4
0.055441
0.092402
0
0
0
0
0
0
0
0
0
0.131902
652
21
67
31.047619
0.860424
0
0
0
0
0
0.084356
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7263c0e12b1f9385bffd20a482055a91cac00beb
996
py
Python
backend/server/server/wsgi.py
Stinger101/my_uno_ml_service
47d19f6e5e19e73c465b7ddca889324c9bd5862f
[ "MIT" ]
null
null
null
backend/server/server/wsgi.py
Stinger101/my_uno_ml_service
47d19f6e5e19e73c465b7ddca889324c9bd5862f
[ "MIT" ]
null
null
null
backend/server/server/wsgi.py
Stinger101/my_uno_ml_service
47d19f6e5e19e73c465b7ddca889324c9bd5862f
[ "MIT" ]
null
null
null
""" WSGI config for server project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
33.2
315
0.800201
131
996
5.954198
0.618321
0.046154
0.046154
0
0
0
0
0
0
0
0
0.005599
0.103414
996
29
316
34.344828
0.867861
0.212851
0
0
0
0
0.233247
0.028351
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
72656ef10a55622587068a8e047a20f959778ca6
2,583
py
Python
pycbc/config.py
mchestr/pycbc
c215c1f177fe383ec6e797437fa2d5f4727eb9f3
[ "Unlicense" ]
null
null
null
pycbc/config.py
mchestr/pycbc
c215c1f177fe383ec6e797437fa2d5f4727eb9f3
[ "Unlicense" ]
null
null
null
pycbc/config.py
mchestr/pycbc
c215c1f177fe383ec6e797437fa2d5f4727eb9f3
[ "Unlicense" ]
null
null
null
import os from functools import reduce import boto3 import yaml from copy import deepcopy from cryptography.fernet import Fernet from pycbc import json from pycbc.utils import AttrDict as d s3 = boto3.client('s3') _mapping_tag = yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG _DEFAULTS = d({ 'users': [], 'enc...
25.323529
75
0.541231
301
2,583
4.458472
0.358804
0.046945
0.035768
0.017884
0.049925
0.049925
0
0
0
0
0
0.013552
0.314363
2,583
101
76
25.574257
0.744212
0
0
0.149425
0
0
0.15331
0.025165
0
0
0
0
0
1
0.057471
false
0
0.091954
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7265b89cf3b023b36a24bc0d387a352f1ee8492b
1,881
py
Python
models/toolscontext/errorhandler.py
vinirossa/password_generator_test
dd2f43540c6f58ff9217320c21b246c0be3fc55f
[ "MIT" ]
2
2021-09-10T00:11:00.000Z
2021-09-10T02:47:54.000Z
models/toolscontext/errorhandler.py
vinirossa/password_generator_test
dd2f43540c6f58ff9217320c21b246c0be3fc55f
[ "MIT" ]
null
null
null
models/toolscontext/errorhandler.py
vinirossa/password_generator_test
dd2f43540c6f58ff9217320c21b246c0be3fc55f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Module Name Description... """ __author__ = "Vinícius Pereira" __copyright__ = "Copyright 2021, Vinícius Pereira" __credits__ = ["Vinícius Pereira","etc."] __date__ = "2021/04/12" __license__ = "GPL" __version__ = "1.0.0" __pythonversion__ = "3.9.1" __maintaine...
24.115385
106
0.640617
214
1,881
5.158879
0.429907
0.057971
0.082428
0.030797
0
0
0
0
0
0
0
0.014765
0.207868
1,881
78
107
24.115385
0.726175
0.037746
0
0.061224
0
0.020408
0.235392
0.011686
0
0
0
0
0
1
0.081633
false
0.061224
0.081633
0
0.204082
0.142857
0
0
0
null
0
0
0
0
0
0
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
72676d2137788d26c0fcf85bc5ff2c5f1b9c272c
2,893
py
Python
05-Intro-to-SpaCy/scripts/choropleth.py
henchc/Rediscovering-Text-as-Data
3e14fa7a4bd82899ea564d4f7857a5dbdc616a4f
[ "MIT" ]
15
2017-08-29T01:13:42.000Z
2020-12-30T17:10:32.000Z
05-Intro-to-SpaCy/scripts/choropleth.py
henchc/Rediscovering-Text-as-Data
3e14fa7a4bd82899ea564d4f7857a5dbdc616a4f
[ "MIT" ]
null
null
null
05-Intro-to-SpaCy/scripts/choropleth.py
henchc/Rediscovering-Text-as-Data
3e14fa7a4bd82899ea564d4f7857a5dbdc616a4f
[ "MIT" ]
23
2017-08-30T16:59:41.000Z
2019-12-07T07:09:17.000Z
def us_choropleth(t): import matplotlib.cm from matplotlib.patches import Polygon from matplotlib.collections import PatchCollection from matplotlib.colors import Normalize import shapefile import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap import numpy as np im...
30.776596
75
0.648462
384
2,893
4.736979
0.4375
0.054426
0.069269
0.014843
0.024189
0
0
0
0
0
0
0.026424
0.241272
2,893
93
76
31.107527
0.802278
0.125475
0
0
0
0
0.069897
0.015488
0
0
0
0
0
1
0.013889
false
0
0.152778
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
726777c55df7d3f2aede322d72f4954164b655c1
2,348
py
Python
take_day_and_night_pictures.py
ntmoore/skycamera
c8c67970b0e3a52ce008dbd6b34df20cdda786b7
[ "MIT" ]
null
null
null
take_day_and_night_pictures.py
ntmoore/skycamera
c8c67970b0e3a52ce008dbd6b34df20cdda786b7
[ "MIT" ]
null
null
null
take_day_and_night_pictures.py
ntmoore/skycamera
c8c67970b0e3a52ce008dbd6b34df20cdda786b7
[ "MIT" ]
null
null
null
import time import os #parameters sunset_hr=8 dawn_hr=7 daytime_period_min=60 nighttime_period_min=1 time.localtime() print("program starts at ",time.localtime()); while(1): #Is it day or night? time.localtime() hour = time.localtime()[3] minute = time.localtime()[4] hour_float = 1.0*hour+minute...
29.721519
94
0.568143
284
2,348
4.633803
0.295775
0.177812
0.041033
0.036474
0.472644
0.472644
0.472644
0.407295
0.407295
0.407295
0
0.050967
0.272998
2,348
78
95
30.102564
0.719977
0.083475
0
0.421053
0
0
0.241671
0.108869
0
0
0
0
0
1
0
false
0
0.035088
0
0.035088
0.122807
0
0
0
null
0
0
0
0
0
0
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
1
0