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
cd30b7f128f486c26fc8fc01b42d8a3b5f3c95a1
1,294
py
Python
config.py
SummaLabs/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
32
2017-09-04T17:40:39.000Z
2021-02-16T23:08:34.000Z
config.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
3
2017-10-09T12:52:54.000Z
2020-06-29T02:48:38.000Z
config.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
20
2017-10-07T17:29:50.000Z
2021-01-23T22:01:54.000Z
import os BASE_DIR = os.path.abspath(os.path.dirname(__file__)) DLS_MODELS_REL_PATH = 'data/models' DATASETS_REL_PATH = 'data/datasets-v2' class Config(object): DEBUG = True TESTING = False CSRF_ENABLED = True SECRET_KEY = 'this-really-needs-to-be-changed' # DLS_FILEMANAGER_BASE_PATH = os.pat...
30.809524
95
0.707883
181
1,294
4.828729
0.502762
0.034325
0.034325
0.048055
0.076659
0.057208
0.057208
0
0
0
0
0.009625
0.197063
1,294
42
96
30.809524
0.831569
0.227975
0
0.076923
0
0
0.124242
0.031313
0
0
0
0
0
1
0
false
0.038462
0.076923
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
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
cd3189216d009f2235ff29da5e9ad6f55b348f5f
541
py
Python
.conan_test_package/conanfile.py
qcscine/xtb_wrapper
5295244771ed5efe3d9e1582e07ed9d26545d387
[ "BSD-3-Clause" ]
null
null
null
.conan_test_package/conanfile.py
qcscine/xtb_wrapper
5295244771ed5efe3d9e1582e07ed9d26545d387
[ "BSD-3-Clause" ]
null
null
null
.conan_test_package/conanfile.py
qcscine/xtb_wrapper
5295244771ed5efe3d9e1582e07ed9d26545d387
[ "BSD-3-Clause" ]
1
2022-02-04T13:40:00.000Z
2022-02-04T13:40:00.000Z
__copyright__ = """This file is part of SCINE Utilities. This code is licensed under the 3-clause BSD license. Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. See LICENSE.txt for details. """ from conans import ConanFile class TestPackageConan(ConanFile): def build(self): pass ...
28.473684
69
0.700555
71
541
5.197183
0.676056
0.065041
0.121951
0.113821
0
0
0
0
0
0
0
0.002358
0.216266
541
18
70
30.055556
0.867925
0
0
0
0
0
0.475046
0
0
0
0
0
0
1
0.142857
false
0.071429
0.285714
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cd32f316b79fe6ac6f6a4cb9bf4d455755a44e66
2,484
py
Python
flaskdeploy/test/prototype.py
Mon-ius/flask-deploy
766eb703ebde0e0ccea74511fa1b20b4e9ba4b21
[ "MIT" ]
1
2021-03-22T11:40:29.000Z
2021-03-22T11:40:29.000Z
flaskdeploy/test/prototype.py
Mon-ius/flask-deploy
766eb703ebde0e0ccea74511fa1b20b4e9ba4b21
[ "MIT" ]
null
null
null
flaskdeploy/test/prototype.py
Mon-ius/flask-deploy
766eb703ebde0e0ccea74511fa1b20b4e9ba4b21
[ "MIT" ]
null
null
null
from config import * from validation import * from utils import * import subprocess import getpass import os import click domain = "xx.com" usr = getpass.getuser() loc = os.path.join(os.getcwd(), domain) DOMAIN, USR, CUR_LOC = domain, usr, loc cli = click.Group() @click.command(short_help='AliYun Option',context_se...
26.147368
104
0.667874
356
2,484
4.379213
0.22191
0.049391
0.043618
0.053881
0.398974
0.283515
0.225786
0.225786
0.225786
0.164208
0
0.011765
0.178744
2,484
95
105
26.147368
0.752451
0.068438
0
0.333333
0
0.013333
0.141732
0
0
0
0
0
0
1
0.066667
false
0.08
0.093333
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
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
cd35a6260dca90e493cf5e6be4402518cd838d33
763
py
Python
servidor/miniapps/escrituraHD.py
javierdotnet/Curso-python
9da59bcfded6ed959378cf1f51c7eca5421c0f56
[ "MIT" ]
null
null
null
servidor/miniapps/escrituraHD.py
javierdotnet/Curso-python
9da59bcfded6ed959378cf1f51c7eca5421c0f56
[ "MIT" ]
null
null
null
servidor/miniapps/escrituraHD.py
javierdotnet/Curso-python
9da59bcfded6ed959378cf1f51c7eca5421c0f56
[ "MIT" ]
null
null
null
""" Python escritura en disco Puede leer y escribir archivo con la funcion (open) Los archivos pueden ser de texto o binarios Manejadores : * r = read * w = write * a = append * r+ = lee y escribe Se deben cerrar los archivos con el método (close) """ archivo = '/Users/javier/fi...
19.564103
55
0.554391
105
763
3.952381
0.571429
0.079518
0.086747
0.106024
0.120482
0
0
0
0
0
0
0.001908
0.313237
763
38
56
20.078947
0.790076
0.323722
0
0.263158
0
0
0.175847
0.09322
0
0
0
0.026316
0
1
0.105263
false
0
0
0
0.105263
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cd39993f5be6ba4608b464b30d79ea2d78f84971
6,425
py
Python
examples/dbpedia/dbpedia/dsl.py
dfcmmendes/SoccerQuepy
d283cbff69f93948be2629156c1bcf484303ca08
[ "BSD-3-Clause" ]
null
null
null
examples/dbpedia/dbpedia/dsl.py
dfcmmendes/SoccerQuepy
d283cbff69f93948be2629156c1bcf484303ca08
[ "BSD-3-Clause" ]
null
null
null
examples/dbpedia/dbpedia/dsl.py
dfcmmendes/SoccerQuepy
d283cbff69f93948be2629156c1bcf484303ca08
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2012, Machinalis S.R.L. # This file is part of quepy and is distributed under the Modified BSD License. # You should have received a copy of license in the LICENSE file. # # Authors: Rafael Carrascosa <rcarrascosa@machinalis.com> # Gonzalo Garcia Berrotaran <ggarcia@machinalis....
21.560403
79
0.70428
671
6,425
6.709389
0.362146
0.17259
0.103065
0.08263
0.033763
0
0
0
0
0
0
0.00252
0.197043
6,425
298
80
21.560403
0.87013
0.124514
0
0.27381
0
0
0.192923
0.039159
0
0
0
0
0
1
0.017857
false
0
0.017857
0.005952
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
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
cd40766c2a8646449bc430f7eea26e48be7ba38c
483
py
Python
Examples/example.py
mystor/garter
be79188d67923ca18c97f4d3cfcfdf89d18b4057
[ "PSF-2.0" ]
null
null
null
Examples/example.py
mystor/garter
be79188d67923ca18c97f4d3cfcfdf89d18b4057
[ "PSF-2.0" ]
null
null
null
Examples/example.py
mystor/garter
be79188d67923ca18c97f4d3cfcfdf89d18b4057
[ "PSF-2.0" ]
null
null
null
# This is a version of the program from the second edition of Hume/Holt # illustrating different programming languages. # The program can be run interactively by typing in the data. # See page 292 and following of book. # This is a comment while True: cost := float(input()) life := int(input()) print("cost...
30.1875
71
0.654244
69
483
4.57971
0.652174
0.037975
0.044304
0
0
0
0
0
0
0
0
0.008197
0.242236
483
15
72
32.2
0.855191
0.47412
0
0
0
0
0.056452
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
cd4b804479433d941ea6e9d438fe0872ee0805a9
809
py
Python
orange3/Orange/widgets/utils/plot/owpalette.py
rgschmitz1/BioDepot-workflow-builder
f74d904eeaf91ec52ec9b703d9fb38e9064e5a66
[ "MIT" ]
54
2017-01-08T17:21:49.000Z
2021-11-02T08:46:07.000Z
orange3/Orange/widgets/utils/plot/owpalette.py
Synthia-3/BioDepot-workflow-builder
4ee93abe2d79465755e82a145af3b6a6e1e79fd4
[ "MIT" ]
22
2017-03-28T06:03:14.000Z
2021-07-28T05:43:55.000Z
orange3/Orange/widgets/utils/plot/owpalette.py
Synthia-3/BioDepot-workflow-builder
4ee93abe2d79465755e82a145af3b6a6e1e79fd4
[ "MIT" ]
21
2017-01-26T21:12:09.000Z
2022-01-31T21:34:59.000Z
from AnyQt.QtGui import QPalette from AnyQt.QtCore import Qt import pyqtgraph as pg pg.setConfigOption("background", "w") pg.setConfigOption("foreground", "k") pg.setConfigOptions(antialias=True) def create_palette(colors): p = QPalette() for role, color in colors.items(): p.setColor(role, color) ...
25.28125
82
0.688504
104
809
5.326923
0.605769
0.070397
0.068592
0.075812
0
0
0
0
0
0
0
0
0.2089
809
31
83
26.096774
0.865625
0.133498
0
0
0
0
0.032689
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cd4b98f7f696ba29cf9bb7e973f07af27b6d99ea
4,113
py
Python
queryset_client/tests/base/tests/strict.py
pulina/tastypie-queryset-client
1d65ee387e256b78c44fd8be57fa64ca798ae2da
[ "MIT" ]
null
null
null
queryset_client/tests/base/tests/strict.py
pulina/tastypie-queryset-client
1d65ee387e256b78c44fd8be57fa64ca798ae2da
[ "MIT" ]
1
2016-12-22T10:55:44.000Z
2016-12-22T10:55:44.000Z
queryset_client/tests/base/tests/strict.py
pulina/tastypie-queryset-client
1d65ee387e256b78c44fd8be57fa64ca798ae2da
[ "MIT" ]
5
2015-04-27T11:50:28.000Z
2019-01-10T06:39:57.000Z
from decimal import Decimal from datetime import datetime #from django.conf import settings #settings.DEBUG = True from testcases import ( TestServerTestCase, get_client ) from django.core.management import call_command from .utils import id_generator def _getDateTimeField(klass): call_command('loaddata',...
24.927273
78
0.697788
469
4,113
5.923241
0.168444
0.097192
0.039597
0.074514
0.607631
0.565155
0.470482
0.410007
0.332253
0.332253
0
0.002725
0.196937
4,113
164
79
25.079268
0.838329
0.116217
0
0.422222
0
0
0.007206
0
0
0
0
0.006098
0.177778
1
0.244444
false
0.022222
0.055556
0
0.322222
0
0
0
0
null
0
0
0
0
0
0
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
cd587bbddfa277f05a097492c9a7d053e41b1cc3
2,896
py
Python
im/spatialise_im.py
ucgmsim/visualization
80ebfd39e10a254017cea8e122c1d73b7194072e
[ "MIT" ]
2
2020-06-22T04:59:44.000Z
2020-08-05T17:42:48.000Z
im/spatialise_im.py
ucgmsim/visualization
80ebfd39e10a254017cea8e122c1d73b7194072e
[ "MIT" ]
18
2018-07-26T05:07:04.000Z
2022-03-07T01:10:18.000Z
im/spatialise_im.py
ucgmsim/visualization
80ebfd39e10a254017cea8e122c1d73b7194072e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Generate non_uniform.xyz and sim/obs.xyz file """ import argparse from pathlib import Path from qcore import shared, utils, constants, formats COMPS = list(constants.Components.iterate_str_values()) def validate_filepath(parser, file_path): """ validates input file path :par...
28.116505
110
0.653315
395
2,896
4.541772
0.339241
0.035674
0.037904
0.021182
0.068004
0.068004
0.03456
0
0
0
0
0.000895
0.228591
2,896
102
111
28.392157
0.802149
0.095994
0
0.046875
1
0
0.162035
0
0
0
0
0
0
1
0.046875
false
0
0.046875
0
0.109375
0.015625
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
cd596dfa6cb95ca0b7a001033c5f811a6142fa71
9,867
py
Python
database_delivery_sdk/api/dbtask/convert_changeset_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
database_delivery_sdk/api/dbtask/convert_changeset_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
database_delivery_sdk/api/dbtask/convert_changeset_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: convert_changeset.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pr...
41.284519
770
0.770042
1,069
9,867
6.829747
0.148737
0.040542
0.046021
0.030133
0.55102
0.480482
0.455691
0.436516
0.426106
0.426106
0
0.030979
0.113408
9,867
238
771
41.457983
0.803612
0.050877
0
0.642512
1
0.004831
0.23303
0.199679
0
0
0
0
0
1
0
false
0
0.024155
0
0.024155
0
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
cd5ffcb97bac4224c27d6d7e931acedf2676e2c9
3,748
py
Python
backend/favorite_things/models.py
andela-Taiwo/favorite-things
a4801d47fcd40877115104162457eb8c3ffec93c
[ "MIT" ]
null
null
null
backend/favorite_things/models.py
andela-Taiwo/favorite-things
a4801d47fcd40877115104162457eb8c3ffec93c
[ "MIT" ]
13
2020-06-05T22:33:13.000Z
2022-02-26T16:43:38.000Z
backend/favorite_things/models.py
andela-Taiwo/favorite-things
a4801d47fcd40877115104162457eb8c3ffec93c
[ "MIT" ]
null
null
null
# Create your models here. from django.db import models from django.contrib.auth.models import AbstractUser, BaseUserManager from django.contrib.postgres.fields import JSONField # from django.db.models import constraints class UserManager(BaseUserManager): use_in_migrations = True def _create_user(self, **f...
35.028037
132
0.685966
460
3,748
5.417391
0.276087
0.032504
0.043339
0.057785
0.320225
0.205056
0.167737
0.167737
0.137239
0.102729
0
0.00638
0.205443
3,748
106
133
35.358491
0.830423
0.040555
0
0.157895
0
0
0.0877
0
0
0
0
0
0
1
0.078947
false
0.039474
0.039474
0.026316
0.618421
0
0
0
0
null
0
0
0
0
0
0
0
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
cd75eb2f9408ee2d0de944adf00e37438e4ab341
2,791
py
Python
Numpy Exercises/numpy-basics-operations-indexing-slicing-shape-manipulation-stacking-convert-and-copy.py
MRdvan/Python-Training
abe471df7bebe9bccc0a8419726134eb9f446fb1
[ "MIT" ]
null
null
null
Numpy Exercises/numpy-basics-operations-indexing-slicing-shape-manipulation-stacking-convert-and-copy.py
MRdvan/Python-Training
abe471df7bebe9bccc0a8419726134eb9f446fb1
[ "MIT" ]
null
null
null
Numpy Exercises/numpy-basics-operations-indexing-slicing-shape-manipulation-stacking-convert-and-copy.py
MRdvan/Python-Training
abe471df7bebe9bccc0a8419726134eb9f446fb1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Jun 11 23:23:26 2018 @author: user """ # importing import numpy as np #%% numpy basics array = np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]) # 1*15 vector print(array.shape) a = array.reshape(3,5) #%% print("shape: ",a.shape) print("dimension: ", a.ndim) print("data ...
14.386598
89
0.607309
535
2,791
3.162617
0.282243
0.023641
0.031915
0.070922
0.171395
0.143026
0.088061
0.078014
0.062648
0.052009
0
0.090987
0.165174
2,791
193
90
14.46114
0.635193
0.356861
0
0.081081
0
0
0.023768
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
0.445946
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
cd794cc0cf677277e6cdc7ccb2743b1253df823e
2,332
py
Python
api/views.py
j3ygithub/drflab
dc198e14012f22e9b7f94c50ad3d124ac3c3331e
[ "MIT" ]
null
null
null
api/views.py
j3ygithub/drflab
dc198e14012f22e9b7f94c50ad3d124ac3c3331e
[ "MIT" ]
null
null
null
api/views.py
j3ygithub/drflab
dc198e14012f22e9b7f94c50ad3d124ac3c3331e
[ "MIT" ]
null
null
null
from rest_framework import viewsets from crm.models import Person from .serializers import PersonSerializer from crm.models import Device from .serializers import DeviceSerializer from crm.models import CallLog from .serializers import CallLogSerializer from ocrm.models import UserProfile from .serializers import UserP...
31.945205
76
0.697256
261
2,332
6.126437
0.249042
0.082552
0.12758
0.078799
0.250156
0.217636
0.217636
0.217636
0.217636
0.217636
0
0
0.189966
2,332
72
77
32.388889
0.84648
0
0
0.109091
0
0
0.024014
0
0
0
0
0
0
1
0.145455
false
0
0.2
0
0.709091
0
0
0
0
null
0
0
0
0
0
0
0
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
cd81d0a5d15a4a904ae98d82cece0aaa0c1d2de3
9,950
py
Python
prep/2.compile_publications.py
vsoch/microfish
d93f5c36fdd3403abdcc7e20572d848f3e3cb3c1
[ "MIT" ]
1
2017-05-27T17:23:50.000Z
2017-05-27T17:23:50.000Z
prep/2.compile_publications.py
vsoch/microfish
d93f5c36fdd3403abdcc7e20572d848f3e3cb3c1
[ "MIT" ]
1
2016-05-17T04:04:04.000Z
2016-05-17T04:04:04.000Z
prep/2.compile_publications.py
vsoch/microfish
d93f5c36fdd3403abdcc7e20572d848f3e3cb3c1
[ "MIT" ]
null
null
null
from glob import glob import itertools import pandas import numpy import json import os import re home = os.environ["HOME"] base = "%s/DATA/PUBMED" %os.environ["SCRATCH"] infolder = "%s/methods/microsoft" %(base) outfolder = "%s/results" %(infolder) if not os.path.exists(outfolder): os.mkdir(outfolder) data_file...
36.988848
116
0.59598
1,250
9,950
4.6696
0.3432
0.022614
0.007195
0.004797
0.05448
0.03238
0
0
0
0
0
0.042029
0.294573
9,950
268
117
37.126866
0.789571
0.458593
0
0.034783
0
0
0.104023
0.025096
0
0
0
0
0
0
null
null
0
0.06087
null
null
0.026087
0
0
0
null
0
0
0
0
0
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
cd83ac885830c8c3bfabea21aa076e6348377720
553
py
Python
12_08_03_CNN_split_project/src/main.py
sandalfon/Tf-tutos
8381775b01192d8cc128eb440e552c6b1610b95f
[ "MIT" ]
null
null
null
12_08_03_CNN_split_project/src/main.py
sandalfon/Tf-tutos
8381775b01192d8cc128eb440e552c6b1610b95f
[ "MIT" ]
null
null
null
12_08_03_CNN_split_project/src/main.py
sandalfon/Tf-tutos
8381775b01192d8cc128eb440e552c6b1610b95f
[ "MIT" ]
1
2019-09-10T06:58:36.000Z
2019-09-10T06:58:36.000Z
# -*- coding: utf-8 -*- """ Created on Wed Feb 28 09:56:31 2018 @author: Sandalfon """ #from options import Options #from data_dl import DataDl #from data import Data # #options=Options() # # #options.loadFromJson('options.json') #dataDl=DataDl() #dataDl.dl_end_extract(options) # #Data().batches(options, train_logica...
17.83871
46
0.746835
75
553
5.426667
0.453333
0.137592
0.083538
0.117936
0.353808
0.216216
0
0
0
0
0
0.026749
0.121157
553
30
47
18.433333
0.8107
0.529837
0
0
0
0
0.050209
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
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
cd87e1decd363942057c940f2106dd7baa264076
570
py
Python
BOJ/dp_boj/sticker_1.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
BOJ/dp_boj/sticker_1.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
BOJ/dp_boj/sticker_1.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
# BOJ 9465 n = 5 stickers = [[50, 10, 100, 20, 40], [30, 50, 70, 10, 60]] memo = [[0 for _ in range(n)] for _ in range(2)] memo[0][0] = stickers[0][0] memo[0][1] = stickers[0][1] def solve(n): for i in range(1, n): if i < 2: memo[0][i] = memo[1][i - 1] + stickers[0][i] memo[1][i] ...
31.666667
77
0.463158
110
570
2.381818
0.245455
0.171756
0.114504
0.080153
0.152672
0.122137
0
0
0
0
0
0.151961
0.284211
570
18
78
31.666667
0.490196
0.014035
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cd94f60a8fd1aae53d3e1a4b07877c19a1d30fab
2,739
py
Python
custom_components/mitblod/config_flow.py
slimcdk/homeassistant-mitblod
4c9b8054a85214f7a5ecad4400eb5a67c5f09173
[ "Apache-2.0" ]
null
null
null
custom_components/mitblod/config_flow.py
slimcdk/homeassistant-mitblod
4c9b8054a85214f7a5ecad4400eb5a67c5f09173
[ "Apache-2.0" ]
null
null
null
custom_components/mitblod/config_flow.py
slimcdk/homeassistant-mitblod
4c9b8054a85214f7a5ecad4400eb5a67c5f09173
[ "Apache-2.0" ]
null
null
null
"""Config flow for MitBlod integration.""" import pymitblod from homeassistant.core import HomeAssistant from homeassistant.data_entry_flow import FlowResult from homeassistant.helpers.typing import ConfigType from homeassistant.config_entries import ConfigFlow, CONN_CLASS_CLOUD_POLL from homeassistant.const import ( ...
33.402439
118
0.720701
335
2,739
5.558209
0.241791
0.077336
0.04189
0.02739
0.482277
0.482277
0.416756
0.320086
0.280344
0.280344
0
0.000455
0.196787
2,739
82
119
33.402439
0.845909
0.025557
0
0.241379
0
0
0.018342
0.009171
0
0
0
0
0
1
0.017241
false
0.051724
0.12069
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cd995c3b94ba1e2e65c9eaab22911c3b5ebb0988
781
py
Python
GenericMachine.py
alantsv/ppgcc-ufpa-ct-2019
aa2b379e19b0b8a83518585687b40aff1cf71bea
[ "MIT" ]
1
2022-01-08T13:19:35.000Z
2022-01-08T13:19:35.000Z
GenericMachine.py
alantsv/ppgcc-ufpa-ct-2019
aa2b379e19b0b8a83518585687b40aff1cf71bea
[ "MIT" ]
null
null
null
GenericMachine.py
alantsv/ppgcc-ufpa-ct-2019
aa2b379e19b0b8a83518585687b40aff1cf71bea
[ "MIT" ]
null
null
null
class GenericMachine(): alphabet = set() trans_func = dict() start_state = str() final_states = set() def __init__(self, _alphabet, _trans_func, _start_state, _final_states): self.alphabet = _alphabet self.trans_func = _trans_func self.start_state = _start_state self...
27.892857
76
0.595391
89
781
4.853933
0.314607
0.104167
0.060185
0.069444
0
0
0
0
0
0
0
0
0.334187
781
27
77
28.925926
0.830769
0
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
26a35aa65a93a4957e09d8f2cb25bc145d9ebc45
3,574
py
Python
SPD/lib/lib_additivity_check_statistics.py
yamamon75/PmagPy
fa5b189800a239683fc17c6b312cdfdd839a46c3
[ "BSD-3-Clause" ]
2
2020-07-05T01:11:33.000Z
2020-07-05T01:11:39.000Z
SPD/lib/lib_additivity_check_statistics.py
yamamon75/PmagPy
fa5b189800a239683fc17c6b312cdfdd839a46c3
[ "BSD-3-Clause" ]
null
null
null
SPD/lib/lib_additivity_check_statistics.py
yamamon75/PmagPy
fa5b189800a239683fc17c6b312cdfdd839a46c3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from __future__ import division from past.utils import old_div import numpy def get_n_add(temps, starting_temps, tmax): incl_temps = [] for num, temp in enumerate(temps): if temp <= tmax and starting_temps[num] <= tmax: incl_temps.append(temp) n_add = len(incl_t...
37.621053
195
0.645775
523
3,574
4.053537
0.183556
0.059434
0.055189
0.037736
0.271698
0.20566
0.174528
0.174528
0.14434
0.14434
0
0.006792
0.258534
3,574
94
196
38.021277
0.793208
0.085339
0
0.138889
0
0.041667
0.768476
0.207912
0
0
0
0
0
1
0.027778
false
0
0.041667
0
0.138889
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26b8566866058e49e076946a078ef4e4ca5696c9
438
py
Python
langEnums.py
StoryScriptorg/StoryScript-CTranspiler
e51dc8739039bf5b0153bbbb22a4f6f39f2f6b51
[ "MIT" ]
null
null
null
langEnums.py
StoryScriptorg/StoryScript-CTranspiler
e51dc8739039bf5b0153bbbb22a4f6f39f2f6b51
[ "MIT" ]
2
2021-12-04T03:45:38.000Z
2021-12-04T03:49:52.000Z
langEnums.py
StoryScriptorg/StoryScript-CTranspiler
e51dc8739039bf5b0153bbbb22a4f6f39f2f6b51
[ "MIT" ]
null
null
null
from enum import Enum class Exceptions(Enum): InvalidSyntax = 100 AlreadyDefined = 101 NotImplementedException = 102 NotDefinedException = 103 GeneralException = 104 DivideByZeroException = 105 InvalidValue = 106 InvalidTypeException = 107 class Types(Enum): Boolean = 0 Integer = 1 Float = 2 List = 3 ...
16.222222
30
0.712329
53
438
5.886792
0.830189
0
0
0
0
0
0
0
0
0
0
0.105572
0.221461
438
27
31
16.222222
0.809384
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.041667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
26c3ae302ddd798198c110ee1803a426e85e6e3c
2,811
py
Python
debian-11-PrisonPC/xdm/acceptable-use-policy.py
mijofa/bootstrap2020
38f557f4f0e72eaefe366f12f6adac3e2f9c9abd
[ "MIT" ]
null
null
null
debian-11-PrisonPC/xdm/acceptable-use-policy.py
mijofa/bootstrap2020
38f557f4f0e72eaefe366f12f6adac3e2f9c9abd
[ "MIT" ]
null
null
null
debian-11-PrisonPC/xdm/acceptable-use-policy.py
mijofa/bootstrap2020
38f557f4f0e72eaefe366f12f6adac3e2f9c9abd
[ "MIT" ]
null
null
null
#!/usr/bin/python3 __doc__ = """ display an "Acceptable Use Policy" (AUP) on the xdm login screen The AUP says something like You may be monitored at any time. You will not know WHEN you are being monitored. This is a privilege; naughty users may be banned. We used to do this by pre-rendering it to an X...
36.038462
78
0.726432
441
2,811
4.580499
0.55102
0.041584
0.05198
0.030693
0.061386
0
0
0
0
0
0
0.008974
0.167556
2,811
77
79
36.506494
0.854274
0.190324
0
0
0
0
0.640901
0.060512
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26ca838165495918548995680529d9abc2417c0e
1,115
py
Python
BANCO/SRC/criar_conta.py
xing-wang-kai/EXERCICIOS-E-TESTE---OO-em-PYTHON-Caelum-exercicios
980323e99803b742f1ddaf3dbb087f8d1d89a2f7
[ "MIT" ]
null
null
null
BANCO/SRC/criar_conta.py
xing-wang-kai/EXERCICIOS-E-TESTE---OO-em-PYTHON-Caelum-exercicios
980323e99803b742f1ddaf3dbb087f8d1d89a2f7
[ "MIT" ]
null
null
null
BANCO/SRC/criar_conta.py
xing-wang-kai/EXERCICIOS-E-TESTE---OO-em-PYTHON-Caelum-exercicios
980323e99803b742f1ddaf3dbb087f8d1d89a2f7
[ "MIT" ]
null
null
null
from class_conta import cliente, conta cliente_01 = cliente("sergio", "antonio", "111.111.111-11") cliente_02 = cliente("maria", "alessandra", "222.222.222-22") cliente_03 = cliente("Jose", "riquelme", "333.333.333-33") conta_01 = conta("1234-001", cliente_01, 3000) conta_02 = conta("1234-002", cliente_02, 2000) prin...
25.340909
65
0.752466
180
1,115
4.4
0.322222
0.097222
0.060606
0.075758
0.136364
0.073232
0.073232
0
0
0
0
0.141879
0.083408
1,115
44
66
25.340909
0.633072
0
0
0.25
0
0
0.121677
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0.40625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
26ca960bba13205e3ab4aac2cbe242c203be439f
690
py
Python
Pacote Download/Ex041_12_Classificando_Atletas.py
BrunoCruzIglesias/Python
01465632a8471271e994eb4565a14a547db6578d
[ "MIT" ]
null
null
null
Pacote Download/Ex041_12_Classificando_Atletas.py
BrunoCruzIglesias/Python
01465632a8471271e994eb4565a14a547db6578d
[ "MIT" ]
null
null
null
Pacote Download/Ex041_12_Classificando_Atletas.py
BrunoCruzIglesias/Python
01465632a8471271e994eb4565a14a547db6578d
[ "MIT" ]
null
null
null
# Equipe de natação quer um programa que leia o ano que o atleta nasceu # e diga qual categoria ele se encaixa: # até 9 anos: mirim # até 14 anos: infantil # até 19 anos: junior # até 20 anos: master from datetime import date ano_nasc = int(input('Digite o ano de nascimento do Atleta: ')) ano_...
32.857143
71
0.67971
112
690
4.080357
0.4375
0.091904
0.12035
0.164114
0.253829
0.170678
0.170678
0.170678
0.170678
0.170678
0
0.030019
0.227536
690
20
72
34.5
0.827392
0.308696
0
0
0
0
0.319149
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.384615
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26cbeb5432ac290ceed67ad0f20d5c42b37e5249
4,357
py
Python
mycode/test03.py
JamesWang007/kitti_object_vis
d472ee2e94afc55ecb8096df870389a4bb21f2bb
[ "MIT" ]
null
null
null
mycode/test03.py
JamesWang007/kitti_object_vis
d472ee2e94afc55ecb8096df870389a4bb21f2bb
[ "MIT" ]
null
null
null
mycode/test03.py
JamesWang007/kitti_object_vis
d472ee2e94afc55ecb8096df870389a4bb21f2bb
[ "MIT" ]
null
null
null
import torch import numpy as np import _init_path import numpy as np import os import torch import torch.nn as nn import torch.optim as optim import torch.optim.lr_scheduler as lr_sched from torch.nn.utils import clip_grad_norm_ from torch.utils.data import DataLoader import tensorboard_logger as tb_log from dataset i...
20.84689
88
0.512738
646
4,357
3.339009
0.236842
0.03987
0.034771
0.029671
0.270746
0.240148
0.205841
0.201205
0.191933
0.191933
0
0.097662
0.332568
4,357
208
89
20.947115
0.644085
0.042001
0
0.333333
0
0
0.022797
0.00666
0
0
0
0.004808
0
0
null
null
0
0.109091
null
null
0.006061
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
26cd97692fa09e61bd365c337e2d4928f67658cc
1,424
py
Python
Bigger is Greater.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
Bigger is Greater.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
Bigger is Greater.py
Shaikh-Nabeel/HackerRankAlgorithms
3d11fd2c45bd045fa320691c8ac1c89acadc6d8a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Problem Statement Given a word w, rearrange the letters of w to construct another word s in such a way that, s is lexicographically greater than w. In case of multiple possible answers, find the lexicographically smallest one. Input Format The first line of input contains t, number of test...
23.733333
113
0.50632
199
1,424
3.562814
0.452261
0.019746
0.008463
0.019746
0.107193
0.042313
0.042313
0
0
0
0
0.01559
0.369382
1,424
59
114
24.135593
0.773942
0.04986
0
0.1875
0
0
0.045802
0
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
26ce59182b33b7a84571ec6eadf91974a8913ad1
559
py
Python
src/kgmk/dsa/topology/euler_tour/node/jit.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
src/kgmk/dsa/topology/euler_tour/node/jit.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
src/kgmk/dsa/topology/euler_tour/node/jit.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
from ..edge.non_recursive.jit import ( euler_tour_edge, ) # TODO cut below import typing import numpy as np import numba as nb @nb.njit def euler_tour_node( g: np.ndarray, edge_idx: np.ndarray, root: int, ) -> typing.Tuple[(np.ndarray, ) * 4]: tour, parent, depth = euler_tour_edge(g, edge_idx, root) ...
19.964286
58
0.62254
95
559
3.536842
0.473684
0.080357
0.077381
0
0
0
0
0
0
0
0
0.021127
0.237925
559
27
59
20.703704
0.767606
0.025045
0
0
0
0
0
0
0
0
0
0.037037
0
1
0.043478
false
0
0.173913
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
26dc56109c62d3e0227ef1d19390371f3411746b
948
py
Python
mail_app/views.py
samir321-pixel/Django_Celery_With_React
9a6063e2f7397e001f896c2e64f3e4e165b38289
[ "Apache-2.0" ]
4
2021-03-08T17:08:37.000Z
2021-12-31T02:40:53.000Z
mail_app/views.py
samir321-pixel/Django_Celery_With_React
9a6063e2f7397e001f896c2e64f3e4e165b38289
[ "Apache-2.0" ]
null
null
null
mail_app/views.py
samir321-pixel/Django_Celery_With_React
9a6063e2f7397e001f896c2e64f3e4e165b38289
[ "Apache-2.0" ]
null
null
null
from .serializers import User_Mail_Serializer from .models import User_mail from rest_framework.response import Response from rest_framework import generics, status from django.views.generic import ListView class IndexView(ListView): template_name = 'home/index.html' context_object_name = 'index' class Send...
33.857143
78
0.741561
115
948
5.921739
0.452174
0.070485
0.079295
0.052863
0
0
0
0
0
0
0
0.007692
0.177215
948
27
79
35.111111
0.865385
0
0
0
0
0
0.021097
0
0
0
0
0
0
1
0.095238
false
0
0.238095
0
0.761905
0
0
0
0
null
0
0
0
0
0
0
0
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
26dcf0e694e60a23e9e4691858fc92c34cad6386
11,147
py
Python
fabric_cf/actor/core/apis/abc_policy.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
null
null
null
fabric_cf/actor/core/apis/abc_policy.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
67
2020-12-21T15:39:49.000Z
2022-02-27T17:55:00.000Z
fabric_cf/actor/core/apis/abc_policy.py
fabric-testbed/ControlFramework
95ab745e32f15c993bc7a017aa97a5a0f67f210f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # MIT License # # Copyright (c) 2020 FABRIC Testbed # # 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 the rights # to ...
41.438662
97
0.702162
1,419
11,147
5.491896
0.290345
0.038111
0.016682
0.017452
0.257667
0.206724
0.174644
0.155653
0.155653
0.139228
0
0.000836
0.248766
11,147
269
98
41.438662
0.929783
0.693729
0
0.372549
0
0
0
0
0
0
0
0
0
1
0.372549
false
0
0.215686
0
0.607843
0
0
0
0
null
0
0
0
0
0
0
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
26df6286a0b74de3acfa88ff8f2609ecb6b5efc4
3,724
py
Python
backend_rest/makerchecker/migrations/0001_initial.py
ezrankayamba/twiga_sales
78ea9a35db7e75f3492f03559662808cb3ad59f3
[ "MIT" ]
null
null
null
backend_rest/makerchecker/migrations/0001_initial.py
ezrankayamba/twiga_sales
78ea9a35db7e75f3492f03559662808cb3ad59f3
[ "MIT" ]
33
2020-03-14T17:29:33.000Z
2022-03-12T00:19:30.000Z
backend_rest/makerchecker/migrations/0001_initial.py
ezrankayamba/twiga_sales
78ea9a35db7e75f3492f03559662808cb3ad59f3
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-07-11 17:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
82.755556
580
0.654404
423
3,724
5.617021
0.219858
0.058923
0.037037
0.050505
0.730219
0.684764
0.620791
0.620791
0.620791
0.551347
0
0.011643
0.16971
3,724
44
581
84.636364
0.756792
0.012084
0
0.27027
1
0
0.388088
0.043242
0
0
0
0
0
1
0
false
0
0.081081
0
0.189189
0
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
26e2216e3a223fce566db63b4556f6e12ba14db3
981
py
Python
lib/pymedphys/_dicom/anonymise/__init__.py
ethanio12345/pymedphys
cb34c992de8d442eced3385018a194364060092d
[ "Apache-2.0" ]
207
2019-01-29T09:53:04.000Z
2022-03-26T10:34:03.000Z
lib/pymedphys/_dicom/anonymise/__init__.py
ethanio12345/pymedphys
cb34c992de8d442eced3385018a194364060092d
[ "Apache-2.0" ]
1,209
2019-01-29T07:52:27.000Z
2022-03-31T20:11:24.000Z
lib/pymedphys/_dicom/anonymise/__init__.py
ethanio12345/pymedphys
cb34c992de8d442eced3385018a194364060092d
[ "Apache-2.0" ]
58
2019-03-29T09:06:18.000Z
2022-03-24T07:44:22.000Z
# Copyright (C) 2020 Stuart Swerdloff, Simon Biggs # Copyright (C) 2018 Matthew Jennings, Simon Biggs # 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/LICEN...
39.24
86
0.783894
140
981
5.328571
0.635714
0.080429
0.034853
0.042895
0
0
0
0
0
0
0
0.014563
0.160041
981
24
87
40.875
0.890777
0.630989
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
1
26e2a7ce22392b616d012f05b81c32692e62dd94
6,172
py
Python
qwe/controller.py
IEEERobotics/high-level
a50f2170ca81a16bd50b50f970f9e3fe9c656bfa
[ "BSD-2-Clause" ]
1
2017-08-07T06:03:53.000Z
2017-08-07T06:03:53.000Z
qwe/controller.py
IEEERobotics/high-level
a50f2170ca81a16bd50b50f970f9e3fe9c656bfa
[ "BSD-2-Clause" ]
null
null
null
qwe/controller.py
IEEERobotics/high-level
a50f2170ca81a16bd50b50f970f9e3fe9c656bfa
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python """Creates shared data structures, then spawns processes for the major robot tasks and passes them those data structures.""" errors = { "ERROR_BAD_CWD" : 100, "ERROR_MAP_SCRIPT" : 101 } errors.update(dict((v,k) for k,v in errors.iteritems())) # Converts errors to a two-way dict config = { "map_...
42.565517
129
0.716137
875
6,172
4.937143
0.305143
0.033333
0.017361
0.023148
0.134491
0.113194
0.061111
0.023611
0.023611
0.023611
0
0.006199
0.163642
6,172
144
130
42.861111
0.830686
0.246111
0
0.021739
0
0
0.252725
0.011123
0
0
0
0.006944
0
0
null
null
0.01087
0.130435
null
null
0.01087
0
0
0
null
0
0
0
0
0
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
26e3b539abba802e7462a436599dacfda1256d26
3,309
py
Python
traincellpose/io/images.py
abailoni/spacem_annotator
307c84b8889bc8a046441f2d61615d0d2b0d56d8
[ "MIT" ]
1
2022-03-24T11:33:53.000Z
2022-03-24T11:33:53.000Z
traincellpose/io/images.py
abailoni/spacem_annotator
307c84b8889bc8a046441f2d61615d0d2b0d56d8
[ "MIT" ]
null
null
null
traincellpose/io/images.py
abailoni/spacem_annotator
307c84b8889bc8a046441f2d61615d0d2b0d56d8
[ "MIT" ]
null
null
null
import numpy as np import cv2 import imageio import os.path import tifffile try: from ome_zarr.conversions import rgba_to_int except ImportError: rgba_to_int = None try: from paquo.colors import QuPathColor except ImportError: QuPathColor = None colormaps = {"gray": [255, 255, 255, 255], ...
34.113402
99
0.63282
441
3,309
4.643991
0.29932
0.020508
0.021973
0.033691
0.320801
0.246582
0.183594
0.183594
0.183594
0.183594
0
0.034551
0.239045
3,309
96
100
34.46875
0.778793
0.149592
0
0.227273
0
0
0.103141
0
0
0
0
0.010417
0.106061
1
0.060606
false
0
0.136364
0
0.212121
0
0
0
0
null
0
0
0
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
26e5be367bee1e7ce69d8ee0b2cdcec43c1bc3c5
407
py
Python
looking_for_group/invites/urls.py
andrlik/looking-for-group
0b1cecb37ef0f6d75692fd188130e2c60d09b7d2
[ "BSD-3-Clause" ]
null
null
null
looking_for_group/invites/urls.py
andrlik/looking-for-group
0b1cecb37ef0f6d75692fd188130e2c60d09b7d2
[ "BSD-3-Clause" ]
null
null
null
looking_for_group/invites/urls.py
andrlik/looking-for-group
0b1cecb37ef0f6d75692fd188130e2c60d09b7d2
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path from . import views app_name = 'invites' urlpatterns = [ path('create/<int:content_type>/<slug:slug>/', view=views.CreateInvite.as_view(), name='invite_create'), path('invite/<slug:invite>/delete/', view=views.InviteDeleteView.as_view(), name="invite_delete"), path('invite/<...
31.307692
108
0.719902
53
407
5.377358
0.433962
0.094737
0.105263
0.168421
0
0
0
0
0
0
0
0
0.09828
407
12
109
33.916667
0.776567
0
0
0
0
0
0.34398
0.230958
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
26e8bc22232e56f83f83bc9e2afc2a026c9734d1
8,929
py
Python
SignalProcessing/preprocess_signal.py
RyotaroNumata/Brain-kinematics-decoder
0d845b0dafa42577047184d4858019fa758b483c
[ "MIT" ]
1
2022-01-12T11:59:10.000Z
2022-01-12T11:59:10.000Z
SignalProcessing/preprocess_signal.py
RyotaroNumata/Brain-kinematics-decoder
0d845b0dafa42577047184d4858019fa758b483c
[ "MIT" ]
null
null
null
SignalProcessing/preprocess_signal.py
RyotaroNumata/Brain-kinematics-decoder
0d845b0dafa42577047184d4858019fa758b483c
[ "MIT" ]
1
2020-09-28T22:37:55.000Z
2020-09-28T22:37:55.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jan 29 14:51:28 2020 @author: numata """ #import os #import time import numpy as np from scipy import signal from scipy.stats import norm from mne.time_frequency import tfr_array_stockwell import mne from sklearn.preprocessing import StandardScaler imp...
31.440141
119
0.525703
1,010
8,929
4.555446
0.243564
0.025429
0.029341
0.031298
0.189741
0.161487
0.155401
0.146055
0.11215
0.096935
0
0.015999
0.348975
8,929
284
120
31.440141
0.773783
0.292194
0
0.12766
0
0
0.070294
0
0
0
0
0
0
1
0.106383
false
0.053191
0.074468
0
0.287234
0.042553
0
0
0
null
0
0
0
0
0
0
0
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
26ea2872da109ec21332192e36b611c9792ca5fc
959
py
Python
bravia_server.py
soltiz/broadlinkl-rmpro
6ab2c8865f58552e4fefbf30184fd2dcb3bee6fa
[ "MIT" ]
null
null
null
bravia_server.py
soltiz/broadlinkl-rmpro
6ab2c8865f58552e4fefbf30184fd2dcb3bee6fa
[ "MIT" ]
null
null
null
bravia_server.py
soltiz/broadlinkl-rmpro
6ab2c8865f58552e4fefbf30184fd2dcb3bee6fa
[ "MIT" ]
null
null
null
import broadlink import time import sys import fileinput from flask import Flask app = Flask(__name__) device = broadlink.rm(("broadlink",80), bytearray.fromhex("780f77fd3d92"), 0x2712) device.auth() print ("Connecting to Broadlink device....") time.sleep(1) print ("Connected....") def sendIr(command): with open(...
19.571429
82
0.648592
119
959
5.168067
0.487395
0.065041
0.113821
0.162602
0.182114
0.182114
0
0
0
0
0
0.019753
0.15537
959
48
83
19.979167
0.739506
0
0
0.210526
0
0
0.249739
0
0
0
0.00627
0
0
1
0.157895
false
0
0.131579
0
0.421053
0.078947
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f805c0a56b10e7f92b55be137423e0ed2be41f28
1,510
py
Python
test.py
0915318/PietonFunktie
b816f63f91fe654ab628c3ae28f1a2861860a8be
[ "MIT" ]
null
null
null
test.py
0915318/PietonFunktie
b816f63f91fe654ab628c3ae28f1a2861860a8be
[ "MIT" ]
null
null
null
test.py
0915318/PietonFunktie
b816f63f91fe654ab628c3ae28f1a2861860a8be
[ "MIT" ]
null
null
null
from easygui import * import os from pprint import pprint class Settings(EgStore): def __init__(self, filename): # filename is required #------------------------------------------------- # Specify default/initial values for variables that # this particular application wants to remember. ...
37.75
108
0.605298
158
1,510
5.727848
0.563291
0.036464
0.035359
0.053039
0
0
0
0
0
0
0
0.002461
0.192715
1,510
40
109
37.75
0.739951
0.449007
0
0.090909
0
0
0.17546
0.039264
0
0
0
0
0
1
0.045455
false
0.136364
0.136364
0
0.227273
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f805df51419aa51124a570d3dc30200854ed0771
573
py
Python
backend/settings/urls.py
RA-MPR/mpr
a2e6f320af916d318da7c68c0764662c3d146974
[ "MIT" ]
null
null
null
backend/settings/urls.py
RA-MPR/mpr
a2e6f320af916d318da7c68c0764662c3d146974
[ "MIT" ]
91
2021-02-24T08:25:47.000Z
2021-05-05T10:14:21.000Z
backend/settings/urls.py
RA-MPR/mpr
a2e6f320af916d318da7c68c0764662c3d146974
[ "MIT" ]
1
2022-01-07T14:56:34.000Z
2022-01-07T14:56:34.000Z
from django.contrib import admin from django.urls import path, include from company.routers import router as company_router from contact.routers import router as contact_router from event.routers import router as event_router urlpatterns = [ path("api/admin/", admin.site.urls), path('api/', include(company_ro...
33.705882
52
0.715532
78
573
5.179487
0.269231
0.121287
0.163366
0.155941
0
0
0
0
0
0
0
0
0.13089
573
16
53
35.8125
0.811245
0
0
0
0
0
0.148342
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f81cecb269e5e23f69ffe901aa394c698796e270
2,784
py
Python
api/models/user.py
yanchen01/patient-management-platform
f38b45b5e2c4bbe33098440ab742723c13cae950
[ "MIT" ]
null
null
null
api/models/user.py
yanchen01/patient-management-platform
f38b45b5e2c4bbe33098440ab742723c13cae950
[ "MIT" ]
null
null
null
api/models/user.py
yanchen01/patient-management-platform
f38b45b5e2c4bbe33098440ab742723c13cae950
[ "MIT" ]
null
null
null
from flask_mongoengine import Document import mongoengine as me import logging class User(Document): _id = me.StringField(required=True, primary_key=True) first_name = me.StringField(max_length=40, required=True) last_name = me.StringField(max_length=40, required=True) email = me.EmailField(required=T...
33.142857
71
0.623563
349
2,784
4.787966
0.200573
0.085578
0.035907
0.050269
0.284859
0.211849
0.178336
0.113704
0.065829
0.047876
0
0.00782
0.265086
2,784
83
72
33.542169
0.808895
0.005388
0
0.043478
0
0
0.057463
0
0
0
0
0
0
1
0.15942
false
0.057971
0.043478
0.028986
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
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
f8238b96f248abcacb7e4d1c9219b59cd3aa6361
16,222
py
Python
minerva/whales/config.py
pknut/minerva
365df730ca8abd07f15b833f471d6a5eed4cf0a1
[ "MIT" ]
19
2018-05-25T03:51:14.000Z
2021-12-27T12:43:47.000Z
minerva/whales/config.py
pknut/minerva
365df730ca8abd07f15b833f471d6a5eed4cf0a1
[ "MIT" ]
37
2017-12-21T12:17:29.000Z
2018-03-29T10:49:44.000Z
minerva/whales/config.py
pknut/minerva
365df730ca8abd07f15b833f471d6a5eed4cf0a1
[ "MIT" ]
5
2017-12-12T10:39:01.000Z
2018-03-09T07:26:58.000Z
import os import yaml with open('neptune.yaml') as f: config = yaml.load(f) exp_name = config['name'] exp_root = config['parameters']['solution_dir'] data_dir = config['parameters']['data_dir'] os.makedirs(exp_root, exist_ok=True) IMAGE_COLUMNS = ['Image'] SHAPE_COLUMNS = ['height', 'width'] LOCALIZER_TARGET_COL...
69.029787
120
0.312662
927
16,222
5.113269
0.157497
0.106329
0.033755
0.038397
0.687553
0.655274
0.6173
0.55
0.55
0.512236
0
0.024024
0.597152
16,222
234
121
69.324786
0.701301
0
0
0.380531
0
0
0.210455
0.011343
0
0
0
0
0
1
0
false
0
0.00885
0
0.00885
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f825f691fa25cc0d6087e51c16600ac8c9658772
2,197
py
Python
scripts/quest/q20865e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/quest/q20865e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/quest/q20865e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Quest ID :: 20865 # The Path of a Thunder Breaker sm.setSpeakerID(1101007) if sm.sendAskYesNo("Yer sure about this? Remember, ye can't change yer mind, so ye'll want to pick carefully. Ye really want to join me as a Thunder Breaker?"): sm.setSpeakerID(1101007) sm.sendNext("Just like tha...
45.770833
226
0.691853
391
2,197
3.87468
0.409207
0.121452
0.118812
0.084488
0.292409
0.166337
0.118812
0.118812
0.118812
0.118812
0
0.156486
0.217569
2,197
48
227
45.770833
0.72484
0.256714
0
0.307692
0
0.192308
0.576804
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f8299495bf521a381ad41c7ac2ebf090a903d833
6,944
py
Python
tunein_win.py
Kaanthegmr/pytune
8b9741a66c44ca4389550df2142f608a89748bad
[ "MIT" ]
5
2021-08-16T04:35:49.000Z
2022-01-13T01:47:14.000Z
tunein_win.py
f34rl00/tunein-cli
8b9741a66c44ca4389550df2142f608a89748bad
[ "MIT" ]
1
2020-10-20T11:00:35.000Z
2020-10-20T11:00:35.000Z
tunein_win.py
f34rl00/tunein-cli
8b9741a66c44ca4389550df2142f608a89748bad
[ "MIT" ]
1
2020-10-19T20:03:28.000Z
2020-10-19T20:03:28.000Z
#!/usr/bin/python # encoding: utf-8 import os,sys import PyInquirer import untangle import requests import webbrowser import platform reload(sys) sys.setdefaultencoding('Cp1254') #If you want to use the program using an alias #uncomment the following line and write your correct path #os.chdir("C:\\Users\\user\\tunein-...
29.548936
112
0.503888
877
6,944
3.944128
0.261117
0.030066
0.013877
0.020237
0.24111
0.208731
0.175773
0.072853
0.072853
0.072853
0
0.031198
0.312212
6,944
234
113
29.675214
0.693049
0.034418
0
0.266055
0
0.004587
0.174881
0
0
0
0
0
0
0
null
null
0
0.027523
null
null
0.06422
0
0
0
null
0
0
0
0
0
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
f836ee97d0bbaf9ae64a7815c8c621898b7ef0b5
1,049
py
Python
src/part1_coding/t1_python_basics/homework/bank_account_validator.py
paulbodean88/py-test-automation-course
f7e5fc0416f494356817c27e7b4e212f3884ae07
[ "MIT" ]
1
2022-03-25T10:19:05.000Z
2022-03-25T10:19:05.000Z
src/part1_coding/t1_python_basics/homework/bank_account_validator.py
paulbodean88/py-test-automation-course
f7e5fc0416f494356817c27e7b4e212f3884ae07
[ "MIT" ]
null
null
null
src/part1_coding/t1_python_basics/homework/bank_account_validator.py
paulbodean88/py-test-automation-course
f7e5fc0416f494356817c27e7b4e212f3884ae07
[ "MIT" ]
null
null
null
""" 1. get the user,pwd and current sold from the console 2. validate the user and password 3. Enable the login through an enter 4. Display the sold after the login 5. Retrieve an amount of cash 6. Display the password encrypted e.g. instead of 'abcd' show '****'. 7. Be aware that the nr of '*' should be equal with the...
33.83871
96
0.71878
179
1,049
4.145251
0.469274
0.04717
0.048518
0.045822
0.218329
0.15903
0.15903
0.15903
0.15903
0.15903
0
0.013777
0.169685
1,049
30
97
34.966667
0.838117
0.385129
0
0
0
0
0.574803
0
0
0
0
0
0.142857
1
0
false
0.214286
0
0
0
0.285714
0
0
0
null
0
0
0
0
0
0
0
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
f8393f72bed66a2c65c4e8104e8174e91fb73aae
1,773
py
Python
pylib/tools/yaml.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
5
2019-10-14T01:06:57.000Z
2021-02-02T16:33:06.000Z
pylib/tools/yaml.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
pylib/tools/yaml.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
#!/usr/bin/env python import yaml from collections import OrderedDict, Iterable def ordered_load(stream, Loader=yaml.Loader, object_pairs_hook=OrderedDict): """ Ordered dict YAML loader from: https://stackoverflow.com/questions/5121931/in-python-how-can-you-load-yaml-mappings-as-ordereddicts """ c...
31.660714
110
0.693739
212
1,773
5.669811
0.419811
0.036606
0.028286
0.051581
0.06822
0.06822
0
0
0
0
0
0.004982
0.207558
1,773
55
111
32.236364
0.850534
0.163001
0
0.105263
0
0
0.044199
0
0
0
0
0
0
1
0.157895
false
0.052632
0.052632
0.026316
0.447368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f83d8b0927bebdb2f65fa500c4dbf955ff2a4719
365
py
Python
pyramid_wtforms/widgets.py
pylabs/pyramid-wtforms
93e30083756599ff3ebd1c41ea40bb939911f621
[ "MIT" ]
null
null
null
pyramid_wtforms/widgets.py
pylabs/pyramid-wtforms
93e30083756599ff3ebd1c41ea40bb939911f621
[ "MIT" ]
null
null
null
pyramid_wtforms/widgets.py
pylabs/pyramid-wtforms
93e30083756599ff3ebd1c41ea40bb939911f621
[ "MIT" ]
null
null
null
from wtforms.widgets import * from markupsafe import Markup class MultipleFilesInput: """Render multiple files input chooser field.""" def __call__(self, field, **kwargs): kwargs.setdefault('id', field.id) kwargs.setdefault('multiple', 'multiple') return Markup('<input %s>' % html_par...
30.416667
89
0.679452
42
365
5.785714
0.642857
0.131687
0
0
0
0
0
0
0
0
0
0
0.180822
365
11
90
33.181818
0.812709
0.115068
0
0
0
0
0.100946
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f83e7bf03863d4cf247c1876d70b05cd958f3b83
1,956
py
Python
polybius/utils/fsm.py
TStalnaker44/python_jeopardy
7044d9512d51c04e22a6d2cbfa9e9a82a384de85
[ "MIT" ]
null
null
null
polybius/utils/fsm.py
TStalnaker44/python_jeopardy
7044d9512d51c04e22a6d2cbfa9e9a82a384de85
[ "MIT" ]
null
null
null
polybius/utils/fsm.py
TStalnaker44/python_jeopardy
7044d9512d51c04e22a6d2cbfa9e9a82a384de85
[ "MIT" ]
null
null
null
""" Author: Trevor Stalnaker, Justin Pusztay File: fsm.py A class that models a finite state machine """ class FSM(): """ Models a generalized finite state machine """ def __init__(self, startState, states, transitions): self._state = startState self._startState = startState s...
22.482759
72
0.544479
188
1,956
5.489362
0.303191
0.085271
0.081395
0.036822
0.056202
0.056202
0
0
0
0
0
0.003167
0.354294
1,956
86
73
22.744186
0.813935
0.228016
0
0
0
0
0.003165
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.606061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f83fad94fa55885acc7b6682950a530ebdd50bba
1,349
py
Python
Supermicro/benchmarks/bert/implementations/pytorch_SYS-420GP-TNAR/mhalib/setup.py
gglin001/training_results_v1.1
58fd4103f0f465bda6eb56a06a74b7bbccbbcf24
[ "Apache-2.0" ]
null
null
null
Supermicro/benchmarks/bert/implementations/pytorch_SYS-420GP-TNAR/mhalib/setup.py
gglin001/training_results_v1.1
58fd4103f0f465bda6eb56a06a74b7bbccbbcf24
[ "Apache-2.0" ]
null
null
null
Supermicro/benchmarks/bert/implementations/pytorch_SYS-420GP-TNAR/mhalib/setup.py
gglin001/training_results_v1.1
58fd4103f0f465bda6eb56a06a74b7bbccbbcf24
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019-2021 NVIDIA CORPORATION. All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
37.472222
284
0.664196
171
1,349
5.087719
0.660819
0.068966
0.062069
0.036782
0.055172
0
0
0
0
0
0
0.028986
0.232765
1,349
35
285
38.542857
0.811594
0.434396
0
0.105263
0
0
0.345794
0.284379
0
0
0
0
0
1
0
true
0
0.210526
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
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
f84212bb265ced3bf952e8738eb834dab2583ec2
312
py
Python
useful/mp3speed/audio.py
xmark2/practice
738c52b56530e15fbe141bb352a19c4471dc4c91
[ "BSD-2-Clause" ]
null
null
null
useful/mp3speed/audio.py
xmark2/practice
738c52b56530e15fbe141bb352a19c4471dc4c91
[ "BSD-2-Clause" ]
null
null
null
useful/mp3speed/audio.py
xmark2/practice
738c52b56530e15fbe141bb352a19c4471dc4c91
[ "BSD-2-Clause" ]
null
null
null
from pydub import AudioSegment from pydub import effects import sys sys.path.append('/path/to/ffmpeg') root = r'original/abc.mp3' velocidad_X = 1.5 # No puede estar por debajo de 1.0 sound = AudioSegment.from_mp3(root) so = sound.speedup(velocidad_X, 150, 25) so.export(root[:-4] + '_Out.mp3', format = 'mp3')
26
52
0.730769
53
312
4.226415
0.660377
0.080357
0.133929
0
0
0
0
0
0
0
0
0.051661
0.13141
312
12
53
26
0.774908
0.102564
0
0
0
0
0.150538
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f8466745f4d0c0b637816418b4d3cff62d96af98
3,429
py
Python
scripts/containers_generator.py
pohjantahti/openmobius
14d3d59125f6d4a16a846802e812847c64e58ba0
[ "MIT" ]
null
null
null
scripts/containers_generator.py
pohjantahti/openmobius
14d3d59125f6d4a16a846802e812847c64e58ba0
[ "MIT" ]
null
null
null
scripts/containers_generator.py
pohjantahti/openmobius
14d3d59125f6d4a16a846802e812847c64e58ba0
[ "MIT" ]
null
null
null
# Used to generate the "src/data/resources/containers.json" from io import BytesIO from os import listdir, path import json import lzma # Full path to "/MOBIUS FINAL FANTASY/mobiusff_Data/mobius_data/Hash" hash_folder = "" # Output folder output_path = "scripts" # AssetBundles outside the "Hash" folder resource_list...
31.458716
133
0.620589
429
3,429
4.755245
0.312354
0.04902
0.02451
0.031373
0.240196
0.216667
0.09902
0.09902
0.09902
0.052941
0
0.007168
0.267717
3,429
108
134
31.75
0.805257
0.126276
0
0.048193
1
0.012048
0.202413
0.089812
0
0
0
0
0
1
0.072289
false
0
0.048193
0.024096
0.192771
0.060241
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
f84d09915c2f6aeb4cfe11bfa433e47e0a3d9a08
635
py
Python
src/danny_NIST_NVD/cve_requests_simple.py
anonyges/FortiSOAR_Connector_NVD
a4b0c45c68cd4ce54f7b73937c5230edfe5182f3
[ "MIT" ]
null
null
null
src/danny_NIST_NVD/cve_requests_simple.py
anonyges/FortiSOAR_Connector_NVD
a4b0c45c68cd4ce54f7b73937c5230edfe5182f3
[ "MIT" ]
null
null
null
src/danny_NIST_NVD/cve_requests_simple.py
anonyges/FortiSOAR_Connector_NVD
a4b0c45c68cd4ce54f7b73937c5230edfe5182f3
[ "MIT" ]
null
null
null
import requests import urllib3 import json from connectors.core.connector import get_logger, ConnectorError from .constants import LOGGER_NAME logger = get_logger(LOGGER_NAME) urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) def cve_requests_simple(config, params): cveId = str(params.get('cveI...
28.863636
89
0.703937
78
635
5.641026
0.564103
0.040909
0.054545
0
0
0
0
0
0
0
0
0.009452
0.166929
635
21
90
30.238095
0.822306
0
0
0
0
0
0.148032
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
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
f851a6b9ffe71c021a82539afa0ff3998535ca54
850
py
Python
ietf/meeting/migrations/0034_schedule_notes.py
hassanakbar4/ietfdb
cabee059092ae776015410640226064331c293b7
[ "BSD-3-Clause" ]
25
2022-03-05T08:26:52.000Z
2022-03-30T15:45:42.000Z
ietf/meeting/migrations/0034_schedule_notes.py
hassanakbar4/ietfdb
cabee059092ae776015410640226064331c293b7
[ "BSD-3-Clause" ]
219
2022-03-04T17:29:12.000Z
2022-03-31T21:16:14.000Z
ietf/meeting/migrations/0034_schedule_notes.py
hassanakbar4/ietfdb
cabee059092ae776015410640226064331c293b7
[ "BSD-3-Clause" ]
22
2022-03-04T15:34:34.000Z
2022-03-28T13:30:59.000Z
# Generated by Django 2.0.13 on 2020-07-01 02:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('meeting', '0033_session_tombstone_for'), ] operations = [ migrations.AddField( model_name='schedule', name='notes',...
29.310345
155
0.601176
91
850
5.516484
0.615385
0.053785
0.101594
0.125498
0.330677
0.330677
0.167331
0
0
0
0
0.033058
0.288235
850
28
156
30.357143
0.796694
0.054118
0
0.363636
1
0
0.223192
0.032419
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
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
f851dca0dfce4b992725763b1c4589aea3224541
478
py
Python
trading/users/forms.py
volkandkaya/trading
61ee6c9ecce36c237741c040b94e8e5736a94c9e
[ "BSD-3-Clause" ]
null
null
null
trading/users/forms.py
volkandkaya/trading
61ee6c9ecce36c237741c040b94e8e5736a94c9e
[ "BSD-3-Clause" ]
null
null
null
trading/users/forms.py
volkandkaya/trading
61ee6c9ecce36c237741c040b94e8e5736a94c9e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django import forms from .models import User class UserForm(forms.ModelForm): class Meta: # Set this form to use the User model. model = User # Constrain the UserForm to just these fields. fie...
26.555556
167
0.675732
61
478
5.065574
0.704918
0.071197
0
0
0
0
0
0
0
0
0
0.010554
0.207113
478
17
168
28.117647
0.804749
0.215481
0
0
0
0
0.283784
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f85441fcdcf2d5fb344f4960b1d5ec9ef370ae99
2,283
py
Python
packml_plc/test/test_packml_plc_listener.py
1487quantum/packml_ros2
6132f9ceafdbaa26d4f26dd434d409821e448d16
[ "Apache-2.0" ]
4
2021-08-06T15:39:58.000Z
2021-12-02T03:55:44.000Z
packml_plc/test/test_packml_plc_listener.py
1487quantum/packml_ros2
6132f9ceafdbaa26d4f26dd434d409821e448d16
[ "Apache-2.0" ]
3
2020-04-01T02:10:10.000Z
2022-01-08T03:11:31.000Z
packml_plc/test/test_packml_plc_listener.py
1487quantum/packml_ros2
6132f9ceafdbaa26d4f26dd434d409821e448d16
[ "Apache-2.0" ]
4
2020-01-30T06:10:17.000Z
2021-09-29T02:12:15.000Z
#!/usr/bin/env python3 # # Software License Agreement # Copyright (c) 2019 ROS-Industrial Consortium Asia Pacific # # 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/licen...
33.573529
76
0.689444
281
2,283
5.459075
0.466192
0.104302
0.146675
0.182529
0.172751
0.172751
0.172751
0.055411
0.055411
0.055411
0
0.009034
0.224266
2,283
67
77
34.074627
0.857143
0.289093
0
0
0
0
0.010592
0
0
0
0
0
0.073171
1
0.097561
false
0
0.243902
0
0.365854
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f86598295a67dfb1afb095dddcdc37e3685f110f
2,820
py
Python
MyPys/tor.py
dannywxh/mypy
5036c32de8d6c9e77126ef4189976b6938ac9186
[ "Apache-2.0" ]
null
null
null
MyPys/tor.py
dannywxh/mypy
5036c32de8d6c9e77126ef4189976b6938ac9186
[ "Apache-2.0" ]
null
null
null
MyPys/tor.py
dannywxh/mypy
5036c32de8d6c9e77126ef4189976b6938ac9186
[ "Apache-2.0" ]
null
null
null
#coding=utf8 # -*- coding: utf-8 -*- import bencode import sys import os reload(sys) #print sys.getdefaultencoding() sys.setdefaultencoding('gbk') print sys.getdefaultencoding() def torrent2dict(filename): f = open(filename, 'rb') s = f.read() f.close() try: d = bencode.bdecode(s) ...
21.363636
78
0.470213
330
2,820
3.887879
0.248485
0.032736
0.037412
0.049104
0.151208
0.151208
0.099766
0.099766
0.099766
0.099766
0
0.007497
0.385106
2,820
132
79
21.363636
0.732411
0.073404
0
0.231884
0
0
0.075134
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.115942
0
0
0
null
0
0
0
0
0
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
f86d41b9123e65ee209cf9efd081906f5c1f6ade
490
py
Python
apps/accounts/migrations/0004_organisations_remove_null.py
developersociety/commonslibrary
38a77a8eea9d11e1819535ca98d577430b830c02
[ "BSD-3-Clause" ]
4
2018-03-20T06:32:16.000Z
2021-03-25T10:05:25.000Z
apps/accounts/migrations/0004_organisations_remove_null.py
developersociety/commonslibrary
38a77a8eea9d11e1819535ca98d577430b830c02
[ "BSD-3-Clause" ]
22
2018-03-01T15:16:50.000Z
2020-04-16T10:51:29.000Z
apps/accounts/migrations/0004_organisations_remove_null.py
developersociety/commonslibrary
38a77a8eea9d11e1819535ca98d577430b830c02
[ "BSD-3-Clause" ]
1
2019-02-20T09:40:41.000Z
2019-02-20T09:40:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-03-07 15:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_user_organisations'), ] operations = [ migrations.AlterFi...
23.333333
82
0.634694
51
490
5.941176
0.803922
0
0
0
0
0
0
0
0
0
0
0.059621
0.246939
490
20
83
24.5
0.761518
0.140816
0
0
1
0
0.167464
0.107656
0
0
0
0
0
1
0
false
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f86fd7715193d1b2043544046e451c70d54e9794
436
py
Python
dora/structures/migrations/0019_structuremember_add_uuid.py
francoisromain/dora-back
868491097d12b9a23135db3d91bc6495431e8237
[ "MIT" ]
1
2022-01-03T22:12:45.000Z
2022-01-03T22:12:45.000Z
dora/structures/migrations/0019_structuremember_add_uuid.py
francoisromain/dora-back
868491097d12b9a23135db3d91bc6495431e8237
[ "MIT" ]
2
2022-03-17T18:04:11.000Z
2022-03-18T14:55:27.000Z
dora/structures/migrations/0019_structuremember_add_uuid.py
francoisromain/dora-back
868491097d12b9a23135db3d91bc6495431e8237
[ "MIT" ]
1
2022-01-03T09:02:54.000Z
2022-01-03T09:02:54.000Z
# Generated by Django 3.2.8 on 2021-10-06 15:09 import uuid from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("structures", "0018_fix_departments"), ] operations = [ migrations.AddField( model_name="structuremember", ...
20.761905
82
0.62156
47
436
5.702128
0.808511
0
0
0
0
0
0
0
0
0
0
0.0625
0.266055
436
20
83
21.8
0.775
0.103211
0
0
1
0
0.125964
0
0
0
0
0
0
1
0
false
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f8800b8a2b92a1439d20a94ef869eec030b43dbb
1,468
py
Python
modules/status_user_view.py
barrukurniawan/mhc_dashboard
1fb409fcc7e09934af4c898c7985309c58fe5655
[ "MIT" ]
null
null
null
modules/status_user_view.py
barrukurniawan/mhc_dashboard
1fb409fcc7e09934af4c898c7985309c58fe5655
[ "MIT" ]
null
null
null
modules/status_user_view.py
barrukurniawan/mhc_dashboard
1fb409fcc7e09934af4c898c7985309c58fe5655
[ "MIT" ]
null
null
null
import json import urllib2 import urllib import json import traceback import hashlib import time import random import datetime from core import database from core import config from core import sanitize from modules import signature from bson.objectid import ObjectId class status_user...
20.388889
53
0.692779
203
1,468
4.635468
0.275862
0.070138
0.093518
0.041445
0.176408
0.146653
0.05101
0.05101
0
0
0
0.000876
0.222071
1,468
71
54
20.676056
0.823117
0.025886
0
0.113208
0
0
0.141053
0
0
0
0
0
0
0
null
null
0.018868
0.264151
null
null
0.09434
0
0
0
null
0
0
0
0
0
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
f883e1da7916ae905e5f26498c7372fe266de0f3
3,655
py
Python
problems/07/prob-07-1.py
tstuessi/advent-code
19b51173f1fc233c1f00f61b40d1b0c042496d02
[ "MIT" ]
null
null
null
problems/07/prob-07-1.py
tstuessi/advent-code
19b51173f1fc233c1f00f61b40d1b0c042496d02
[ "MIT" ]
null
null
null
problems/07/prob-07-1.py
tstuessi/advent-code
19b51173f1fc233c1f00f61b40d1b0c042496d02
[ "MIT" ]
null
null
null
# this one is a more complex problem than the last few. # My basic approach was to build a graph of the circuit # then topologically sort it where processing the node # was executing the command import sys from numpy import uint16 class queue: def __init__(self): self.l = list() def pop(self): ...
33.227273
81
0.625992
529
3,655
4.119093
0.206049
0.106012
0.110142
0.080771
0.461221
0.415328
0.397889
0.337311
0.337311
0.280404
0
0.017135
0.249521
3,655
109
82
33.53211
0.777251
0.131601
0
0.197531
0
0
0.025
0
0
0
0
0
0
0
null
null
0
0.024691
null
null
0.024691
0
0
0
null
0
0
0
0
0
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
f885e683f1e7b420447c09bed2e03b0ec24552e8
603
py
Python
apiary/hives/migrations/0024_auto_20170502_1656.py
SamStudio8/django-apiary
91427312e84afda834c0bcb5a277eb99c444618e
[ "MIT" ]
1
2017-04-22T11:49:04.000Z
2017-04-22T11:49:04.000Z
apiary/hives/migrations/0024_auto_20170502_1656.py
SamStudio8/django-apiary
91427312e84afda834c0bcb5a277eb99c444618e
[ "MIT" ]
null
null
null
apiary/hives/migrations/0024_auto_20170502_1656.py
SamStudio8/django-apiary
91427312e84afda834c0bcb5a277eb99c444618e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2017-05-02 16:56 from __future__ import unicode_literals from django.db import migrations def make_boxhist_stubs(apps, editor): BoxHistory = apps.get_model("hives", "BoxHistory") Box = apps.get_model("hives", "Box") for box in Box.objects.all(): ...
25.125
78
0.666667
81
603
4.765432
0.617284
0.056995
0.082902
0.088083
0
0
0
0
0
0
0
0.06639
0.200663
603
23
79
26.217391
0.73444
0.111111
0
0
1
0
0.095685
0.043152
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f88bc3c8acce554262359e0a1f9b65847ac6a81b
2,089
py
Python
error.py
JavierCoggiola/CostoPorKm
491ae2fcbbc96b56af704897e0d19a1ecddc4b3f
[ "Unlicense" ]
null
null
null
error.py
JavierCoggiola/CostoPorKm
491ae2fcbbc96b56af704897e0d19a1ecddc4b3f
[ "Unlicense" ]
null
null
null
error.py
JavierCoggiola/CostoPorKm
491ae2fcbbc96b56af704897e0d19a1ecddc4b3f
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'error.ui' # # Created: Wed Aug 28 13:44:25 2013 # by: PyQt4 UI code generator 4.10 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeE...
37.981818
103
0.688368
250
2,089
5.656
0.432
0.057284
0.035361
0.079208
0.196605
0.161245
0.115983
0.115983
0.115983
0.115983
0
0.040564
0.185735
2,089
54
104
38.685185
0.790711
0.099569
0
0.153846
1
0
0.083333
0
0
0
0
0
0
1
0.128205
false
0
0.025641
0.076923
0.25641
0
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
f88f1438456274c88f860646cb75825d077004fd
6,394
py
Python
data.py
Eduardo-Barreto/sBotics_ArenaConverter
a8fb30a589e3e1fd06eedd1b64e31b2e47d7925f
[ "MIT" ]
3
2021-03-28T00:19:49.000Z
2021-04-21T05:14:00.000Z
data.py
Eduardo-Barreto/sBotics_ArenaConverter
a8fb30a589e3e1fd06eedd1b64e31b2e47d7925f
[ "MIT" ]
null
null
null
data.py
Eduardo-Barreto/sBotics_ArenaConverter
a8fb30a589e3e1fd06eedd1b64e31b2e47d7925f
[ "MIT" ]
null
null
null
retas_convertidas = { '75': '38', # Ladrilho de início '77': '37', # Ladrilho de início com paredes '76': '36', # Ladrilho de início sem linha '78': '11', # Ladrilho final '80': '10', # Ladrilho final com paredes '73': '8', # Terceira Sala '54': '4', # Co...
33.302083
79
0.418987
720
6,394
3.661111
0.344444
0.093703
0.031866
0.014416
0.022762
0.022762
0.022762
0
0
0
0
0.146826
0.347044
6,394
191
80
33.47644
0.483593
0.244448
0
0.011628
0
0
0.274967
0.046194
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f89e7262d9abae215f05d1c701a5a2d15d13b551
1,505
py
Python
Paper_Specific_Versions/2017_MLMI/Code/4-ADNI_classification.py
adamwild/AD-ML
e4ac0b7d312ab482b9b52bb3f5c6745cc06431e9
[ "MIT" ]
null
null
null
Paper_Specific_Versions/2017_MLMI/Code/4-ADNI_classification.py
adamwild/AD-ML
e4ac0b7d312ab482b9b52bb3f5c6745cc06431e9
[ "MIT" ]
null
null
null
Paper_Specific_Versions/2017_MLMI/Code/4-ADNI_classification.py
adamwild/AD-ML
e4ac0b7d312ab482b9b52bb3f5c6745cc06431e9
[ "MIT" ]
null
null
null
import os from os import path import pandas as pd import clinica.pipeline.machine_learning.ml_workflows as ml_wf n_iterations = 10 n_threads = 72 caps_dir = '/ADNI/CAPS' output_dir = '/ADNI/CLASSIFICATION/OUTPUTS' group_id = 'ADNIbl' image_types = ['T1', 'fdg'] tasks_dir = '/ADNI/lists_by_task' tasks = [('CN', 'AD'...
33.444444
110
0.551495
182
1,505
4.28022
0.401099
0.109114
0.015404
0.038511
0.130937
0.097561
0.05905
0.05905
0
0
0
0.011385
0.299668
1,505
44
111
34.204545
0.727704
0.029236
0
0
0
0
0.15273
0.055287
0
0
0
0
0
0
null
null
0
0.121212
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f8b0c60f0a4d04ec3d6096eb8aa3279de6b81629
1,755
py
Python
JesseStuff/ImagesSearchAPI/images_for_recommendations.py
recommeddit/Labs
292fd2087e420d9b61126408e9e36d1191e8a39b
[ "MIT" ]
1
2022-02-27T23:57:55.000Z
2022-02-27T23:57:55.000Z
JesseStuff/ImagesSearchAPI/images_for_recommendations.py
recommeddit/Labs
292fd2087e420d9b61126408e9e36d1191e8a39b
[ "MIT" ]
24
2021-10-11T00:57:49.000Z
2022-03-02T05:11:54.000Z
JesseStuff/ImagesSearchAPI/images_for_recommendations.py
recommeddit/Labs
292fd2087e420d9b61126408e9e36d1191e8a39b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[4]: pip install google-search-results # In[5]: pip install monkeylearn # In[1]: from monkeylearn import MonkeyLearn from serpapi import GoogleSearch # In[37]: #example query query = "what are the best computers to use" #example of list of recommendations recomm...
22.21519
81
0.680912
217
1,755
5.40553
0.483871
0.02728
0.035806
0.049446
0
0
0
0
0
0
0
0.060338
0.225641
1,755
78
82
22.5
0.802796
0.25755
0
0
0
0
0.182243
0.080997
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.027778
0
0
0
null
0
0
0
0
0
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
f8b177b0e65c86fe3584ac4602f96892348c6cc4
1,067
py
Python
workouttracker/rest/views.py
Adam-Beaumont/openWorkoutTracker
d38cedf98ec7933eb41fd8852d08a54caef1b859
[ "MIT" ]
null
null
null
workouttracker/rest/views.py
Adam-Beaumont/openWorkoutTracker
d38cedf98ec7933eb41fd8852d08a54caef1b859
[ "MIT" ]
null
null
null
workouttracker/rest/views.py
Adam-Beaumont/openWorkoutTracker
d38cedf98ec7933eb41fd8852d08a54caef1b859
[ "MIT" ]
null
null
null
from rest_framework import views, viewsets from rest_framework.decorators import action from rest_framework.response import Response from workouttracker.models import Workout, WorkoutExercise, Exercise, Routine, RoutineExercise, Run from workouttracker.rest import serializers from workouttracker.rest.serializers impor...
39.518519
99
0.725398
88
1,067
8.715909
0.386364
0.104302
0.146023
0.130378
0
0
0
0
0
0
0
0
0.219306
1,067
26
100
41.038462
0.920768
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
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
f8b910dd59f90b5466e5d6ca0d9c53e37dc3b8ab
782
py
Python
tests/test_consistence.py
pystatic/pystatic
e93d372e46adf8a8f697a71b80f3c88d26272607
[ "MIT" ]
null
null
null
tests/test_consistence.py
pystatic/pystatic
e93d372e46adf8a8f697a71b80f3c88d26272607
[ "MIT" ]
null
null
null
tests/test_consistence.py
pystatic/pystatic
e93d372e46adf8a8f697a71b80f3c88d26272607
[ "MIT" ]
null
null
null
import sys from tests.util import get_manager_path sys.path.append(".") sys.path.append("..") from pystatic.manager import Manager from pystatic.consistent import is_consistent def test_consistence(): symid = "consistence" manager, _ = get_manager_path({"test_typeshed": True}, symid) manager.preprocess(...
28.962963
65
0.735294
108
782
5.037037
0.268519
0.064338
0.147059
0.193015
0.268382
0
0
0
0
0
0
0.01072
0.164962
782
26
66
30.076923
0.822358
0
0
0
0
0
0.085678
0
0
0
0
0
0.318182
1
0.045455
false
0
0.181818
0
0.227273
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f8bc220179fe8136b823b54fc839fbc51b7c0d98
1,358
py
Python
notes/variables/numbers/full_calc.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
notes/variables/numbers/full_calc.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
notes/variables/numbers/full_calc.py
mcorley-gba/IntroCS21-22
a823e17f2cb618be0e67468cb15f48873ae85152
[ "MIT" ]
null
null
null
problem = input("Do you have a problem you want to calculate? (y or n): ") # n != n while (problem != "n"): # != is a "not-equals" comparison #Get the operation from the user operation = input("Choose an operation: \ \n\t1: +\ \n\t2: -\ ...
35.736842
74
0.483063
162
1,358
3.962963
0.401235
0.076324
0.11215
0.168224
0.32866
0.233645
0.233645
0
0
0
0
0.03222
0.382916
1,358
37
75
36.702703
0.73389
0.217968
0
0
0
0
0.145853
0
0
0
0
0
0
1
0
false
0
0
0
0
0.230769
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f8bdf7d02d1fd998006c661f99e990284fc4de5a
1,823
py
Python
examples/plot_acf_1.py
malramsay64/tidynamics
0969c717882077d4735e475639f954a1c19da507
[ "BSD-3-Clause" ]
15
2018-06-27T01:04:23.000Z
2021-12-03T18:59:49.000Z
examples/plot_acf_1.py
malramsay64/tidynamics
0969c717882077d4735e475639f954a1c19da507
[ "BSD-3-Clause" ]
13
2018-06-29T09:10:58.000Z
2021-08-20T09:46:53.000Z
examples/plot_acf_1.py
malramsay64/tidynamics
0969c717882077d4735e475639f954a1c19da507
[ "BSD-3-Clause" ]
2
2018-10-24T12:13:23.000Z
2020-05-21T03:24:00.000Z
""" ===================== Correlation functions ===================== Generate the velocity for a Ornstein-Uhlenbeck process and compute its autocorrelation function. We also display the force velocity correlation as an example of using the routine `correlation`. """ import numpy as np import tidynamics import matpl...
22.506173
73
0.681295
302
1,823
4.049669
0.307947
0.02453
0.044971
0.036795
0.235487
0.139002
0.139002
0.139002
0.091578
0.091578
0
0.027883
0.134394
1,823
80
74
22.7875
0.747148
0.233132
0
0.177778
1
0
0.152738
0.01513
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
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
f8bfed8433ba42d07370513eeff1ecfc6d4703c6
11,650
py
Python
lbrsys/robdrivers/sdc2130.py
talgball/lbr
ae999b6624d25990c083281516c069d09ce3269c
[ "Apache-2.0" ]
null
null
null
lbrsys/robdrivers/sdc2130.py
talgball/lbr
ae999b6624d25990c083281516c069d09ce3269c
[ "Apache-2.0" ]
6
2021-04-06T18:29:45.000Z
2022-03-12T00:54:09.000Z
lbrsys/robdrivers/sdc2130.py
talgball/lbr
ae999b6624d25990c083281516c069d09ce3269c
[ "Apache-2.0" ]
null
null
null
""" driver module for Roboteq sdc2130 high performance motor controller https://www.roboteq.com/index.php/docman/motor-controllers-documents-and-files/documentation/datasheets/sdc21xx-datasheet/63-sdc21xx-datasheet/file The motor controller is connected via USB. Communication is via its proprietary protoc...
32.724719
151
0.577768
1,266
11,650
5.278831
0.296209
0.037708
0.018854
0.024091
0.184199
0.154871
0.109232
0.087984
0.076612
0.057758
0
0.036574
0.333476
11,650
356
152
32.724719
0.824082
0.299828
0
0.261538
0
0
0.072345
0
0
0
0
0.011236
0
1
0.051282
false
0.005128
0.041026
0
0.164103
0.046154
0
0
0
null
0
0
0
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
f8c90bc7ab152eae2056e6d9de02082a4614be43
6,357
py
Python
Exercise-2/segmentation.py
tobynet/RoboND-Perception-Project
b1a271288cf708caaa10355ab951891482615785
[ "MIT" ]
1
2018-10-30T13:39:17.000Z
2018-10-30T13:39:17.000Z
Exercise-2/sensor_stick/scripts/segmentation.py
tobynet/RoboND-Perception-Exercises
3017c6dfbba4d691656f67eb555bddab4ab8c79f
[ "MIT" ]
null
null
null
Exercise-2/sensor_stick/scripts/segmentation.py
tobynet/RoboND-Perception-Exercises
3017c6dfbba4d691656f67eb555bddab4ab8c79f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Import modules from pcl_helper import * import sensor_msgs.point_cloud2 as pc2 from sensor_msgs.msg import PointCloud2, PointField import pcl # DONE: Define functions as required def voxel_filter(cloud, leaf_size = 0.01): # Voxel Grid filter for input point cloud ...
32.768041
104
0.718578
838
6,357
5.213604
0.252983
0.029755
0.023346
0.027466
0.169146
0.135271
0.127947
0.127947
0.105516
0.070954
0
0.013263
0.193487
6,357
193
105
32.937824
0.838892
0.303602
0
0.02439
0
0
0.091184
0.005815
0
0
0
0
0
1
0.073171
false
0.085366
0.04878
0
0.182927
0
0
0
0
null
0
0
0
0
0
0
0
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
f8cd9bffdaf470659898656854aaf30e184ea498
2,199
py
Python
hypha/reset_network/reset_network_open_calls/migrations/0001_initial.py
dan-mi-sun/apply-app
c0ffeda27cb45e08f3a00052b6f0b2f6895fc18a
[ "BSD-3-Clause" ]
1
2020-05-13T06:39:25.000Z
2020-05-13T06:39:25.000Z
hypha/reset_network/reset_network_open_calls/migrations/0001_initial.py
DigitalFutureFund/apply-app
a5f998b8a6c3059f31373f5c4aa700d1a563d844
[ "BSD-3-Clause" ]
109
2020-01-20T21:12:49.000Z
2021-10-30T07:18:54.000Z
hypha/reset_network/reset_network_open_calls/migrations/0001_initial.py
DigitalFutureFund/apply-app
a5f998b8a6c3059f31373f5c4aa700d1a563d844
[ "BSD-3-Clause" ]
4
2020-03-25T17:16:56.000Z
2020-07-02T00:30:13.000Z
# Generated by Django 2.2.9 on 2020-02-07 11:36 from django.db import migrations, models import django.db.models.deletion import wagtail.core.fields class Migration(migrations.Migration): initial = True dependencies = [ ('wagtailcore', '0041_group_collection_permissions_verbose_name_plural'), ]...
45.8125
191
0.623465
229
2,199
5.781659
0.340611
0.083082
0.042296
0.066465
0.561178
0.516616
0.465257
0.439577
0.439577
0.400302
0
0.018663
0.244657
2,199
47
192
46.787234
0.778447
0.020464
0
0.4
1
0
0.222119
0.066915
0
0
0
0
0
1
0
false
0
0.075
0
0.175
0
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
f8cf0a733650e7a7b5b32f0aaedbf42ecb53b044
1,098
py
Python
wwwdccn/proceedings/migrations/0001_initial.py
lfpratik/dccnsys
b59e3c4a617e74f888e98b86a85671c412078ee7
[ "MIT" ]
16
2020-03-15T15:33:30.000Z
2021-11-26T21:57:27.000Z
wwwdccn/proceedings/migrations/0001_initial.py
dccnconf/dccnsys
b59e3c4a617e74f888e98b86a85671c412078ee7
[ "MIT" ]
11
2019-04-27T19:15:43.000Z
2022-03-11T23:43:08.000Z
wwwdccn/proceedings/migrations/0001_initial.py
lfpratik/dccnsys
b59e3c4a617e74f888e98b86a85671c412078ee7
[ "MIT" ]
10
2020-03-14T09:25:39.000Z
2022-02-21T16:46:33.000Z
# Generated by Django 2.2.4 on 2019-10-01 15:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('submissions', '0006_auto_20190905_1746'), ('conferences', '0014_artifactdescriptor_mandatory'), ...
39.214286
151
0.653916
118
1,098
5.966102
0.508475
0.056818
0.079545
0.125
0.325284
0.325284
0.325284
0.325284
0.325284
0.325284
0
0.040462
0.212204
1,098
27
152
40.666667
0.77341
0.040984
0
0
1
0
0.195052
0.125595
0
0
0
0
0
1
0
false
0
0.1
0
0.3
0
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
f8d1b58a6488cf6ee443682ea7dc6e4055a87a11
765
py
Python
Standard_Libraries/Chapter 3/03_06/config_finished.py
RiddhiDamani/Python
06cba66aeafd9dc0fa849ec2112c0786a3e8f001
[ "MIT" ]
1
2019-07-06T08:41:43.000Z
2019-07-06T08:41:43.000Z
Standard_Libraries/Chapter 3/03_06/config_finished.py
RiddhiDamani/Python
06cba66aeafd9dc0fa849ec2112c0786a3e8f001
[ "MIT" ]
null
null
null
Standard_Libraries/Chapter 3/03_06/config_finished.py
RiddhiDamani/Python
06cba66aeafd9dc0fa849ec2112c0786a3e8f001
[ "MIT" ]
1
2019-07-06T08:41:43.000Z
2019-07-06T08:41:43.000Z
# read the contents of configuration files import configparser # Create the configuration parser parser = configparser.ConfigParser() # Read the configuration file parser.read("config.cfg") # print the sections print(parser.sections()) print(parser.has_section("Section 1")) # Access one of the default values using...
23.90625
60
0.755556
100
765
5.71
0.53
0.047285
0.078809
0
0
0
0
0
0
0
0
0.002994
0.126797
765
31
61
24.677419
0.851796
0.294118
0
0
0
0
0.212406
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.470588
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6ef3574ee08c72f1bf9f4d4c3a70635b63c7d099
2,003
py
Python
windfinder.py
maximeflamant/windfinder
44b15e74a8affb14eb1db4e33d674012151596f5
[ "MIT" ]
1
2018-03-13T12:56:31.000Z
2018-03-13T12:56:31.000Z
windfinder.py
maximeflamant/windfinder
44b15e74a8affb14eb1db4e33d674012151596f5
[ "MIT" ]
null
null
null
windfinder.py
maximeflamant/windfinder
44b15e74a8affb14eb1db4e33d674012151596f5
[ "MIT" ]
2
2020-06-25T14:58:07.000Z
2021-12-25T17:19:26.000Z
import re import urllib2 from bs4 import BeautifulSoup ''' Created on Oct 29, 2013 @author: Maxime Flamant ''' class WindSpot(object): def __init__(self, name=None, spotMetrics=None): if spotMetrics is None: spotMetrics = [] self.name = name self.spotMetrics = spotMetrics...
30.815385
170
0.610085
234
2,003
5.102564
0.41453
0.020101
0.021776
0.028476
0
0
0
0
0
0
0
0.013898
0.245632
2,003
65
171
30.815385
0.776307
0.020969
0
0.052632
0
0
0.08666
0
0
0
0
0
0
0
null
null
0.026316
0.078947
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6ef8d6bf8955cf5ab757346ee9e8025b087453e6
264
py
Python
keep_alive.py
reality-studio/BGMI-GAMERS
274821a749de31c10b929141109593ed57c82b96
[ "MIT" ]
null
null
null
keep_alive.py
reality-studio/BGMI-GAMERS
274821a749de31c10b929141109593ed57c82b96
[ "MIT" ]
null
null
null
keep_alive.py
reality-studio/BGMI-GAMERS
274821a749de31c10b929141109593ed57c82b96
[ "MIT" ]
null
null
null
from flask import Flask from threading import Thread app = Flask('') @app.route('/') def home(): return "<h1>HOST PAGE</h1><p>Your bot is running now<p>" def run(): app.run(host="0.0.0.0",port=8080) def keep_alive(): t = Thread(target=run) t.start()
17.6
58
0.643939
46
264
3.673913
0.608696
0.035503
0.035503
0
0
0
0
0
0
0
0
0.045455
0.166667
264
15
59
17.6
0.722727
0
0
0
0
0
0.207547
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.090909
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
1
0
0
0
0
0
0
0
1
3e0a35c02bd06b6f046f9ac138b7aebd6f80c740
577
py
Python
client/src/main.py
juan-nunez/Space_combat
e732ef932e89c404827ac0c96aebb4f0446cefdf
[ "MIT" ]
null
null
null
client/src/main.py
juan-nunez/Space_combat
e732ef932e89c404827ac0c96aebb4f0446cefdf
[ "MIT" ]
null
null
null
client/src/main.py
juan-nunez/Space_combat
e732ef932e89c404827ac0c96aebb4f0446cefdf
[ "MIT" ]
null
null
null
import pygame from state import StateMachine from state import HomeState def init(): pygame.init() pygame.font.init() clock = pygame.time.Clock() clock.tick(30) pygame.display.set_mode((640, 480)) def main(): init() stateMachine = StateMachine() stateMachine.push(HomeState(stateMachine)) while True: if s...
19.233333
45
0.714038
71
577
5.676056
0.521127
0.044665
0.074442
0.183623
0
0
0
0
0
0
0
0.018519
0.157712
577
29
46
19.896552
0.8107
0
0
0.083333
0
0
0.013865
0
0
0
0
0
0
1
0.083333
false
0
0.125
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e0a994b16cad79b66e80ad2f9c0febdb6c2ca41
4,519
py
Python
pretrain/mnist_test.py
cominger/MeRGAN
426b09987ca2cb5c0846c1268d20887bc05f2a37
[ "MIT" ]
66
2018-10-26T12:28:06.000Z
2022-03-24T13:23:53.000Z
pretrain/mnist_test.py
cominger/MeRGAN
426b09987ca2cb5c0846c1268d20887bc05f2a37
[ "MIT" ]
7
2019-01-29T12:09:53.000Z
2020-05-12T17:26:53.000Z
pretrain/mnist_test.py
cominger/MeRGAN
426b09987ca2cb5c0846c1268d20887bc05f2a37
[ "MIT" ]
17
2018-10-26T12:28:19.000Z
2021-12-21T06:02:45.000Z
import inspect import os import numpy as np import tensorflow as tf import time from functools import reduce VGG_MEAN = [103.939, 116.779, 123.68] class Mlp: def __init__(self, batch_size = 64, vgg16_npy_path=None, trainable=True, dropout=0.5, class_num = 10, image_size = 32): self.var_dict = {} ...
34.234848
125
0.605665
671
4,519
3.891207
0.216095
0.016852
0.024895
0.018384
0.307545
0.260437
0.146304
0.104175
0.080429
0.080429
0
0.052584
0.259349
4,519
131
126
34.496183
0.727517
0.043594
0
0.070588
0
0
0.025874
0
0
0
0
0
0.023529
0
null
null
0
0.070588
null
null
0.023529
0
0
0
null
0
0
0
0
0
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
3e0b03fb339a9ab3c12ae6ef99114f5633313c13
1,677
py
Python
rk_brain/knowldgegraph/abstract/neo4j_node_builder_abstract.py
ResearchKernel/MachineLearning
9f3a6c9bc01e4cab5b101095d823e7b0955b9ab3
[ "Apache-2.0" ]
1
2019-04-15T12:57:21.000Z
2019-04-15T12:57:21.000Z
rk_brain/knowldgegraph/abstract/neo4j_node_builder_abstract.py
ResearchKernel/MachineLearning
9f3a6c9bc01e4cab5b101095d823e7b0955b9ab3
[ "Apache-2.0" ]
null
null
null
rk_brain/knowldgegraph/abstract/neo4j_node_builder_abstract.py
ResearchKernel/MachineLearning
9f3a6c9bc01e4cab5b101095d823e7b0955b9ab3
[ "Apache-2.0" ]
null
null
null
import logging logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO) import pandas as pd import gensim import pymysql.cursors from py2neo import authenticate, Graph, Node, Relationship from multiprocessing import Pool # set up authentication parameters authenticate("camelot:747...
32.882353
129
0.660704
196
1,677
5.484694
0.55102
0.019535
0.03907
0
0
0
0
0
0
0
0
0.021995
0.240906
1,677
51
130
32.882353
0.822467
0.231962
0
0
0
0.038462
0.22655
0.022258
0
0
0
0
0
1
0.038462
false
0.115385
0.230769
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3e1785ecc300af2995e64d075b5a1a08f86a5f72
1,042
py
Python
setup.py
matteocappello94/pyautomailer
933c23426d00d32543da3af03fe67a7e8fa38247
[ "MIT" ]
null
null
null
setup.py
matteocappello94/pyautomailer
933c23426d00d32543da3af03fe67a7e8fa38247
[ "MIT" ]
2
2018-08-08T07:51:14.000Z
2018-08-10T14:35:32.000Z
setup.py
matteocappello94/pyautomailer
933c23426d00d32543da3af03fe67a7e8fa38247
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='pyautomailer', version='0.1.1-dev', description='A fully customizable automatic bulk email sending script.', long_description=readme(), classifiers=[ 'Development Status...
33.612903
80
0.599808
100
1,042
6.17
0.78
0
0
0
0
0
0
0
0
0
0
0.011827
0.269674
1,042
30
81
34.733333
0.798949
0
0
0
0
0
0.473129
0.066219
0
0
0
0
0
1
0.035714
true
0
0.035714
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
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
3e185d51d50e48552bc7973a492ad0ee394bc8a7
1,872
py
Python
tests/test_quantizer.py
se7entyse7en/image-quantizer
672992a9ab208c002b8ed756d4b667b5ac418323
[ "MIT" ]
20
2016-09-23T07:31:14.000Z
2022-03-17T07:38:18.000Z
tests/test_quantizer.py
se7entyse7en/image-quantizer
672992a9ab208c002b8ed756d4b667b5ac418323
[ "MIT" ]
2
2018-12-07T11:30:15.000Z
2019-07-31T15:52:42.000Z
tests/test_quantizer.py
se7entyse7en/image-quantizer
672992a9ab208c002b8ed756d4b667b5ac418323
[ "MIT" ]
7
2017-02-06T09:14:49.000Z
2021-03-02T02:26:45.000Z
import os import unittest from unittest import mock from image_quantizer import quantizer class ImageQuantizerTestCase(unittest.TestCase): def _get_image_path(self, filename): return os.path.join(os.path.dirname(__file__), 'fixtures', filename) def test_quantize(self): q = quantizer.ImageQu...
36.705882
76
0.588141
219
1,872
4.776256
0.196347
0.107075
0.091778
0.160612
0.67304
0.6587
0.605163
0.571702
0.571702
0.494264
0
0.014286
0.252137
1,872
50
77
37.44
0.732857
0
0
0.435897
0
0
0.209402
0.018162
0
0
0
0
0
1
0.102564
false
0
0.102564
0.025641
0.25641
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e1f4e15c0bbac401e75db876356e9b77ad658a1
2,600
py
Python
server/lib/dataone/integration.py
whole-tale/girder_wholetale
d0f59864e84196c08e1c58991c9f92cf7eee1d01
[ "BSD-3-Clause" ]
3
2019-03-05T17:34:06.000Z
2020-04-14T08:59:42.000Z
server/lib/dataone/integration.py
whole-tale/girder_wholetale
d0f59864e84196c08e1c58991c9f92cf7eee1d01
[ "BSD-3-Clause" ]
477
2017-09-21T13:22:37.000Z
2022-03-15T19:28:52.000Z
server/lib/dataone/integration.py
whole-tale/girder_wholetale
d0f59864e84196c08e1c58991c9f92cf7eee1d01
[ "BSD-3-Clause" ]
8
2018-02-15T01:18:42.000Z
2020-04-27T02:48:06.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import cherrypy from urllib.parse import urlparse, urlunparse, urlencode from girder.api import access from girder.api.describe import Description, autoDescribeRoute from girder.api.rest import setResponseHeader, boundHandler from . import DataONELocations from ....
34.210526
88
0.657308
305
2,600
5.55082
0.455738
0.038393
0.042528
0.023627
0
0
0
0
0
0
0
0.002017
0.237308
2,600
75
89
34.666667
0.85174
0.043462
0
0
0
0
0.257649
0
0
0
0
0.013333
0
1
0.015152
false
0
0.227273
0
0.242424
0
0
0
0
null
0
0
0
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
3e2bc9aaa07cf7cd1313dc02d6941ae6c162ecaf
2,717
py
Python
user/serializers.py
Geo3eck/dresden-rallye-backend
263b8c0ad35cba11d33b4927f449a99b0af56ceb
[ "MIT" ]
null
null
null
user/serializers.py
Geo3eck/dresden-rallye-backend
263b8c0ad35cba11d33b4927f449a99b0af56ceb
[ "MIT" ]
7
2021-03-18T23:47:59.000Z
2022-01-13T02:18:31.000Z
user/serializers.py
Geo3eck/dresden-rallye-backend
263b8c0ad35cba11d33b4927f449a99b0af56ceb
[ "MIT" ]
1
2020-02-07T07:45:01.000Z
2020-02-07T07:45:01.000Z
from .models import CustomUser from rest_framework import serializers from django.contrib.auth import authenticate from django.core.cache import caches from django.core.validators import EmailValidator from django.core.exceptions import ObjectDoesNotExist from rest_captcha.settings import api_settings from rest_captch...
30.52809
92
0.662127
285
2,717
6.161404
0.312281
0.039863
0.088269
0.039863
0.212984
0.212984
0.212984
0.212984
0.143508
0.143508
0
0.001487
0.257269
2,717
88
93
30.875
0.868682
0
0
0.242424
0
0
0.10011
0
0
0
0
0
0
1
0.045455
false
0.106061
0.121212
0
0.348485
0
0
0
0
null
0
0
0
0
0
0
0
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
3e2cf3d6908516302ae626a7e4f7a2bfa3c028da
1,373
py
Python
pyqwc/clientlib.py
richardteachout/pyQBWC
66b80533ad1e6dbc66a88e61150be627980971a5
[ "MIT" ]
18
2017-01-27T19:25:12.000Z
2021-12-21T04:28:52.000Z
pyqwc/clientlib.py
abk7777/pyqwc
d555a5d84a09ec226c5fd4b8059066e9a12c7943
[ "MIT" ]
1
2019-08-09T09:55:15.000Z
2019-08-12T04:57:52.000Z
pyqwc/clientlib.py
abk7777/pyqwc
d555a5d84a09ec226c5fd4b8059066e9a12c7943
[ "MIT" ]
12
2017-02-22T17:35:59.000Z
2022-02-20T11:32:07.000Z
import walrus import uuid from configobj import ConfigObj import os class pyqwcClient(): def __init__(self): configfile = os.environ['QWC_CONFIG_FILE'] config = ConfigObj(configfile) self.redisdb = walrus.Database( host=config['redis']['host'], port=config['redis']...
31.204545
63
0.553532
130
1,373
5.8
0.446154
0.072944
0.039788
0
0
0
0
0
0
0
0
0.001075
0.322651
1,373
43
64
31.930233
0.809677
0
0
0
0
0
0.095412
0
0
0
0
0
0
0
null
null
0.027778
0.111111
null
null
0.027778
0
0
0
null
0
0
0
0
0
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
3e2f2670cf6579d3ac2c166ac125f125c18d6f89
876
py
Python
convertJSON.py
Grupo-3-PEI/website
bb22e4acb447eba7e5024796efd7f3237502fb8c
[ "MIT" ]
null
null
null
convertJSON.py
Grupo-3-PEI/website
bb22e4acb447eba7e5024796efd7f3237502fb8c
[ "MIT" ]
null
null
null
convertJSON.py
Grupo-3-PEI/website
bb22e4acb447eba7e5024796efd7f3237502fb8c
[ "MIT" ]
null
null
null
import json def convert(jsonfile): return json.dumps({ "type": "FeatureCollection", "features": [ {"type": "Feature", "geometry": { "type": "Point", ...
54.75
94
0.253425
42
876
5.285714
0.571429
0.072072
0
0
0
0
0
0
0
0
0
0
0.663242
876
16
95
54.75
0.752542
0
0
0
0
0
0.104408
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e34ab8d45bf57a430493fbe535813ae2e9b42b4
946
py
Python
apps/homepage/migrations/0016_auto_20210405_0955.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
3
2021-03-12T18:32:39.000Z
2021-11-08T10:21:04.000Z
apps/homepage/migrations/0016_auto_20210405_0955.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
null
null
null
apps/homepage/migrations/0016_auto_20210405_0955.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
2
2021-01-29T14:52:53.000Z
2022-03-05T10:24:24.000Z
# Generated by Django 3.1.5 on 2021-04-05 09:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('homepage', '0015_auto_20210405_0935'), ] operations = [ migrations.AddField( model_name='sponso...
32.62069
136
0.609937
101
946
5.574257
0.643564
0.042629
0.049734
0.078153
0
0
0
0
0
0
0
0.053085
0.263214
946
28
137
33.785714
0.754663
0.047569
0
0.090909
1
0
0.14683
0.048943
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e353134a1ae6cf3fc0193e717f09e831bad8c3a
771
py
Python
easyutil/estring.py
Moguf/BasicModule
b995cc606ae7369fcb090fa1f95074446eb5c521
[ "MIT" ]
null
null
null
easyutil/estring.py
Moguf/BasicModule
b995cc606ae7369fcb090fa1f95074446eb5c521
[ "MIT" ]
1
2016-08-21T02:43:55.000Z
2016-08-21T02:43:55.000Z
easyutil/estring.py
Moguf/BasicModule
b995cc606ae7369fcb090fa1f95074446eb5c521
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # fileencoding=utf-8 def char_width(char): # For japanese. if len(char) == 1: return 1 else: return 2 def string_width(_string): char_width_list = [] for c in _string.decode('utf-8'): char_width_list.append(char_width(c)) return char_width_list d...
22.676471
63
0.623865
109
771
4.100917
0.348624
0.181208
0.203579
0.071588
0
0
0
0
0
0
0
0.014337
0.276265
771
33
64
23.363636
0.786738
0.070039
0
0
0
0
0.008403
0
0
0
0
0
0
1
0.153846
false
0
0
0.038462
0.384615
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e35990d4a04df5e7748f30e272dd22dfbe4c85f
6,391
py
Python
ooobuild/lo/awt/uno_control_list_box_model.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/awt/uno_control_list_box_model.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/awt/uno_control_list_box_model.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
29.05
199
0.630418
732
6,391
5.438525
0.362022
0.114544
0.06531
0.072846
0.2105
0.129867
0.088671
0.059282
0.022607
0
0
0.018174
0.285401
6,391
219
200
29.182648
0.853514
0.505398
0
0.4
0
0
0.093282
0.035944
0
0
0
0
0
1
0.4
false
0
0.1
0
0.566667
0
0
0
0
null
0
0
0
0
0
0
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
3e3a3f5940fb084027dfd7f8ed95870ef1f9a00d
1,851
py
Python
db/db_initialization.py
kk629/SQLAlchemy
2f36a5998816a4a635e24fe5f2b3fa12ea4a4666
[ "MIT" ]
null
null
null
db/db_initialization.py
kk629/SQLAlchemy
2f36a5998816a4a635e24fe5f2b3fa12ea4a4666
[ "MIT" ]
null
null
null
db/db_initialization.py
kk629/SQLAlchemy
2f36a5998816a4a635e24fe5f2b3fa12ea4a4666
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine, MetaData, Table, Integer, String, \ Column, DateTime, ForeignKey, Numeric, SmallInteger from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from datetime import datetime engine = create_engine("sqlite:///db1.sqlite") Base = declarat...
37.77551
80
0.718531
218
1,851
5.931193
0.293578
0.100541
0.081207
0.068059
0.377417
0.244393
0.052591
0
0
0
0
0.017767
0.148568
1,851
49
81
37.77551
0.802665
0
0
0.1
0
0
0.064795
0
0
0
0
0
0
1
0
false
0
0.1
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
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
3e4082503795ffc811addd51001a518c09d37b67
1,985
py
Python
pyusermanager_api/api_routes.py
Aurvandill137/pyusermanager_api
17e0dba02f124aeb230ad41f56932d618a9f20f0
[ "MIT" ]
null
null
null
pyusermanager_api/api_routes.py
Aurvandill137/pyusermanager_api
17e0dba02f124aeb230ad41f56932d618a9f20f0
[ "MIT" ]
null
null
null
pyusermanager_api/api_routes.py
Aurvandill137/pyusermanager_api
17e0dba02f124aeb230ad41f56932d618a9f20f0
[ "MIT" ]
null
null
null
from sanic import Sanic from . import api_permissions from . import api_sessions from . import api_misc from . import api_register from . import api_user def RegisterRoutes(route_prefix = "/", app = None): app.add_route(api_user.get_info_for_header, f"{route_prefix}header", methods=["GET"]) # login/log...
38.173077
93
0.678589
264
1,985
4.878788
0.227273
0.085404
0.083851
0.086957
0.404503
0.270963
0.210404
0
0
0
0
0
0.192947
1,985
52
94
38.173077
0.803995
0.050882
0
0.228571
0
0
0.160106
0.058511
0
0
0
0
0
1
0.028571
false
0.057143
0.171429
0
0.371429
0
0
0
0
null
0
0
0
0
0
0
0
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
3e46323295af65ba4feaaa3eb191864b5d0640c0
1,780
py
Python
tools/zhit.py
robbje/eis
a7e0cac9e00e57f605cd9d9536d385a3f632e506
[ "MIT" ]
null
null
null
tools/zhit.py
robbje/eis
a7e0cac9e00e57f605cd9d9536d385a3f632e506
[ "MIT" ]
null
null
null
tools/zhit.py
robbje/eis
a7e0cac9e00e57f605cd9d9536d385a3f632e506
[ "MIT" ]
null
null
null
#!/usr/bin/env python ## Created by Friedrich Hust ## W. Ehm, H. Gohr, R. Kaus, B. Roseler, C. A. Schiller: The evaluation of electrochemical impedance spectra using a modified logarithmic Hilbert transform. In: ACH-Models in Chemistry. 137, Nr. 2-3, 2000, S. 145–157. import numpy as np def ZHit( freq, Z):#, phiz = 0...
40.454545
217
0.591011
301
1,780
3.448505
0.385382
0.019268
0.023121
0.037572
0.169557
0.136802
0.136802
0.098266
0.055877
0.055877
0
0.061194
0.247191
1,780
43
218
41.395349
0.712687
0.267978
0
0.0625
0
0
0.071263
0.016266
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3e4ba4bc8bc6edf6b0a19ab95abcd22551e014de
1,009
py
Python
cvxpy/reductions/complex2real/atom_canonicalizers/constant_canon.py
NunoEdgarGFlowHub/cvxpy
43270fcc8af8fc4742f1b3519800b0074f2e6693
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cvxpy/reductions/complex2real/atom_canonicalizers/constant_canon.py
NunoEdgarGFlowHub/cvxpy
43270fcc8af8fc4742f1b3519800b0074f2e6693
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cvxpy/reductions/complex2real/atom_canonicalizers/constant_canon.py
NunoEdgarGFlowHub/cvxpy
43270fcc8af8fc4742f1b3519800b0074f2e6693
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Copyright 2013 Steven Diamond This file is part of CVXPY. CVXPY is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. CVXPY is distributed ...
31.53125
68
0.741328
156
1,009
4.762821
0.564103
0.064603
0.091521
0.076716
0.183042
0.07537
0
0
0
0
0
0.007353
0.191278
1,009
31
69
32.548387
0.903186
0.644202
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
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
0
0
1
0
0
1
3e4df29ce24298f81187e033856b32442ba1bf0c
753
py
Python
tests/imap-list-test.py
javanile/email-test
9abcaab2bfe24f9ea510d5d7409c7d7c848e4311
[ "MIT" ]
null
null
null
tests/imap-list-test.py
javanile/email-test
9abcaab2bfe24f9ea510d5d7409c7d7c848e4311
[ "MIT" ]
null
null
null
tests/imap-list-test.py
javanile/email-test
9abcaab2bfe24f9ea510d5d7409c7d7c848e4311
[ "MIT" ]
null
null
null
import imaplib, ssl, os, unittest imap_host = os.environ.get('IMAP_HOST') imap_port = os.environ.get('IMAP_PORT') imap_username = os.environ.get('IMAP_USERNAME') imap_password = os.environ.get('IMAP_PASSWORD') class ImapListTest(unittest.TestCase): def runTest(self): imap = imaplib.IMAP4(imap_host, imap_...
32.73913
52
0.622842
83
753
5.506024
0.39759
0.153173
0.105033
0.140044
0
0
0
0
0
0
0
0.001678
0.208499
753
22
53
34.227273
0.765101
0
0
0
0
0
0.280585
0
0
0
0
0
0.055556
1
0.055556
false
0.111111
0.055556
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
1
0
0
0
0
0
1
3e513a126930dfee6bdcb7b68c3f0bdc4f2bf623
327
py
Python
tests/test_ipyvuetify_app.py
stas-prokopiev/ipyvuetify_app
42c35f340534d64d4798b3fb7c50b0f0adc8d72b
[ "MIT" ]
null
null
null
tests/test_ipyvuetify_app.py
stas-prokopiev/ipyvuetify_app
42c35f340534d64d4798b3fb7c50b0f0adc8d72b
[ "MIT" ]
null
null
null
tests/test_ipyvuetify_app.py
stas-prokopiev/ipyvuetify_app
42c35f340534d64d4798b3fb7c50b0f0adc8d72b
[ "MIT" ]
null
null
null
"""""" # Standard library imports # Third party imports # Local imports def test_that_app_starts(): """""" from ipyvuetify_app import VueApp from ipyvuetify_app import VueAppRouter vue_app_router = VueAppRouter() VueApp( vue_app_router, list_footer_vw_children=["Footer example"],...
18.166667
51
0.678899
37
327
5.675676
0.621622
0.133333
0.161905
0.219048
0
0
0
0
0
0
0
0
0.229358
327
17
52
19.235294
0.833333
0.17737
0
0
0
0
0.055336
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e51b1d4a71734905601ca736b18004a3c706d90
329
py
Python
main.py
mapler/simple-page-monitor
64e8a0a4245276329e79852a1f50bc49d1a2051e
[ "MIT" ]
2
2017-04-14T08:15:39.000Z
2017-12-01T11:51:45.000Z
main.py
mapler/simple-page-monitor
64e8a0a4245276329e79852a1f50bc49d1a2051e
[ "MIT" ]
null
null
null
main.py
mapler/simple-page-monitor
64e8a0a4245276329e79852a1f50bc49d1a2051e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from sender import SenderManager from checker import PageChecker if __name__ == '__main__': checker = PageChecker() matched_message = checker.get_matched_message() if matched_message: sender_manager = SenderManager() sender_manager.send(matched_...
27.416667
51
0.717325
37
329
5.972973
0.567568
0.253394
0
0
0
0
0
0
0
0
0
0.003717
0.182371
329
11
52
29.909091
0.817844
0.12766
0
0
0
0
0.02807
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e528e3671c7e3b92188131301c06d3b99e67d72
9,194
py
Python
textauthenticator/tests/jupyterhub_config.py
torcato/JupyterTextAuthenticator
ee561daabbe86d7fefd81aac5b656817b15b5560
[ "MIT" ]
null
null
null
textauthenticator/tests/jupyterhub_config.py
torcato/JupyterTextAuthenticator
ee561daabbe86d7fefd81aac5b656817b15b5560
[ "MIT" ]
null
null
null
textauthenticator/tests/jupyterhub_config.py
torcato/JupyterTextAuthenticator
ee561daabbe86d7fefd81aac5b656817b15b5560
[ "MIT" ]
null
null
null
# Configuration file for jupyterhub. c = get_config() c.JupyterHub.authenticator_class = 'rawauthenticator.TextAuthenticator' # The docker instances need access to the Hub, so the default loopback port doesn't work: from IPython.utils.localinterfaces import public_ips c.JupyterHub.hub_ip = public_ips()[0] c.Jupyt...
32.259649
125
0.689798
1,211
9,194
5.162675
0.256813
0.070377
0.015355
0.012156
0.305342
0.285029
0.257837
0.246641
0.230326
0.204415
0
0.012432
0.142593
9,194
284
126
32.373239
0.780667
0.902328
0
0
0
0
0.198856
0.173104
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e5fca9365c6d5b55e3615c90139e0b8faf82209
12,216
py
Python
extensions/bond/libor/libor_cli.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
1
2019-03-18T13:31:11.000Z
2019-03-18T13:31:11.000Z
extensions/bond/libor/libor_cli.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
extensions/bond/libor/libor_cli.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Intel Corporation # # 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 wri...
33.377049
80
0.572446
1,480
12,216
4.631081
0.256081
0.00569
0.010505
0.014298
0.179749
0.134228
0.121389
0.118033
0.078057
0.078057
0
0.011262
0.265881
12,216
365
81
33.468493
0.753011
0.137934
0
0.217228
0
0.003745
0.227061
0.047356
0
0
0
0
0
0
null
null
0.011236
0.05618
null
null
0.104869
0
0
0
null
0
0
0
0
0
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
3e5fe66823fdae3c18e2f5c38f2ba2a665070f8e
335
py
Python
queries/structure/all.py
akarapun/elearning
fe116d5815925269819061ea183cbfdb773844cf
[ "MIT" ]
1
2020-03-14T11:00:14.000Z
2020-03-14T11:00:14.000Z
queries/structure/all.py
akarapun/elearning
fe116d5815925269819061ea183cbfdb773844cf
[ "MIT" ]
null
null
null
queries/structure/all.py
akarapun/elearning
fe116d5815925269819061ea183cbfdb773844cf
[ "MIT" ]
null
null
null
import graphene from schema_models import Structure from db_helpers.structureSelection import selectAllStructure class GetAllStructure(graphene.ObjectType): structure = graphene.List(Structure) def resolve_structure(self, info): import utils if utils.isAllowAccess(): return select...
25.769231
60
0.755224
33
335
7.575758
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.18806
335
12
61
27.916667
0.919118
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
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
1
0
0
0
0
1
3e6cc2f5017b88abee7eee4318089b9bfdbce1df
10,826
py
Python
madhype/postprocessing/plots.py
OhEvolve/MAD-HYPE
b7701c8f46e102613831c3fef4fe6e3768918544
[ "Apache-2.0" ]
null
null
null
madhype/postprocessing/plots.py
OhEvolve/MAD-HYPE
b7701c8f46e102613831c3fef4fe6e3768918544
[ "Apache-2.0" ]
null
null
null
madhype/postprocessing/plots.py
OhEvolve/MAD-HYPE
b7701c8f46e102613831c3fef4fe6e3768918544
[ "Apache-2.0" ]
null
null
null
# standard libraries import os from math import ceil,floor,log10 # nonstandard libraries import matplotlib.pyplot as plt """ Functions: plot_auroc plot_comparison plot_frequency_estimation plot_repertoire """ def plot_auroc(cresults,**kwargs): label = 'auroc' options = _default_plot_opt...
30.668555
102
0.543506
1,238
10,826
4.641357
0.204362
0.034111
0.031326
0.021754
0.445353
0.36669
0.325792
0.296902
0.296902
0.275844
0
0.016628
0.250046
10,826
352
103
30.755682
0.691095
0.146592
0
0.325359
0
0
0.141752
0.014803
0
0
0
0
0.004785
0
null
null
0.004785
0.014354
null
null
0.019139
0
0
0
null
0
0
0
0
0
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
3e7547f932bcaebd050273fd9c8fd3fbabb097ed
1,913
py
Python
pyrobolearn/priorities/constraints/velocity/capture_point.py
Pandinosaurus/pyrobolearn
9cd7c060723fda7d2779fa255ac998c2c82b8436
[ "Apache-2.0" ]
2
2021-01-21T21:08:30.000Z
2022-03-29T16:45:49.000Z
pyrobolearn/priorities/constraints/velocity/capture_point.py
Pandinosaurus/pyrobolearn
9cd7c060723fda7d2779fa255ac998c2c82b8436
[ "Apache-2.0" ]
null
null
null
pyrobolearn/priorities/constraints/velocity/capture_point.py
Pandinosaurus/pyrobolearn
9cd7c060723fda7d2779fa255ac998c2c82b8436
[ "Apache-2.0" ]
1
2020-09-29T21:25:39.000Z
2020-09-29T21:25:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- r"""Provide the capture point constraint. The implementation of this class is inspired by [1] (which is licensed under the LGPLv2). References: - [1] "OpenSoT: A whole-body control library for the compliant humanoid robot COMAN", Rocchi et al., 2015 """ # TODO: fini...
40.702128
117
0.724516
273
1,913
4.930403
0.567766
0.044577
0.032689
0
0
0
0
0
0
0
0
0.017926
0.183481
1,913
46
118
41.586957
0.84379
0.647674
0
0
0
0
0.263415
0.039024
0
0
0
0.021739
0
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3e77fbf15ee9374b95f4a2b30b787ddd85682b30
5,983
py
Python
Extended Programming Challenges Python/Kot Pucybut/main.py
szachovy/School-and-Training
70f07c0d077da7ba1920d28d881fff7ddcbc37d9
[ "MIT" ]
null
null
null
Extended Programming Challenges Python/Kot Pucybut/main.py
szachovy/School-and-Training
70f07c0d077da7ba1920d28d881fff7ddcbc37d9
[ "MIT" ]
null
null
null
Extended Programming Challenges Python/Kot Pucybut/main.py
szachovy/School-and-Training
70f07c0d077da7ba1920d28d881fff7ddcbc37d9
[ "MIT" ]
null
null
null
import seaborn as sns import random from collections import deque import matplotlib.pyplot as plt import sys class Arena(type): def __new__(cls, class_name, class_parents, class_dict): if class_dict['isFirst']: print(class_name, 'stand in the area') class_dict['line'] = int(input('...
36.705521
99
0.513622
656
5,983
4.629573
0.169207
0.213368
0.085611
0.041488
0.679289
0.677972
0.626934
0.605203
0.581495
0.553177
0
0.040228
0.356009
5,983
162
100
36.932099
0.747989
0
0
0.576642
0
0
0.073375
0
0
0
0
0
0
1
0.087591
false
0
0.036496
0.029197
0.284672
0.058394
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e7994fa5d0a76102bb819c6c2cf751198c05a15
1,283
py
Python
app/contacts/migrations/0001_initial.py
nuruddinsayeed/django_real_estate_project
8cd9c1a90455a1f0c2bfa44854a4e795575fea2f
[ "Apache-2.0" ]
null
null
null
app/contacts/migrations/0001_initial.py
nuruddinsayeed/django_real_estate_project
8cd9c1a90455a1f0c2bfa44854a4e795575fea2f
[ "Apache-2.0" ]
null
null
null
app/contacts/migrations/0001_initial.py
nuruddinsayeed/django_real_estate_project
8cd9c1a90455a1f0c2bfa44854a4e795575fea2f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.8 on 2021-04-14 06:57 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL)...
37.735294
136
0.631333
141
1,283
5.595745
0.503546
0.040558
0.091255
0.121673
0.144487
0.076046
0
0
0
0
0
0.042945
0.237724
1,283
33
137
38.878788
0.763804
0.035074
0
0
1
0
0.093042
0.018608
0
0
0
0
0
1
0
false
0
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3e79af69e2acd88f10a8503e8c0e0dd56f0d0d65
560
py
Python
photos/migrations/0018_auto_20180924_0317.py
kingsdigitallab/mmee-django
43a8fcf02138f4b114507fa8894717e1363df4f1
[ "MIT" ]
null
null
null
photos/migrations/0018_auto_20180924_0317.py
kingsdigitallab/mmee-django
43a8fcf02138f4b114507fa8894717e1363df4f1
[ "MIT" ]
9
2020-02-11T23:19:52.000Z
2021-06-09T17:39:45.000Z
photos/migrations/0018_auto_20180924_0317.py
kingsdigitallab/mmee-django
43a8fcf02138f4b114507fa8894717e1363df4f1
[ "MIT" ]
null
null
null
# Generated by Django 2.0.8 on 2018-09-24 02:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('photos', '0017_photo_subcategories'), ] operations = [ migrations.AlterModelOptions( name='photosubcategory', options={'orde...
22.4
63
0.569643
48
560
6.520833
0.770833
0
0
0
0
0
0
0
0
0
0
0.049223
0.310714
560
24
64
23.333333
0.761658
0.080357
0
0.166667
1
0
0.202729
0.046784
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1