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
f335a88172969ef4b07ebc46cdb0148f28a15f96
8,820
py
Python
mixtas/mixtas/pedidos/views.py
stad-team/stad-mixtas
68513f247eeedd7f731d18339891146634619af1
[ "MIT" ]
null
null
null
mixtas/mixtas/pedidos/views.py
stad-team/stad-mixtas
68513f247eeedd7f731d18339891146634619af1
[ "MIT" ]
null
null
null
mixtas/mixtas/pedidos/views.py
stad-team/stad-mixtas
68513f247eeedd7f731d18339891146634619af1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ STAD TEAM ~~~~~~~~~~ """ from __future__ import absolute_import, unicode_literals, print_function import win32print import win32ui from escpos import printer from datetime import datetime from .models import Mesas, DetalleOrden, Simbolos, Menu, Folio from rest_framework.viewsets import M...
30.413793
125
0.566667
831
8,820
5.939832
0.216607
0.037885
0.033428
0.040113
0.449352
0.38513
0.307942
0.263371
0.247569
0.247569
0
0.016084
0.316213
8,820
289
126
30.519031
0.802355
0.062245
0
0.4
0
0.005
0.152335
0.005094
0
0
0
0
0
1
0.035
false
0
0.055
0
0.205
0.195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f335ec77eb35c369571cab5128f06c7e945d0e70
4,856
py
Python
thumbor_riak/storage.py
dhardy92/thumbor_riak
d3ae5d1ac832dd8a1a0681b3b0c85384868dfe6f
[ "MIT" ]
null
null
null
thumbor_riak/storage.py
dhardy92/thumbor_riak
d3ae5d1ac832dd8a1a0681b3b0c85384868dfe6f
[ "MIT" ]
1
2017-02-28T16:08:07.000Z
2017-03-02T13:44:07.000Z
thumbor_riak/storage.py
dhardy92/thumbor_riak
d3ae5d1ac832dd8a1a0681b3b0c85384868dfe6f
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # thumbor imaging service # https://github.com/dhardy92/thumbor_riak/ # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2012 dhard92@github.com from json import loads, dumps from datetime import datetime, timedelta from thumbo...
33.489655
108
0.576606
564
4,856
4.851064
0.265957
0.048246
0.060307
0.055556
0.510234
0.4375
0.387061
0.364766
0.346126
0.346126
0
0.008311
0.306219
4,856
144
109
33.722222
0.803799
0.064868
0
0.436364
0
0
0.059589
0.007062
0
0
0
0
0
0
null
null
0.009091
0.054545
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f336821713a91066ae6212929dccb33669ef98c9
60
py
Python
app/settings.py
tomcrane/wikipedia-to-iiif
69f2fc2239622c9e9e267ff8283baf79fa613eed
[ "MIT" ]
7
2017-12-11T14:10:45.000Z
2019-05-30T08:41:13.000Z
app/settings.py
tomcrane/wikipedia-to-iiif
69f2fc2239622c9e9e267ff8283baf79fa613eed
[ "MIT" ]
null
null
null
app/settings.py
tomcrane/wikipedia-to-iiif
69f2fc2239622c9e9e267ff8283baf79fa613eed
[ "MIT" ]
null
null
null
import os EXAMPLE_VARIABLE = os.getenv("EXAMPLE_VARIABLE")
15
48
0.8
8
60
5.75
0.625
0.652174
0
0
0
0
0
0
0
0
0
0
0.1
60
3
49
20
0.851852
0
0
0
0
0
0.266667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f337866812b474c09e2202fff6887c80f6dcd01a
31,982
py
Python
sdk/python/pulumi_databricks/mws_customer_managed_keys.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/mws_customer_managed_keys.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/mws_customer_managed_keys.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
49.738725
272
0.616253
3,267
31,982
5.811142
0.089073
0.047511
0.052146
0.032657
0.895128
0.884277
0.87685
0.865894
0.863208
0.850988
0
0.005882
0.287724
31,982
642
273
49.816199
0.827524
0.568632
0
0.642512
1
0
0.142752
0.064828
0
0
0
0
0
1
0.154589
false
0.004831
0.033816
0
0.280193
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f337e2d1736dd597f92bbbb31718a4f5323d8684
2,656
py
Python
setup.py
batterseapower/hdf5storage
9ccec8818e11c2a66a0e834bd2be2e3d3a6761b7
[ "BSD-2-Clause" ]
null
null
null
setup.py
batterseapower/hdf5storage
9ccec8818e11c2a66a0e834bd2be2e3d3a6761b7
[ "BSD-2-Clause" ]
null
null
null
setup.py
batterseapower/hdf5storage
9ccec8818e11c2a66a0e834bd2be2e3d3a6761b7
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2013-2020, Freja Nordsiek # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions ...
42.15873
110
0.707078
330
2,656
5.666667
0.587879
0.019251
0.018182
0.024599
0.098396
0.072727
0.072727
0.072727
0.072727
0.072727
0
0.017013
0.203313
2,656
62
111
42.83871
0.86673
0.486822
0
0
0
0.030303
0.488407
0.016455
0
0
0.006731
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3389d6e189436dc0b18edac8152f2bc9327e39e
1,040
py
Python
mminterconcept/construction/molecule.py
Lnaden/mminterconcept
83c5bc75f93113443d2126551e4df3940637536d
[ "MIT" ]
null
null
null
mminterconcept/construction/molecule.py
Lnaden/mminterconcept
83c5bc75f93113443d2126551e4df3940637536d
[ "MIT" ]
null
null
null
mminterconcept/construction/molecule.py
Lnaden/mminterconcept
83c5bc75f93113443d2126551e4df3940637536d
[ "MIT" ]
null
null
null
''' Author: Andrew-AbiMansour DOC: Oct 21, 2019 This module defines a molecule for MD simulation/analysis ''' from qcelemental.models import molecule as qc_molecule from pydantic import Schema from typing import Optional, Tuple, List class Molecule(qc_molecule.Molecule): angles: Optional[List[Tuple[int, int, int]]...
40
118
0.707692
154
1,040
4.675325
0.454545
0.1
0.047222
0.055556
0.552778
0.552778
0.552778
0.552778
0.552778
0.552778
0
0.014151
0.184615
1,040
25
119
41.6
0.834906
0.098077
0
0.166667
0
0.166667
0.577131
0
0
0
0
0
0
1
0
true
0
0.25
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
1
0
0
0
0
0
0
1
f338e98f4e08bde2d9d5d0b8509480a59736e419
3,192
py
Python
polaris_health/util/log.py
pjns-lb/polaris-gslb
d5c4f1865ceb4311a6c36c7c6d23462565864e98
[ "BSD-3-Clause" ]
225
2015-09-02T16:53:34.000Z
2022-03-19T16:52:32.000Z
polaris_health/util/log.py
pjns-lb/polaris-gslb
d5c4f1865ceb4311a6c36c7c6d23462565864e98
[ "BSD-3-Clause" ]
60
2015-09-08T09:39:00.000Z
2022-02-01T10:42:34.000Z
polaris_health/util/log.py
pjns-lb/polaris-gslb
d5c4f1865ceb4311a6c36c7c6d23462565864e98
[ "BSD-3-Clause" ]
77
2015-09-08T16:23:21.000Z
2022-03-19T15:57:23.000Z
# -*- coding: utf-8 -*- import logging import logging.config from polaris_health import Error, config __all__ = [ 'setup', 'setup_debug' ] LOG = logging.getLogger(__name__) LOG.addHandler(logging.NullHandler()) FORMAT = '%(asctime)s [%(levelname)s] %(name)s: %(message)s' class DatagramText(logging.handlers.Data...
23.470588
68
0.518797
292
3,192
5.530822
0.349315
0.044582
0.034056
0.017337
0.178328
0.1387
0.1387
0.1387
0.101548
0.101548
0
0.001408
0.332393
3,192
135
69
23.644444
0.756452
0.114662
0
0.290698
0
0
0.232808
0.047278
0
0
0
0
0
1
0.046512
false
0
0.034884
0
0.104651
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3393e3733e864fdd4beef58afdb68b438e60fb1
722
py
Python
chia/outbound_message.py
ssysm/ChiaNodeSync
bb574e7b20c79074ef8c2f56e5a177d169d1b843
[ "Apache-2.0" ]
2
2021-05-20T19:33:26.000Z
2021-10-13T03:23:29.000Z
chia/outbound_message.py
ssysm/ChiaNodeSync
bb574e7b20c79074ef8c2f56e5a177d169d1b843
[ "Apache-2.0" ]
null
null
null
chia/outbound_message.py
ssysm/ChiaNodeSync
bb574e7b20c79074ef8c2f56e5a177d169d1b843
[ "Apache-2.0" ]
1
2021-07-11T13:14:50.000Z
2021-07-11T13:14:50.000Z
from dataclasses import dataclass from enum import IntEnum from typing import Any, Optional from chia.protocols.protocol_message_types import ProtocolMessageTypes from chia.util.ints import uint8, uint16 from chia.util.streamable import Streamable, streamable class NodeType(IntEnum): FULL_NODE = 1 HARVESTER =...
24.896552
70
0.742382
93
722
5.698925
0.548387
0.045283
0.045283
0
0
0
0
0
0
0
0
0.022147
0.186981
722
28
71
25.785714
0.88075
0.090028
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.285714
0.047619
0.904762
0
0
0
0
null
0
0
0
0
0
0
0
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
f3395aa0c5cc601517f789fbb804e0b43eadb2eb
4,147
py
Python
osbrain/tests/test_agent_sync_publications_handlers.py
RezaBehzadpour/osbrain
1b7061bfa6bcfa2176685081fd39c5c971107d51
[ "Apache-2.0" ]
176
2016-07-12T20:05:32.000Z
2022-01-18T10:12:07.000Z
osbrain/tests/test_agent_sync_publications_handlers.py
RezaBehzadpour/osbrain
1b7061bfa6bcfa2176685081fd39c5c971107d51
[ "Apache-2.0" ]
358
2016-08-04T09:21:35.000Z
2021-10-15T07:20:07.000Z
osbrain/tests/test_agent_sync_publications_handlers.py
RezaBehzadpour/osbrain
1b7061bfa6bcfa2176685081fd39c5c971107d51
[ "Apache-2.0" ]
50
2016-07-17T11:52:36.000Z
2021-05-10T14:48:45.000Z
""" Test file for synchronized publications handlers. """ import pytest from osbrain import Agent from osbrain import run_agent from osbrain.helper import wait_agent_attr from .common import append_received class ServerSyncPub(Agent): def on_init(self): self.received = [] self.bind('SYNC_PUB', a...
30.718519
79
0.67591
518
4,147
5.281853
0.250965
0.023026
0.019006
0.020468
0.498904
0.44481
0.349415
0.340643
0.26864
0.236111
0
0.002766
0.215336
4,147
134
80
30.947761
0.838045
0.195804
0
0.317073
0
0
0.139155
0
0
0
0
0
0.109756
1
0.121951
false
0
0.060976
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f33ba675e1eea0466ae4a3b552dee73fb4344ba0
598
py
Python
events/migrations/0004_auto_20180425_1508.py
Akash1S/meethub
3517ec7b4e03ca1fe50e7053fd46349f0b31740c
[ "MIT" ]
428
2018-05-11T16:36:33.000Z
2022-02-05T15:29:23.000Z
events/migrations/0004_auto_20180425_1508.py
dmkibuka/meethub
296a1494ab6f2828b61f0b8e4ad80308306fc23a
[ "MIT" ]
15
2018-05-14T16:33:29.000Z
2021-06-09T17:28:14.000Z
events/migrations/0004_auto_20180425_1508.py
dmkibuka/meethub
296a1494ab6f2828b61f0b8e4ad80308306fc23a
[ "MIT" ]
53
2018-05-12T10:41:24.000Z
2022-02-23T12:15:33.000Z
# Generated by Django 2.0.4 on 2018-04-25 15:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('events', '0003_auto_20180424_1611'), ] operations = [ migrations.AlterModelOptions( name='event', options={'ordering...
26
109
0.595318
60
598
5.783333
0.75
0.07781
0
0
0
0
0
0
0
0
0
0.073395
0.270903
598
22
110
27.181818
0.722477
0.075251
0
0.125
1
0
0.205082
0.041742
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f33c856e8fe096a3d7793a81f6b7f5325ea10432
1,543
py
Python
tirma/__main__.py
franpoz/tirma
40905210cbfe6ab2dc40d3f5707850e390ccabb5
[ "MIT" ]
null
null
null
tirma/__main__.py
franpoz/tirma
40905210cbfe6ab2dc40d3f5707850e390ccabb5
[ "MIT" ]
null
null
null
tirma/__main__.py
franpoz/tirma
40905210cbfe6ab2dc40d3f5707850e390ccabb5
[ "MIT" ]
null
null
null
import os import yaml from argparse import ArgumentParser from os import path from tirma.tirma import TIRMA if __name__ == '__main__': current_path = os.path.dirname(os.path.realpath(__file__)) ap = ArgumentParser(description='Sherlock Inject&Recovery tool') ap.add_argument('--dir', default="./", help="W...
51.433333
112
0.714841
187
1,543
5.534759
0.363636
0.229952
0.275362
0.072464
0.050242
0
0
0
0
0
0
0
0.167855
1,543
29
113
53.206897
0.806075
0
0
0
0
0
0.189242
0
0
0
0
0
0
1
0
false
0
0.192308
0
0.192308
0.038462
0
0
0
null
1
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
2
f3407e32f5f6523d6af3047286ae165f92497d48
1,988
py
Python
webserver.py
ChaunceyXCX/e_gate
1df172c1293b54ec9d47410b90bf5bd00c43e96b
[ "MIT" ]
null
null
null
webserver.py
ChaunceyXCX/e_gate
1df172c1293b54ec9d47410b90bf5bd00c43e96b
[ "MIT" ]
null
null
null
webserver.py
ChaunceyXCX/e_gate
1df172c1293b54ec9d47410b90bf5bd00c43e96b
[ "MIT" ]
null
null
null
import picoweb import gpio import network import ujson import wlanauto app = picoweb.WebApp("SafeGate") @app.route("/") def index(req, resp): yield from picoweb.start_response(resp) htmFile = open('./static/gate.html','r') for line in htmFile: yield from resp.awrite(b""+line) # yield from resp....
28
78
0.678068
269
1,988
4.899628
0.275093
0.102428
0.078907
0.115326
0.379363
0.379363
0.379363
0.379363
0.379363
0.379363
0
0.00185
0.184105
1,988
71
79
28
0.810728
0.012072
0
0.177419
0
0
0.094753
0.010698
0
0
0
0
0
1
0.129032
false
0.016129
0.080645
0
0.225806
0.048387
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3416451d8e96fafe38d11507d5a845e008e0c70
9,046
py
Python
dnn_reco/export_model.py
mxmeier/dnn_reco
c26ca45c7e0f9b160a99598d25e29779a674707f
[ "MIT" ]
null
null
null
dnn_reco/export_model.py
mxmeier/dnn_reco
c26ca45c7e0f9b160a99598d25e29779a674707f
[ "MIT" ]
null
null
null
dnn_reco/export_model.py
mxmeier/dnn_reco
c26ca45c7e0f9b160a99598d25e29779a674707f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import division, print_function import os import shutil import glob import click import ruamel.yaml as yaml import tensorflow as tf from dnn_reco import misc from dnn_reco.setup_manager import SetupManager from dnn_reco.data_handler import DataHandler from ...
40.565022
79
0.612425
1,044
9,046
5.021073
0.210728
0.054941
0.022892
0.024418
0.185807
0.162724
0.10187
0.028997
0.015261
0
0
0.003473
0.236016
9,046
222
80
40.747748
0.755028
0.162282
0
0.076389
0
0
0.219251
0.063102
0
0
0
0.004505
0
1
0.013889
false
0
0.083333
0
0.097222
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f341934b753020a83775024239d87aaaed4b7ee7
11,379
py
Python
neuralparticles/scripts/run_punet.py
senliontec/NeuralParticles
8ede22bfb43e60be175b9cef19045c1c7b1ffb73
[ "MIT" ]
null
null
null
neuralparticles/scripts/run_punet.py
senliontec/NeuralParticles
8ede22bfb43e60be175b9cef19045c1c7b1ffb73
[ "MIT" ]
null
null
null
neuralparticles/scripts/run_punet.py
senliontec/NeuralParticles
8ede22bfb43e60be175b9cef19045c1c7b1ffb73
[ "MIT" ]
null
null
null
import numpy as np import h5py import keras import keras.backend as K from glob import glob import json import math, scipy from scipy.optimize import linear_sum_assignment import time from collections import OrderedDict import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import keras from neura...
37.065147
330
0.61508
1,722
11,379
3.842044
0.138211
0.031741
0.016929
0.031741
0.370012
0.330411
0.294135
0.279625
0.27237
0.214631
0
0.024215
0.2161
11,379
306
331
37.186275
0.717489
0.06635
0
0.222222
0
0
0.079402
0.01172
0
0
0
0
0
1
0
false
0
0.101852
0
0.101852
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3425b5ebea9c1fe60e371d5dba169b6aa7ee4c8
23,965
py
Python
deepreg/model/layer_util.py
mathpluscode/DeepReg
80854094feafec998fa6237199066556c73f31f9
[ "Apache-2.0" ]
null
null
null
deepreg/model/layer_util.py
mathpluscode/DeepReg
80854094feafec998fa6237199066556c73f31f9
[ "Apache-2.0" ]
null
null
null
deepreg/model/layer_util.py
mathpluscode/DeepReg
80854094feafec998fa6237199066556c73f31f9
[ "Apache-2.0" ]
null
null
null
""" Module containing utilities for layer inputs """ import itertools import numpy as np import tensorflow as tf def get_reference_grid(grid_size: (tuple, list)) -> tf.Tensor: """ Generate a 3D grid with given size. Reference: - volshape_to_meshgrid of neuron https://github.com/adalca/neurite...
33.423989
88
0.571917
3,542
23,965
3.745059
0.128176
0.007388
0.006332
0.005729
0.28285
0.211685
0.174369
0.152733
0.117829
0.09755
0
0.03601
0.304736
23,965
716
89
33.47067
0.758252
0.52706
0
0.140078
1
0.003891
0.10375
0
0
0
0
0.002793
0.011673
1
0.038911
false
0
0.011673
0
0.097276
0
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
f3437fdf05ac2adaef08bbdcb3bffd59e965cdee
1,120
py
Python
client/src/service/send_cheat_state.py
y-yu/qrand
b041c3c9cccaf20ee24a0ad90c81b89d3dc753bf
[ "MIT" ]
3
2020-02-02T09:04:21.000Z
2020-02-09T07:25:59.000Z
client/src/service/send_cheat_state.py
y-yu/qrand
b041c3c9cccaf20ee24a0ad90c81b89d3dc753bf
[ "MIT" ]
null
null
null
client/src/service/send_cheat_state.py
y-yu/qrand
b041c3c9cccaf20ee24a0ad90c81b89d3dc753bf
[ "MIT" ]
null
null
null
from ..repository import quantum, qrand_api_caller from random import Random from qulacs import QuantumState from qulacs.gate import H # クライアントがチートをするためのサービス。 class PostCheatStateService: def __init__( self, random_impl: Random, send_qubit_impl: qrand_api_caller.QRandApiRepository, ): ...
27.317073
72
0.63125
128
1,120
5.25
0.453125
0.059524
0.077381
0.059524
0.130952
0
0
0
0
0
0
0.01827
0.266964
1,120
40
73
28
0.800244
0.111607
0
0
0
0
0.0273
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f347cd2141e29b71f96f81b6d7df95e5fa292a36
1,655
py
Python
ecc_attack_code/ecc_attack.py
gbanegas/SDCECC
987017be79448b2a0d786b9fe9f5f1b99aa14e1f
[ "Apache-2.0" ]
null
null
null
ecc_attack_code/ecc_attack.py
gbanegas/SDCECC
987017be79448b2a0d786b9fe9f5f1b99aa14e1f
[ "Apache-2.0" ]
null
null
null
ecc_attack_code/ecc_attack.py
gbanegas/SDCECC
987017be79448b2a0d786b9fe9f5f1b99aa14e1f
[ "Apache-2.0" ]
null
null
null
import random import math from itertools import product from ecc_types import * def bitfield(n): return [int(digit) for digit in bin(n)[2:]] class AttackECC(): def __init__(self, ecc, gen_ed25519): self.ecc = ecc self.gen_data = gen_ed25519 self.to_divide = float(2**self.ecc.get_k())...
27.583333
104
0.524471
255
1,655
3.121569
0.254902
0.050251
0.035176
0.015075
0.103015
0.103015
0.067839
0
0
0
0
0.021978
0.340181
1,655
59
105
28.050847
0.70696
0.030211
0
0
0
0
0.01995
0
0
0
0
0
0
1
0.12766
false
0
0.085106
0.021277
0.297872
0.106383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f348e79c0bd30dcf3780b2f6b359aaf0f0bfa665
2,456
py
Python
export/usb.py
oudeismetis/missed-moment
9294340bd4d5fbc5801cc967db70f8c82ea94ef3
[ "MIT" ]
5
2016-09-06T19:54:38.000Z
2021-11-04T19:04:08.000Z
export/usb.py
oudeismetis/missed-moment
9294340bd4d5fbc5801cc967db70f8c82ea94ef3
[ "MIT" ]
1
2021-11-17T21:08:17.000Z
2021-11-17T21:08:17.000Z
export/usb.py
oudeismetis/missed-moment
9294340bd4d5fbc5801cc967db70f8c82ea94ef3
[ "MIT" ]
1
2016-10-28T15:15:48.000Z
2016-10-28T15:15:48.000Z
from os import listdir from os.path import exists, expanduser, isfile import re from subprocess import CalledProcessError, check_call import logging from pyudev import Context, Monitor video_pattern = re.compile('missed-moment.*merged.*mp4') MEDIA_DIR = '/missed_moment_media' USB_MOUNT_DIR = '/missed_moment_usb' USB_...
34.111111
77
0.644544
319
2,456
4.752351
0.373041
0.047493
0.050792
0.042216
0.176121
0.145778
0.129947
0.059367
0
0
0
0.003156
0.225977
2,456
71
78
34.591549
0.794319
0.109121
0
0.075472
0
0
0.189908
0.022018
0
0
0
0.014085
0
1
0.056604
false
0
0.113208
0
0.169811
0
0
0
0
null
0
0
0
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
f349cfad9cec3cea9ca00cc8741bef50c2e3e69b
1,359
py
Python
compiled/python/js_signed_right_shift.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
4
2017-04-08T12:55:11.000Z
2020-12-05T21:09:31.000Z
compiled/python/js_signed_right_shift.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
7
2018-04-23T01:30:33.000Z
2020-10-30T23:56:14.000Z
compiled/python/js_signed_right_shift.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
6
2017-04-08T11:41:14.000Z
2020-10-30T22:47:31.000Z
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO if parse_version(kaitaistruct.__version__) < parse_version('0.9'): raise Exception("Incompati...
35.763158
132
0.718911
189
1,359
4.746032
0.338624
0.124861
0.147157
0.173913
0.399108
0.383501
0.354515
0.280936
0.280936
0.280936
0
0.107834
0.201619
1,359
37
133
36.72973
0.718894
0.07064
0
0.24
1
0
0.161239
0.05004
0
0
0
0
0
1
0.16
false
0.04
0.12
0
0.48
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f349db6f7d61685b49d49c7f0b47f4281e88cd8e
2,913
py
Python
tests/utilities.py
Terrencebosco/lambdata-dspt7-tb
9a5be4e6e0fea1801393253221fcca0511ded83c
[ "MIT" ]
null
null
null
tests/utilities.py
Terrencebosco/lambdata-dspt7-tb
9a5be4e6e0fea1801393253221fcca0511ded83c
[ "MIT" ]
null
null
null
tests/utilities.py
Terrencebosco/lambdata-dspt7-tb
9a5be4e6e0fea1801393253221fcca0511ded83c
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split # helper function for dropping columns with nan values. def drop_high_nan(df, num_nans): ''' drop columns with preselected number of nans df = selected dataframe num_nans = the number of nans as a threshold t...
31.663043
79
0.645726
413
2,913
4.372881
0.300242
0.03876
0.054264
0.076412
0.147841
0.078627
0.078627
0
0
0
0
0.008019
0.272228
2,913
92
80
31.663043
0.843868
0.415036
0
0
0
0
0.007687
0
0
0
0
0
0
1
0.142857
false
0
0.085714
0
0.371429
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34a82741807c790a71d945cf37f449008072a15
4,963
py
Python
main.py
Nircek/telnet-communicator-server
24abe728879225e4a1fa75ef17056f9de38088fb
[ "MIT" ]
null
null
null
main.py
Nircek/telnet-communicator-server
24abe728879225e4a1fa75ef17056f9de38088fb
[ "MIT" ]
6
2019-04-22T14:08:04.000Z
2019-06-28T09:10:44.000Z
main.py
Nircek/telnet-communicator-server
24abe728879225e4a1fa75ef17056f9de38088fb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # MIT License # Copyright (c) 2019 Nircek # 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 use, copy...
32.437908
85
0.574048
613
4,963
4.579119
0.319739
0.053438
0.011756
0.016031
0.124332
0.069825
0.03705
0.03705
0.03705
0.03705
0
0.007173
0.325811
4,963
152
86
32.651316
0.831739
0.222849
0
0.382114
0
0
0.027372
0
0
0
0.002086
0
0
1
0.121951
false
0.03252
0.02439
0
0.170732
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34b3398d34130125064588eeea3a67c4b10f9ab
1,082
py
Python
apps/accounts/events.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
206
2015-10-15T07:05:08.000Z
2021-02-19T11:48:36.000Z
apps/accounts/events.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
8
2017-10-16T10:18:31.000Z
2022-03-09T14:24:27.000Z
apps/accounts/events.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
61
2015-10-15T08:12:44.000Z
2022-03-10T12:25:06.000Z
# Python Standard Library Imports # Third Party (PyPI) Imports import rollbar # HTK Imports from htk.utils import htk_setting from htk.utils.notifications import slack_notify def failed_recaptcha_on_login(user, request=None): extra_data = { 'user' : { 'id': user.id, 'username': u...
24.590909
75
0.651571
118
1,082
5.754237
0.347458
0.088365
0.035346
0.05891
0.276878
0.276878
0.276878
0.132548
0
0
0
0
0.254159
1,082
43
76
25.162791
0.841388
0.064695
0
0.137931
0
0
0.212302
0.061508
0
0
0
0
0
1
0.068966
false
0
0.103448
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34bbec477f64d7fdcbedf6ba00cc7919b8e38eb
2,348
py
Python
test/test_buttons.py
vallemrv/kivy-component
e6db451c329f8b17a7fee8dee42e2968df116ce5
[ "Apache-2.0" ]
2
2017-07-15T18:43:05.000Z
2019-07-02T07:33:24.000Z
test/test_buttons.py
vallemrv/kivy-component
e6db451c329f8b17a7fee8dee42e2968df116ce5
[ "Apache-2.0" ]
null
null
null
test/test_buttons.py
vallemrv/kivy-component
e6db451c329f8b17a7fee8dee42e2968df116ce5
[ "Apache-2.0" ]
null
null
null
# @Author: Manuel Rodriguez <valle> # @Date: 2019-05-05T20:01:27+02:00 # @Email: valle.mrv@gmail.com # @Last modified by: valle # @Last modified time: 2019-05-09T01:17:25+02:00 # @License: Apache License v2.0 import os import sys sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) fr...
24.458333
79
0.589438
278
2,348
4.83813
0.44964
0.035688
0.020074
0.022305
0.148699
0.083271
0.083271
0.083271
0.083271
0.083271
0
0.05
0.301533
2,348
95
80
24.715789
0.770122
0.085605
0
0.125
0
0
0.707477
0.010748
0
0
0
0
0
1
0.027778
false
0.013889
0.152778
0.013889
0.222222
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
f34bef219deb20fe6f67ee4c3842b697e7cda3a6
501
py
Python
Exercícios/ex042.py
JefterV/Cursoemvideo.py
e65ac53a4e38793be3039d360e7127e1c5d51030
[ "MIT" ]
3
2020-11-24T17:20:34.000Z
2020-12-03T01:19:31.000Z
Exercícios/ex042.py
JefterV/Cursoemvideo.py
e65ac53a4e38793be3039d360e7127e1c5d51030
[ "MIT" ]
null
null
null
Exercícios/ex042.py
JefterV/Cursoemvideo.py
e65ac53a4e38793be3039d360e7127e1c5d51030
[ "MIT" ]
1
2021-01-03T00:48:48.000Z
2021-01-03T00:48:48.000Z
import playsound r1 = int(input('Segmento um: ')) r2 = int(input('Segmento dois: ')) r3 = int(input('Segmento três: ')) if r1 < r2 + r3 and r2 < r1 + r3 and r3 < r1 + r2: print('Os segmentos acima, PODEM formar um triangulo', end=' ') if r1 == r2 and r2 == r3: playsound.playsound('rllx.mp3', tr) ...
33.4
67
0.59481
71
501
4.197183
0.422535
0.053691
0.161074
0.14094
0
0
0
0
0
0
0
0.056
0.251497
501
15
68
33.4
0.738667
0
0
0.133333
0
0
0.340637
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34c12ad843b85b4615c748246bcb5d45ef5266f
9,584
py
Python
data_extraction/updatedb.py
amajee11us/driving-data-collection-reference-kit
92eb839e55c0f0c65992b62aa71c3f63ecad4925
[ "BSD-3-Clause" ]
10
2019-12-04T06:30:03.000Z
2022-01-04T23:09:14.000Z
data_extraction/updatedb.py
amajee11us/driving-data-collection-reference-kit
92eb839e55c0f0c65992b62aa71c3f63ecad4925
[ "BSD-3-Clause" ]
6
2019-01-24T05:39:52.000Z
2021-03-16T05:25:00.000Z
data_extraction/updatedb.py
amajee11us/driving-data-collection-reference-kit
92eb839e55c0f0c65992b62aa71c3f63ecad4925
[ "BSD-3-Clause" ]
8
2019-02-11T03:11:56.000Z
2021-08-18T08:00:51.000Z
#!/usr/bin/env python ''' Updates db will all info.json files found in the provided dir path. This is gnerally used to update db periodically from all info.json files available in dataset Params: dataset_path - dir containing rosbag file to search for corresponding info.json files Copyright (C) 2019 Intel Corpor...
36.030075
135
0.632095
1,144
9,584
5.216783
0.229895
0.022788
0.017426
0.022118
0.443029
0.421079
0.414879
0.414879
0.414879
0.400134
0
0.011809
0.257826
9,584
266
136
36.030075
0.827218
0.156928
0
0.52356
0
0
0.175132
0.002843
0
0
0
0.007519
0
1
0.026178
false
0
0.062827
0
0.104712
0.052356
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34e8ae9da4353d89753677155c3922a13e63d3a
336
py
Python
TPs/TP7/compute_pi.py
Aympab/BigDataHadoopSparkDaskCourse
42f9e0475cbd7c5db240ccc6dc00c19b9006012a
[ "Apache-2.0" ]
null
null
null
TPs/TP7/compute_pi.py
Aympab/BigDataHadoopSparkDaskCourse
42f9e0475cbd7c5db240ccc6dc00c19b9006012a
[ "Apache-2.0" ]
null
null
null
TPs/TP7/compute_pi.py
Aympab/BigDataHadoopSparkDaskCourse
42f9e0475cbd7c5db240ccc6dc00c19b9006012a
[ "Apache-2.0" ]
1
2022-01-31T17:14:27.000Z
2022-01-31T17:14:27.000Z
import findspark findspark.init() import pyspark import random sc = pyspark.SparkContext(appName="Pi") num_samples = 100000000 def inside(p): x, y = random.random(), random.random() return x*x + y*y < 1 count = sc.parallelize(range(0, num_samples)).filter(inside).count() pi = 4 * count / num_samples print...
16.8
68
0.696429
50
336
4.62
0.54
0.12987
0.155844
0
0
0
0
0
0
0
0
0.042553
0.160714
336
19
69
17.684211
0.776596
0
0
0
0
0
0.005952
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34f25a84c269a3d04e4b16d8fc56c5a7bc7f675
4,296
py
Python
utils.py
bmack/example-repository-offline
2cf9c2c26ef35b60d669d863b8346b8b6213f584
[ "MIT" ]
null
null
null
utils.py
bmack/example-repository-offline
2cf9c2c26ef35b60d669d863b8346b8b6213f584
[ "MIT" ]
null
null
null
utils.py
bmack/example-repository-offline
2cf9c2c26ef35b60d669d863b8346b8b6213f584
[ "MIT" ]
null
null
null
# common utilities for other scripts from tuf import repository_tool as rt import os import shutil # shorthand to create keypairs def write_and_import_keypair(keystorefolder, filename): pathpriv = keystorefolder + '/{}_key'.format(filename) pathpub = '{}.pub'.format(pathpriv) rt.generate_and_write_ed2551...
47.208791
107
0.79027
527
4,296
6.119545
0.212524
0.055814
0.044651
0.059535
0.662016
0.631938
0.584806
0.584806
0.47938
0.457674
0
0.006621
0.121043
4,296
90
108
47.733333
0.847458
0.166899
0
0.451613
0
0
0.046029
0
0
0
0
0
0
1
0.112903
false
0.048387
0.193548
0
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f34f27483532b5547cd067bf3e35e862903166e7
10,223
py
Python
Python/met_brewer/palettes.py
dataspider/MetBrewer
723d2ed43d0be7f1fde39527be300cc50865020e
[ "CC0-1.0" ]
null
null
null
Python/met_brewer/palettes.py
dataspider/MetBrewer
723d2ed43d0be7f1fde39527be300cc50865020e
[ "CC0-1.0" ]
null
null
null
Python/met_brewer/palettes.py
dataspider/MetBrewer
723d2ed43d0be7f1fde39527be300cc50865020e
[ "CC0-1.0" ]
null
null
null
from colour import Color from matplotlib.colors import LinearSegmentedColormap, to_hex MET_PALETTES = dict( Austria=dict(colors=("#a40000", "#16317d", "#007e2f", "#ffcd12", "#b86092", "#721b3e", "#00b7a7"), order=(1, 2, 3, 4, 6, 5, 7), colorblind=False), Cassatt1=dict(colors=("#b1615c", "#d88782", "#e3aba7", "...
76.291045
252
0.577913
1,348
10,223
4.353116
0.378338
0.085208
0.02454
0.00818
0.108725
0.068678
0.063565
0.061691
0.048739
0.039877
0
0.218117
0.155532
10,223
133
253
76.864662
0.461601
0
0
0.153846
0
0
0.297662
0
0
0
0
0
0
1
0.019231
false
0
0.028846
0
0.067308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
f34f5a1bf3d1e8af420a24b49d952e59caad3230
1,186
py
Python
utils/util.py
xzhang2016/tfagent
433df751f0c5cbe3d730d8e912a05a2430dd165b
[ "BSD-2-Clause" ]
null
null
null
utils/util.py
xzhang2016/tfagent
433df751f0c5cbe3d730d8e912a05a2430dd165b
[ "BSD-2-Clause" ]
1
2020-06-11T17:03:22.000Z
2020-06-11T17:03:22.000Z
utils/util.py
xzhang2016/tfagent
433df751f0c5cbe3d730d8e912a05a2430dd165b
[ "BSD-2-Clause" ]
3
2017-04-19T15:38:31.000Z
2019-05-07T21:18:52.000Z
import urllib.request import os def merge_dict_sum(dict1, dict2): """ Merge two dictionaries and add values of common keys. Values of the input dicts can be any addable objects, like numeric, str, list. """ dict3 = {**dict1, **dict2} for key, value in dict3.items(): if key in dict1 and ...
26.355556
82
0.598651
163
1,186
4.282209
0.460123
0.057307
0.034384
0.051576
0.386819
0.386819
0.292264
0.292264
0.292264
0.292264
0
0.02657
0.301855
1,186
44
83
26.954545
0.816425
0.231872
0
0.296296
0
0
0.002326
0
0
0
0
0
0
1
0.148148
false
0
0.074074
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f350076941ab65f9dd7c2c16db5664edfd92e574
1,096
py
Python
qnn/input/havlicek_data_handler.py
bjader/quantum-neural-network
3f23e14fac8700d3f48593f0727c6da59af5f77f
[ "MIT" ]
9
2021-06-08T14:02:38.000Z
2022-03-08T10:14:22.000Z
qnn/input/havlicek_data_handler.py
bjader/quantum-neural-network
3f23e14fac8700d3f48593f0727c6da59af5f77f
[ "MIT" ]
null
null
null
qnn/input/havlicek_data_handler.py
bjader/quantum-neural-network
3f23e14fac8700d3f48593f0727c6da59af5f77f
[ "MIT" ]
1
2021-06-12T16:28:53.000Z
2021-06-12T16:28:53.000Z
import numpy as np from qiskit import QuantumRegister, QuantumCircuit from qiskit.circuit import Parameter from input.data_handler import DataHandler class HavlicekDataHandler(DataHandler): """ Data encoding based on Havlicek et al. Nature 567, pp209–212 (2019). For quantum circuit diagram see Fig. 4 in ...
29.621622
114
0.611314
149
1,096
4.328859
0.42953
0.046512
0.04031
0.049612
0
0
0
0
0
0
0
0.034308
0.281934
1,096
36
115
30.444444
0.78399
0.116788
0
0
0
0
0.007384
0
0
0
0
0
0
1
0.086957
false
0
0.173913
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f350d58a0b541e697505f5ba96c2ceb95944d171
1,951
py
Python
prep_cars_data.py
ppik/loxodon
c9d3148ec70f281ba28b3b39e1d843db2fd9a3ac
[ "MIT" ]
null
null
null
prep_cars_data.py
ppik/loxodon
c9d3148ec70f281ba28b3b39e1d843db2fd9a3ac
[ "MIT" ]
1
2018-01-18T09:04:47.000Z
2018-01-18T14:29:13.000Z
prep_cars_data.py
ppik/loxodon
c9d3148ec70f281ba28b3b39e1d843db2fd9a3ac
[ "MIT" ]
1
2018-01-17T14:14:52.000Z
2018-01-17T14:14:52.000Z
#!/usr/bin/env python import os from os.path import basename, dirname, exists from glob import glob from random import seed, sample from math import ceil import shutil from scipy.io import loadmat DATA_PATH = 'data/' VALID_RATIO = 0.2 seed(20171111) info = loadmat(DATA_PATH + 'cars_annos.mat') class_names = [] fo...
24.08642
129
0.650436
280
1,951
4.435714
0.375
0.070853
0.041868
0.041063
0.175523
0.143317
0.10628
0.10628
0.10628
0.10628
0
0.017869
0.196822
1,951
80
130
24.3875
0.774729
0.087135
0
0.085106
0
0
0.122599
0
0
0
0
0
0
1
0
false
0
0.170213
0
0.170213
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3510b1c13e2b0996f72d7df7b7e4d5ce6187252
4,318
py
Python
LAB04/02-CloudAlbum-Chalice/cloudalbum/tests/test_photos.py
liks79/moving-to-serverless-renew
2f173071ab387654d4cc851a0b39130613906378
[ "MIT" ]
6
2019-08-21T04:13:34.000Z
2019-10-29T07:15:39.000Z
LAB04/02-CloudAlbum-Chalice/cloudalbum/tests/test_photos.py
liks79/moving-to-serverless-renew
2f173071ab387654d4cc851a0b39130613906378
[ "MIT" ]
89
2019-07-31T02:29:54.000Z
2022-03-12T01:03:22.000Z
LAB04/02-CloudAlbum-Chalice/cloudalbum/tests/test_photos.py
michaelrishiforrester/moving-to-serverless-renew
27cbcbde9db3d2bc66212fe4f768563d25f64c19
[ "MIT" ]
4
2019-08-02T03:00:35.000Z
2020-02-26T18:44:03.000Z
""" cloudalbum/tests/test_photos.py ~~~~~~~~~~~~~~~~~~~~~~~ Test cases for photos REST API :description: CloudAlbum is a fully featured sample application for 'Moving to AWS serverless' training course :copyright: © 2019 written by Dayoungle Jun, Sungshik Jou. :license: MIT, see LICENSE for mor...
37.224138
114
0.630153
487
4,318
5.457906
0.386037
0.028969
0.03386
0.042889
0.394658
0.364184
0.349887
0.34462
0.318284
0.318284
0
0.03567
0.246874
4,318
115
115
37.547826
0.781365
0.117184
0
0.375
0
0
0.158595
0
0
0
0
0
0.045455
1
0.068182
false
0.011364
0.125
0
0.204545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f352ff7f4b31c7040c5ea7317ed22c6aa5e813c5
932
py
Python
wav_to_mp3_to_wav/post_mp3_information_retrieval.py
LiquidFun/stegowav
89ef0b40c52c834febffeeefba30eccbb0862e29
[ "Apache-2.0" ]
null
null
null
wav_to_mp3_to_wav/post_mp3_information_retrieval.py
LiquidFun/stegowav
89ef0b40c52c834febffeeefba30eccbb0862e29
[ "Apache-2.0" ]
null
null
null
wav_to_mp3_to_wav/post_mp3_information_retrieval.py
LiquidFun/stegowav
89ef0b40c52c834febffeeefba30eccbb0862e29
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from tempfile import TemporaryDirectory from wav_steganography.wav_file import WAVFile from wav_to_mp3_to_wav.analyze_flipped_bits import find_matching_audio_file, convert_to_file_format_and_back def compare_headers(file_path): with TemporaryDirectory() as tmp_dir: wav_file = WAV...
33.285714
108
0.748927
127
932
5.070866
0.448819
0.062112
0.069876
0.065217
0.080745
0.080745
0
0
0
0
0
0.010165
0.155579
932
27
109
34.518519
0.808132
0
0
0
0
0
0.135193
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f353b7a18dac9fe20b5fa12a9cc76abc354a1603
4,896
py
Python
Tp2/ej3/FBorrosificador.py
luisemacsel/IA2
b99e19df3cd689d1c6cb42cd83cd71d6302e89eb
[ "MIT" ]
null
null
null
Tp2/ej3/FBorrosificador.py
luisemacsel/IA2
b99e19df3cd689d1c6cb42cd83cd71d6302e89eb
[ "MIT" ]
null
null
null
Tp2/ej3/FBorrosificador.py
luisemacsel/IA2
b99e19df3cd689d1c6cb42cd83cd71d6302e89eb
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np """ La funcion se encarga de buscar el valor de fuerza que le corresponde para ese valor f en el rango elegido Buscavalor(max,rango,funcion): max:valor obtenido de la funcion figual rango: rango de la funcion de f de la FAM funcion: es la funcion da...
26.181818
110
0.612337
764
4,896
3.924084
0.234293
0.036024
0.033022
0.024016
0.156104
0.099066
0.093062
0.03936
0.023349
0.023349
0
0.065535
0.217729
4,896
186
111
26.322581
0.717232
0.122345
0
0.280992
0
0
0.002587
0
0
0
0
0
0
1
0.07438
false
0
0.016529
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f353cc9934915d2b7584b135ed41a08d4e931189
2,883
py
Python
impl/dlsgs/transformer/derived.py
ju-kreber/Transformers-and-GANs-for-LTL-sat
45fe14815562dd3e0d3705573ce9358bfbdc22b3
[ "MIT" ]
null
null
null
impl/dlsgs/transformer/derived.py
ju-kreber/Transformers-and-GANs-for-LTL-sat
45fe14815562dd3e0d3705573ce9358bfbdc22b3
[ "MIT" ]
null
null
null
impl/dlsgs/transformer/derived.py
ju-kreber/Transformers-and-GANs-for-LTL-sat
45fe14815562dd3e0d3705573ce9358bfbdc22b3
[ "MIT" ]
null
null
null
# implementation based on DeepLTL https://github.com/reactive-systems/deepltl import tensorflow as tf import dlsgs.transformer.positional_encoding as pe from dlsgs.transformer.base import Transformer, TransformerEncoder from dlsgs.transformer.common import create_padding_mask class EncoderOnlyTransformer(Transform...
44.353846
140
0.680194
327
2,883
5.743119
0.293578
0.095847
0.027689
0.031949
0.184771
0.138445
0.082002
0.044728
0.044728
0
0
0.00352
0.211585
2,883
64
141
45.046875
0.822701
0.109261
0
0
0
0
0.11222
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.022727
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f353dbb565c4d499694168557296ed62d9913084
1,687
py
Python
artifact/gpufwd_image/to_copy/empirical_testing/src/configuration.py
tyler-utah/AlloyForwardProgress
d9c779129f5ff9f678b31d9b7ccb29c184ddb097
[ "BSD-2-Clause" ]
null
null
null
artifact/gpufwd_image/to_copy/empirical_testing/src/configuration.py
tyler-utah/AlloyForwardProgress
d9c779129f5ff9f678b31d9b7ccb29c184ddb097
[ "BSD-2-Clause" ]
null
null
null
artifact/gpufwd_image/to_copy/empirical_testing/src/configuration.py
tyler-utah/AlloyForwardProgress
d9c779129f5ff9f678b31d9b7ccb29c184ddb097
[ "BSD-2-Clause" ]
2
2020-05-02T00:28:27.000Z
2020-05-12T20:36:49.000Z
# ----------------------------------------------------------------------- # configuration.py # Author: Hari Raval # ----------------------------------------------------------------------- # a Configuration object represents the parameters and settings used to generate an Amber test class Configuration(object): #...
41.146341
116
0.662715
202
1,687
5.351485
0.306931
0.064755
0.123034
0.081406
0.149861
0.061055
0.061055
0
0
0
0
0.006006
0.210433
1,687
40
117
42.175
0.805556
0.531713
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0
0.294118
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f3547c44193674d72118e17e37edb9312430ced7
305
py
Python
UE4Parse/IoObjects/FNameEntryId.py
zbx911/pyUE4Parse
eb30d27a4341ad68a7104458a0fdfae6a360d153
[ "MIT" ]
13
2021-06-09T09:21:00.000Z
2022-03-30T22:13:24.000Z
UE4Parse/IoObjects/FNameEntryId.py
zbx911/pyUE4Parse
eb30d27a4341ad68a7104458a0fdfae6a360d153
[ "MIT" ]
3
2021-09-04T22:23:02.000Z
2022-03-04T09:45:45.000Z
UE4Parse/IoObjects/FNameEntryId.py
zbx911/pyUE4Parse
eb30d27a4341ad68a7104458a0fdfae6a360d153
[ "MIT" ]
6
2021-09-02T10:28:21.000Z
2022-03-30T22:13:37.000Z
from typing import Union from UE4Parse.BinaryReader import BinaryStream class FNameEntryId: Value: int def __init__(self, reader: Union[BinaryStream, int]): if isinstance(reader, BinaryStream): self.Value = reader.readUInt32() else: self.Value = reader
21.785714
57
0.665574
32
305
6.21875
0.59375
0.090452
0.150754
0
0
0
0
0
0
0
0
0.013274
0.259016
305
13
58
23.461538
0.867257
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
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
f354fb51e5ec1448b0f4a58e8768e000570fc5fa
696
py
Python
setup.py
Niger-Volta-LTI/iranlowo
0046b61105ffadfff21dd8b37754b9d95177fbf8
[ "MIT" ]
17
2019-07-05T20:30:35.000Z
2022-02-28T10:00:24.000Z
setup.py
Olamyy/iranlowo
1feb123988a8afac3ac53c7acfb72df862c4bc18
[ "MIT" ]
17
2019-07-06T09:10:10.000Z
2020-11-13T08:30:37.000Z
setup.py
ruohoruotsi/iranlowo
0046b61105ffadfff21dd8b37754b9d95177fbf8
[ "MIT" ]
7
2019-07-01T01:59:07.000Z
2020-11-27T17:12:46.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ url: https://github.com/Niger-Volta-LTI download_url: archive/v{version}.tar.gz package_data={'iranlowo': ['models/yo_adr_bahdanau_lstm_128_1_1_step_100000_release.pt']} versioning="distance", # we start from 0.0.0 using v{major}.{minor}.0 """ from setuptools impo...
24.857143
89
0.704023
99
696
4.777778
0.727273
0.012685
0.084567
0
0
0
0
0
0
0
0
0.033333
0.137931
696
27
90
25.777778
0.755
0.408046
0
0
0
0
0.320896
0.054726
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f357486dc273f59930f7e3c9ba8e47b6209add12
1,574
py
Python
pyDipole/particles.py
rakab/pyDipole
2793db6db951e9e5e79e064430a0faf6636d3a2a
[ "BSD-3-Clause" ]
null
null
null
pyDipole/particles.py
rakab/pyDipole
2793db6db951e9e5e79e064430a0faf6636d3a2a
[ "BSD-3-Clause" ]
null
null
null
pyDipole/particles.py
rakab/pyDipole
2793db6db951e9e5e79e064430a0faf6636d3a2a
[ "BSD-3-Clause" ]
null
null
null
__all__ = [ 'Particle', 'particles', ] """ Style: name: [mass(string),isQCD(bool)] """ particle_table = { 'u' : ['0' , True], 'ubar' : ['0' , True], 't' : ['mt', True], 'tbar' : ['mt', True], 'e' : ['0' , False], 'ebar' : ['0' , False], ...
24.984127
85
0.527954
180
1,574
4.372222
0.361111
0.060991
0.045743
0.025413
0.143583
0.121982
0.121982
0.121982
0.121982
0
0
0.011483
0.336086
1,574
62
86
25.387097
0.741627
0
0
0.081633
0
0
0.109365
0
0
0
0
0
0
1
0.122449
false
0
0
0.040816
0.204082
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f357722e828fbb3e6184da8f11524b64bb6365ce
578
py
Python
rastervision/data/label_store/label_store.py
aaron8tang/raster-vision
a1af78bafb8f19ccc40c476adb551bdc23a33611
[ "Apache-2.0" ]
2
2019-04-17T13:04:23.000Z
2020-10-04T10:28:27.000Z
rastervision/data/label_store/label_store.py
aaron8tang/raster-vision
a1af78bafb8f19ccc40c476adb551bdc23a33611
[ "Apache-2.0" ]
null
null
null
rastervision/data/label_store/label_store.py
aaron8tang/raster-vision
a1af78bafb8f19ccc40c476adb551bdc23a33611
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod class LabelStore(ABC): """This defines how to store prediction labels are stored for a scene. """ @abstractmethod def save(self, labels): """Save. Args: labels - Labels to be saved, the type of which will be dependant on the type ...
21.407407
87
0.576125
67
578
4.940299
0.58209
0.154079
0.054381
0
0
0
0
0
0
0
0
0
0.34083
578
26
88
22.230769
0.868766
0.427336
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
f359c6c0485b2afb42cd60a1563a6e6b2a3277bc
677
py
Python
shadow.py
luctalatinian/pygame_stealth
9d7db47ed23621aa038f7c5e06dcab0c6b33de66
[ "MIT" ]
null
null
null
shadow.py
luctalatinian/pygame_stealth
9d7db47ed23621aa038f7c5e06dcab0c6b33de66
[ "MIT" ]
null
null
null
shadow.py
luctalatinian/pygame_stealth
9d7db47ed23621aa038f7c5e06dcab0c6b33de66
[ "MIT" ]
1
2018-07-09T20:56:10.000Z
2018-07-09T20:56:10.000Z
import pygame class Shadow: # shadow color COLOR = (32, 32, 32, 192) # unit size in pixels of a shadow # length/width multiples are passed to the constructor # to determine individual shadow size U = 32 def __init__(self, posX, posY, width, length): self.posX = pos...
28.208333
63
0.5613
84
677
4.47619
0.416667
0.06383
0.06383
0
0
0
0
0
0
0
0
0.029279
0.344165
677
23
64
29.434783
0.817568
0.196455
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f35ad558fbc65dfdc480de2f3a5e28959ccae809
533
py
Python
backend/src/util/daos.py
JulianFrattini/todo-list-python
819e8856b2a8af28b8ffaeb20c024e9704fc635f
[ "Apache-2.0" ]
null
null
null
backend/src/util/daos.py
JulianFrattini/todo-list-python
819e8856b2a8af28b8ffaeb20c024e9704fc635f
[ "Apache-2.0" ]
null
null
null
backend/src/util/daos.py
JulianFrattini/todo-list-python
819e8856b2a8af28b8ffaeb20c024e9704fc635f
[ "Apache-2.0" ]
null
null
null
from src.util.dao import DAO daos = {} def getDao(collection_name: str): """Obtain a data access object of a collection. The purpose of the realization using the singleton pattern is to avoid multiple data access objects for the same collection parameters: collection_name -- the name of the collec...
33.3125
113
0.718574
73
533
5.150685
0.520548
0.260638
0.095745
0
0
0
0
0
0
0
0
0
0.223265
533
16
114
33.3125
0.908213
0.536585
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
f35b316b80ee742d895d827ad178ce7c0ac0048e
2,125
py
Python
tinkertest/utils.py
bnmnetp/tinkerer
46e805e20090a166f5ef83e287dc88561c9c41dc
[ "BSD-2-Clause" ]
1
2020-09-15T14:51:59.000Z
2020-09-15T14:51:59.000Z
tinkertest/utils.py
mkouhei/tinkerer
71190b83233342c0a9831b0e4e7547ea3eace03a
[ "BSD-2-Clause" ]
null
null
null
tinkertest/utils.py
mkouhei/tinkerer
71190b83233342c0a9831b0e4e7547ea3eace03a
[ "BSD-2-Clause" ]
null
null
null
''' Test utilities ~~~~~~~~~~~~~~ Base test case class inherited by all test cases. Utility functions. :copyright: Copyright 2011-2018 by Vlad Riscutia and contributors (see CONTRIBUTORS file) :license: FreeBSD, see LICENSE file ''' import os import shutil import sys from sphinx.cmd.build impo...
23.876404
76
0.689412
292
2,125
4.90411
0.417808
0.050279
0.018156
0.02095
0.054469
0
0
0
0
0
0
0.005332
0.205647
2,125
88
77
24.147727
0.843009
0.351059
0
0
0
0
0.030008
0
0
0
0
0
0
1
0.205128
false
0
0.179487
0.025641
0.435897
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f35e15c3e1fa141fb8e013a3abdcb344ad2f4a23
4,122
py
Python
server/views_profile.py
sampsontan/virtual-clinic
5d8cbb199fb7ff1658c8d1245d8756da7d4e2d34
[ "MIT" ]
50
2019-02-04T12:33:49.000Z
2022-03-14T04:56:20.000Z
server/views_profile.py
sampsontan/virtual-clinic
5d8cbb199fb7ff1658c8d1245d8756da7d4e2d34
[ "MIT" ]
7
2020-12-01T03:07:37.000Z
2021-02-24T07:56:17.000Z
server/views_profile.py
sampsontan/virtual-clinic
5d8cbb199fb7ff1658c8d1245d8756da7d4e2d34
[ "MIT" ]
27
2018-04-04T03:16:00.000Z
2022-03-30T11:08:35.000Z
from django.shortcuts import render from django.contrib.auth import authenticate from server.forms import PasswordForm, ProfileForm from server.models import Action, Account, Message from server import appointment from server import views from server import logger from server import message def profile_view(request)...
49.071429
121
0.715429
469
4,122
6.115139
0.230277
0.09205
0.043933
0.052301
0.541144
0.425384
0.353905
0.316597
0.293584
0.230474
0
0
0.194566
4,122
84
122
49.071429
0.863855
0.086851
0
0.367647
0
0
0.13806
0.025053
0
0
0
0
0
1
0.044118
false
0.176471
0.117647
0
0.220588
0
0
0
0
null
0
0
0
0
0
0
0
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
f35e505927276af6aead2233d5ffc470b867a7a9
9,500
py
Python
ixia_orch/setup/__main__.py
QualiSystemsLab/TechRepo
5abb0769ad0299ed6bad5d40b0b98c8179eaa030
[ "Apache-2.0" ]
null
null
null
ixia_orch/setup/__main__.py
QualiSystemsLab/TechRepo
5abb0769ad0299ed6bad5d40b0b98c8179eaa030
[ "Apache-2.0" ]
null
null
null
ixia_orch/setup/__main__.py
QualiSystemsLab/TechRepo
5abb0769ad0299ed6bad5d40b0b98c8179eaa030
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import cloudshell.helpers.scripts.cloudshell_dev_helpers as dev_helpers from cloudshell.api.cloudshell_api import InputNameValue from cloudshell.workflow.orchestration.sandbox import Sandbox from cloudshell.workflow.orchestration.setup.default_setup_orchestrator import...
51.075269
187
0.669368
968
9,500
6.359504
0.213843
0.055231
0.064977
0.038012
0.491391
0.416017
0.376218
0.32976
0.296134
0.265432
0
0.004206
0.249158
9,500
185
188
51.351351
0.858825
0.245789
0
0.14433
0
0
0.143425
0.020321
0
0
0
0
0
1
0.041237
false
0.030928
0.051546
0
0.092784
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f35f42825e9ec49afa9f00f36718a54a1f778562
2,470
py
Python
src/sparkmon/mlflow_utils.py
stephanecollot/sparkmon
ca7aee915e0f1db2fb82d41e08a0a2d782236e23
[ "MIT" ]
11
2021-07-05T12:57:54.000Z
2022-01-30T05:25:27.000Z
src/sparkmon/mlflow_utils.py
stephanecollot/sparkmon
ca7aee915e0f1db2fb82d41e08a0a2d782236e23
[ "MIT" ]
83
2021-07-12T22:14:16.000Z
2022-03-28T22:33:13.000Z
src/sparkmon/mlflow_utils.py
stephanecollot/sparkmon
ca7aee915e0f1db2fb82d41e08a0a2d782236e23
[ "MIT" ]
2
2021-07-13T09:44:39.000Z
2021-12-01T11:12:37.000Z
# Copyright (c) 2021 ING Wholesale Banking Advanced Analytics # # 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 # use, copy, mo...
38.59375
101
0.748583
363
2,470
4.988981
0.460055
0.048592
0.044174
0.022087
0
0
0
0
0
0
0
0.002494
0.188259
2,470
63
102
39.206349
0.900748
0.61417
0
0.076923
0
0
0.001103
0
0
0
0
0
0
1
0.076923
false
0
0.192308
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f35faf6124800bbcd57e33c69660b190bc9d8905
1,854
py
Python
service/microservice.py
SFDigitalServices/bluebeam-microservice
bb529f291b3399e29b71dd754e77c73f759c7762
[ "MIT" ]
1
2020-05-28T17:38:12.000Z
2020-05-28T17:38:12.000Z
service/microservice.py
SFDigitalServices/bluebeam-microservice
bb529f291b3399e29b71dd754e77c73f759c7762
[ "MIT" ]
3
2021-02-10T02:34:39.000Z
2022-01-07T23:28:51.000Z
service/microservice.py
SFDigitalServices/bluebeam-microservice
bb529f291b3399e29b71dd754e77c73f759c7762
[ "MIT" ]
null
null
null
"""Main application module""" import os import json import jsend import sentry_sdk import falcon from .resources.db import create_session from .resources.welcome import Welcome from .resources.submission import Submission from .resources.export import Export, ExportStatus from .resources.login import Login def start_s...
33.107143
77
0.69849
229
1,854
5.519651
0.388646
0.033228
0.043513
0.026899
0.039557
0
0
0
0
0
0
0.003958
0.182309
1,854
55
78
33.709091
0.829815
0.226537
0
0
0
0
0.077536
0
0
0
0
0
0
1
0.147059
false
0
0.294118
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f35fc9e10ba11e3ac0a41499770d8ee424ef0361
1,458
py
Python
apps/accounts/serializers/user_serializer.py
vicobits/django-wise
3fdc01eabdff459b31e016f9f6d1cafc19c5a292
[ "MIT" ]
5
2020-04-11T20:11:48.000Z
2021-03-16T23:58:01.000Z
apps/accounts/serializers/user_serializer.py
victoraguilarc/django-wise
3fdc01eabdff459b31e016f9f6d1cafc19c5a292
[ "MIT" ]
5
2020-04-11T20:17:56.000Z
2021-06-16T19:18:29.000Z
apps/accounts/serializers/user_serializer.py
victoraguilarc/django-wise
3fdc01eabdff459b31e016f9f6d1cafc19c5a292
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from rest_framework import serializers from apps.accounts.models import User from apps.accounts.api.error_codes import AccountsErrorCodes from apps.contrib.api.exceptions.base import SerializerFieldExceptionMixin PASSWORD_MAX_LENGTH = User._meta.get_field('password').max_length # noqa: WPS43...
26.509091
87
0.650892
154
1,458
5.941558
0.545455
0.02623
0.034973
0
0
0
0
0
0
0
0
0.006261
0.233196
1,458
54
88
27
0.812165
0.066529
0
0.146341
0
0
0.132299
0
0
0
0
0
0
1
0.04878
false
0.04878
0.097561
0
0.243902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f361061823963f88458df17e30230bb3e0fa2a85
3,013
py
Python
biodata/api/views/other.py
znatty22/biodataservice
a3eeb137d2e727a0fc58437b185f2637bc4665ed
[ "Apache-2.0" ]
null
null
null
biodata/api/views/other.py
znatty22/biodataservice
a3eeb137d2e727a0fc58437b185f2637bc4665ed
[ "Apache-2.0" ]
null
null
null
biodata/api/views/other.py
znatty22/biodataservice
a3eeb137d2e727a0fc58437b185f2637bc4665ed
[ "Apache-2.0" ]
null
null
null
""" Views for endpoints that are not part of the biodata CRUD API """ from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from django.conf import settings from django.db import models import django_rq from rq.job import Job, NoSuchJobError, JobSt...
26.901786
76
0.593097
368
3,013
4.6875
0.345109
0.052754
0.026087
0.038261
0
0
0
0
0
0
0
0.004833
0.313309
3,013
111
77
27.144144
0.828903
0.109525
0
0.12987
0
0
0.150915
0.008384
0
0
0
0
0
1
0.064935
false
0
0.116883
0.012987
0.285714
0.038961
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f36270ffc910141d9277e13fd2f64f8e20587210
1,100
py
Python
test_clock.py
keldwud/ball-clock
1f360328fbd5fb10e902fbe7d5cc9739e0f48f83
[ "MIT" ]
1
2018-12-12T16:49:42.000Z
2018-12-12T16:49:42.000Z
test_clock.py
keldwud/ball-clock
1f360328fbd5fb10e902fbe7d5cc9739e0f48f83
[ "MIT" ]
null
null
null
test_clock.py
keldwud/ball-clock
1f360328fbd5fb10e902fbe7d5cc9739e0f48f83
[ "MIT" ]
1
2021-05-28T21:59:42.000Z
2021-05-28T21:59:42.000Z
#!/usr/bin/env python import unittest from clock import how_many_balls from clock import minute_balls from clock import five_minute_balls from clock import hour_balls from clock import run_ball_queue class BallsTestCase(unittest.TestCase): """Tests for `ball-clock.py`.""" def test_how_many_balls_min_balls(self):...
24.444444
79
0.722727
158
1,100
4.746835
0.335443
0.117333
0.1
0.106667
0.245333
0
0
0
0
0
0
0.012009
0.167273
1,100
44
80
25
0.806769
0.267273
0
0
0
0
0.01043
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f3632472aa4ff867ac9b5926766ce574661402f2
220
py
Python
RoboChrome.roboFontExt/lib/_doc.py
roboDocs/RoboChrome
8891f7115e16c54cdb2b1452f02731b294b47ff2
[ "MIT" ]
12
2018-04-26T03:58:35.000Z
2021-07-05T17:13:55.000Z
RoboChrome.roboFontExt/lib/_doc.py
roboDocs/RoboChrome
8891f7115e16c54cdb2b1452f02731b294b47ff2
[ "MIT" ]
4
2019-08-21T14:35:36.000Z
2020-04-14T19:25:08.000Z
RoboChrome.roboFontExt/lib/_doc.py
roboDocs/RoboChrome
8891f7115e16c54cdb2b1452f02731b294b47ff2
[ "MIT" ]
3
2019-08-21T14:38:53.000Z
2021-03-30T19:54:25.000Z
from colorfont import ColorFont import pydoc from mojo.UI import HelpWindow doc = pydoc.HTMLDoc() html = doc.document(ColorFont) HelpWindow(htmlString=html) html = doc.document(ColorGlyph) HelpWindow(htmlString=html)
18.333333
31
0.804545
28
220
6.321429
0.464286
0.169492
0.169492
0
0
0
0
0
0
0
0
0
0.109091
220
11
32
20
0.903061
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f36495e33d596f7361caa6c8ba8d2e5cf0761c52
25,617
py
Python
devops/ops/api/assets_api.py
jinjin123/devops2.0
8241aff0c6677cef55c9e13b7d182fb75a814bbe
[ "MIT" ]
null
null
null
devops/ops/api/assets_api.py
jinjin123/devops2.0
8241aff0c6677cef55c9e13b7d182fb75a814bbe
[ "MIT" ]
null
null
null
devops/ops/api/assets_api.py
jinjin123/devops2.0
8241aff0c6677cef55c9e13b7d182fb75a814bbe
[ "MIT" ]
null
null
null
# !/usr/bin/env python # _*_ coding:utf-8 _*_ from rest_framework import viewsets, permissions from ops.serializers import * from ops.models import * from rest_framework import status from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framewor...
43.640545
124
0.615099
2,814
25,617
5.445984
0.057569
0.084959
0.065775
0.073083
0.861338
0.840261
0.817684
0.786949
0.765024
0.737031
0
0.010303
0.268728
25,617
586
125
43.715017
0.807772
0.004177
0
0.637131
0
0
0.072248
0.020107
0
0
0
0
0
0
null
null
0.004219
0.021097
null
null
0.008439
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
f3666df8e2a3d53709ecdedaf5a73aa5a39694e9
2,016
py
Python
tests/test_event_hooks.py
eruvanos/dynafile
207425b073a963b01c677b697e74842b429c004a
[ "MIT" ]
null
null
null
tests/test_event_hooks.py
eruvanos/dynafile
207425b073a963b01c677b697e74842b429c004a
[ "MIT" ]
null
null
null
tests/test_event_hooks.py
eruvanos/dynafile
207425b073a963b01c677b697e74842b429c004a
[ "MIT" ]
null
null
null
from dynafile import Dynafile, Event class Observer: def __init__(self): self.calls = [] def __call__(self, *args, **kwargs): self.calls.append((args, kwargs)) @property def latest(self): return self.calls[-1] if self.calls else None def test_put_item_schedules_event(tmp_pa...
29.647059
83
0.579861
277
2,016
4.039711
0.176895
0.034853
0.058088
0.081323
0.7605
0.732797
0.707775
0.691689
0.651475
0.646113
0
0.013436
0.224702
2,016
67
84
30.089552
0.702495
0
0
0.456522
0
0
0.065476
0
0
0
0
0
0.108696
1
0.152174
false
0
0.021739
0.021739
0.217391
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f36671695f4f2c5246e5dd397946e01a018bb4fe
251
py
Python
chat/urls.py
talhaibnmahmud/System-Development-Project
221ab5856dfcb00aff0fe8838bb9f40c725dbbf6
[ "MIT" ]
null
null
null
chat/urls.py
talhaibnmahmud/System-Development-Project
221ab5856dfcb00aff0fe8838bb9f40c725dbbf6
[ "MIT" ]
null
null
null
chat/urls.py
talhaibnmahmud/System-Development-Project
221ab5856dfcb00aff0fe8838bb9f40c725dbbf6
[ "MIT" ]
null
null
null
from django.urls.conf import path from chat.views import MessageListView, MessageView app_name = 'chat' urlpatterns = [ path('', MessageListView.as_view(), name='message-home'), path('<slug:pk>/', MessageView.as_view(), name='message'), ]
20.916667
62
0.701195
31
251
5.580645
0.612903
0.069364
0.115607
0.196532
0
0
0
0
0
0
0
0
0.135458
251
11
63
22.818182
0.797235
0
0
0
0
0
0.131474
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
f367913e08216490dbf81b44ad9a97732b5bc0a3
5,099
py
Python
tests/test_data_handling.py
LLR-ILD/alldecays
08e51e99385ae7ca96edefddafd715e1d8cac3d3
[ "Apache-2.0" ]
null
null
null
tests/test_data_handling.py
LLR-ILD/alldecays
08e51e99385ae7ca96edefddafd715e1d8cac3d3
[ "Apache-2.0" ]
null
null
null
tests/test_data_handling.py
LLR-ILD/alldecays
08e51e99385ae7ca96edefddafd715e1d8cac3d3
[ "Apache-2.0" ]
null
null
null
import numpy as np import pytest from conftest import channel1_path, channel_polarized_path, decay_names import alldecays @pytest.mark.parametrize("data_type", ["polarized", "unpolarized"]) def test_name_changes_work(data_type, channel1, channel_polarized): channel = dict(polarized=channel_polarized, unpolarized...
35.409722
80
0.740341
719
5,099
4.895688
0.179416
0.079545
0.029545
0.030682
0.419034
0.300852
0.192045
0.169318
0.101136
0.045455
0
0.026555
0.15807
5,099
143
81
35.657343
0.793385
0
0
0.036364
0
0
0.041381
0
0
0
0
0
0.127273
1
0.081818
false
0
0.045455
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f36b2d045e4b5fb8f6739e6b9464ce4f48c00174
1,614
py
Python
elections/forms.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
2
2018-11-16T21:45:17.000Z
2019-02-03T19:55:46.000Z
elections/forms.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
13
2018-08-17T19:12:11.000Z
2022-03-11T23:27:41.000Z
elections/forms.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
null
null
null
from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Div, Submit from django import forms from django.forms.utils import ErrorList from web.models import Municipality from django.utils.translation import gettext_lazy as _ class MayorCandidatesFiltersForm(forms.Form): municipality = ...
35.866667
120
0.672243
176
1,614
5.943182
0.397727
0.076482
0.028681
0.06501
0
0
0
0
0
0
0
0
0.23544
1,614
44
121
36.681818
0.84765
0
0
0
0
0
0.069393
0
0
0
0
0
0
1
0.085714
false
0
0.171429
0.028571
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
0
0
0
0
0
1
0
f36bb2734cf8a06f514d97eb5b2c6edbcf20fc1d
988
py
Python
DataBatcher.py
malfusion/furnace
2d2a31212f0d67a99743a125eee1825da2af2182
[ "MIT" ]
null
null
null
DataBatcher.py
malfusion/furnace
2d2a31212f0d67a99743a125eee1825da2af2182
[ "MIT" ]
1
2021-01-28T20:27:14.000Z
2021-01-28T20:27:14.000Z
DataBatcher.py
malfusion/furnace
2d2a31212f0d67a99743a125eee1825da2af2182
[ "MIT" ]
null
null
null
from collections import deque class DataBatcher: def __init__(self, keyFunc, valFunc=None): self.keyFunc = keyFunc self.valFunc = valFunc self.prevKey = None self.batches = deque() self.batch = None def addData(self, data): key = self.keyFunc(data) ...
24.7
71
0.563765
109
988
5.073395
0.311927
0.113924
0.070524
0.068716
0.148282
0.148282
0.148282
0.148282
0
0
0
0
0.337045
988
39
72
25.333333
0.844275
0
0
0.222222
0
0
0.027356
0
0
0
0
0
0
1
0.185185
false
0
0.037037
0.037037
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f36c3c469c723fce76cb22904c9662d3e5c20302
253
py
Python
Databases/kw_args.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
Databases/kw_args.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
Databases/kw_args.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
def print_backwards(*args, **kwargs): print(kwargs) for word in args[::-1]: print(word[::-1], end=' ', **kwargs) with open("backwards.txt", 'w') as backwards: print_backwards("hellow", "all", "of", "my", "friends", file=backwards)
28.111111
75
0.600791
33
253
4.545455
0.636364
0.186667
0
0
0
0
0
0
0
0
0
0.009615
0.177866
253
9
75
28.111111
0.711538
0
0
0
0
0
0.137795
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
f36c464ee68faaf7ed9c2d48de3665e5eff18856
1,309
py
Python
Dynamic Programming/chess.py
roycek7/operation_research
37f01b7fcd93494a7de38459c324132516724b99
[ "MIT" ]
1
2021-04-17T17:33:30.000Z
2021-04-17T17:33:30.000Z
Dynamic Programming/chess.py
roycek7/operation_research
37f01b7fcd93494a7de38459c324132516724b99
[ "MIT" ]
null
null
null
Dynamic Programming/chess.py
roycek7/operation_research
37f01b7fcd93494a7de38459c324132516724b99
[ "MIT" ]
null
null
null
""" Chess Strategy Vladimir is playing Keith in a two-game chess match. Winning a game scores one match point and drawing a game scores a half match point. After the two games are played, the player with more match points is declared the champion. If the two players are tied after two games, they continue playing until...
42.225806
118
0.657754
231
1,309
3.727273
0.372294
0.041812
0.03252
0.037166
0.092915
0.023229
0
0
0
0
0
0.04499
0.252865
1,309
30
119
43.633333
0.835378
0.656226
0
0.153846
0
0
0.061224
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f36c635d3951bb07b4912eb1c952f427fda6d438
1,329
py
Python
py.area1.py
pedrorsvalle/python
88f51ff3135447b3529298e060dd57b15a206130
[ "MIT" ]
null
null
null
py.area1.py
pedrorsvalle/python
88f51ff3135447b3529298e060dd57b15a206130
[ "MIT" ]
null
null
null
py.area1.py
pedrorsvalle/python
88f51ff3135447b3529298e060dd57b15a206130
[ "MIT" ]
null
null
null
def retangulo(lado_a,lado_b): """calcula a area de um retangulo""" area= lado_a*lado_b return area def triangulo(base,altura): """calcula a area de um triangulo""" area=(base*altura)/2 return area def circulo(raio): """calcula a area de um circulo""" area=3.14*(raio**2) ...
20.765625
69
0.543266
175
1,329
4.091429
0.32
0.055866
0.072626
0.058659
0.067039
0
0
0
0
0
0
0.016873
0.331076
1,329
63
70
21.095238
0.788526
0
0
0.171429
0
0
0.289655
0
0
0
0
0
0
0
null
null
0
0
null
null
0.342857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f36d640e79dacaedb0c4acb228f021e81749af5f
4,261
py
Python
tests/unit/test_book_reads.py
josealobato/go-over
ebc012a4d74a81fc729419f4ea670b9d6b4271bb
[ "MIT" ]
null
null
null
tests/unit/test_book_reads.py
josealobato/go-over
ebc012a4d74a81fc729419f4ea670b9d6b4271bb
[ "MIT" ]
7
2022-02-13T09:21:55.000Z
2022-03-02T07:56:31.000Z
tests/unit/test_book_reads.py
josealobato/go-over
ebc012a4d74a81fc729419f4ea670b9d6b4271bb
[ "MIT" ]
null
null
null
# More info at: https://vald-phoenix.github.io/pylint-errors/ # pylint: disable=C0114 # pylint: disable=C0116 from datetime import datetime import pytest from go_over.goodreads import Book, BookRead, Bookshelf # pylint: disable=C0301 # Line too long BOOKS = [ {"Book Id": "00", "Title": "Book 0", "Author": "Cervan...
32.526718
139
0.663459
682
4,261
3.964809
0.165689
0.053254
0.072115
0.04142
0.691938
0.657914
0.596524
0.411243
0.348003
0.307322
0
0.080313
0.190566
4,261
131
140
32.526718
0.703682
0.186811
0
0.468354
0
0
0.141153
0
0
0
0
0
0.341772
1
0.189873
false
0
0.037975
0
0.227848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3718eeff96e99b364364254176ffbb225e3ed47
993
py
Python
gym_collision_avoidance/experiments/src/test_pytorch.py
meghdeepj/Social-Navigation-Simulator
806d304081bf5ff4fc7a0a58defb050627375865
[ "MIT" ]
null
null
null
gym_collision_avoidance/experiments/src/test_pytorch.py
meghdeepj/Social-Navigation-Simulator
806d304081bf5ff4fc7a0a58defb050627375865
[ "MIT" ]
null
null
null
gym_collision_avoidance/experiments/src/test_pytorch.py
meghdeepj/Social-Navigation-Simulator
806d304081bf5ff4fc7a0a58defb050627375865
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F print(torch.cuda.is_available()) device=torch.device("cpu") # device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") print(device) class PatNet(nn.Module): ## HYPERPARAMTERS def __init__(self, nA, ...
26.837838
73
0.635448
139
993
4.410072
0.388489
0.071778
0.042414
0.065253
0.101142
0
0
0
0
0
0
0.030383
0.237664
993
37
74
26.837838
0.779392
0.205438
0
0
0
0
0.011538
0
0
0
0
0
0
1
0.12
false
0.04
0.16
0
0.4
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37405eeefd850d1e3f3acef5be96b619c25c9aa
11,125
py
Python
templates/illumraw2call.py
lvclark/h3agwas
5e42e60123b819d3c331a91b25ee50846e55af3b
[ "MIT" ]
62
2016-08-29T11:27:35.000Z
2022-03-10T17:16:14.000Z
templates/illumraw2call.py
lvclark/h3agwas
5e42e60123b819d3c331a91b25ee50846e55af3b
[ "MIT" ]
33
2016-12-26T13:48:19.000Z
2021-12-05T13:34:06.000Z
templates/illumraw2call.py
lvclark/h3agwas
5e42e60123b819d3c331a91b25ee50846e55af3b
[ "MIT" ]
50
2017-04-15T04:17:43.000Z
2022-03-30T07:26:01.000Z
#! /usr/bin/env python from __future__ import print_function import argparse import os import sys import struct from numpy import empty, uint32,fromfile,uint16 # we avoid the use of backslashes to assist in templatising the code for Nextflow TAB=unichr(9) EOL=unichr(10) FID_nSNPsRead = 1000 FID_IlluminaID ...
35.657051
152
0.598382
1,523
11,125
4.243598
0.2239
0.018103
0.034195
0.01114
0.153334
0.111403
0.086338
0.051215
0.043169
0.035278
0
0.010824
0.277483
11,125
311
153
35.771704
0.793232
0.087551
0
0.060729
0
0
0.129292
0.009923
0
0
0
0
0
1
0.076923
false
0
0.024292
0.008097
0.145749
0.032389
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3756e26ce73e2ba77e2e0abfa79281d0a6b2617
18,090
py
Python
spacy/lang/ru/tokenizer_exceptions.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
1
2019-11-27T13:14:04.000Z
2019-11-27T13:14:04.000Z
spacy/lang/ru/tokenizer_exceptions.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
2
2022-02-21T05:50:08.000Z
2022-03-15T03:19:49.000Z
spacy/lang/ru/tokenizer_exceptions.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
null
null
null
from ..tokenizer_exceptions import BASE_EXCEPTIONS from ...symbols import ORTH, NORM from ...util import update_exc _exc = {} _abbrev_exc = [ # Weekdays abbreviations {ORTH: "пн", NORM: "понедельник"}, {ORTH: "вт", NORM: "вторник"}, {ORTH: "ср", NORM: "среда"}, {ORTH: "чт", NORM: "четверг"}, {...
45
88
0.58513
2,224
18,090
4.748201
0.222572
0.073485
0.033239
0.018939
0.383239
0.28286
0.17642
0.104451
0.085985
0.085985
0
0.005333
0.191487
18,090
401
89
45.112219
0.716669
0.021117
0
0.078378
0
0
0.461795
0.01136
0
0
0
0
0
1
0
false
0
0.008108
0
0.008108
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3769ab6fea4c9708d44e62ffb54dbaaf6ae6c86
141
py
Python
danspeech/audio/__init__.py
la3lma/danspeech
acd9dd1e2b9750292bd27c97ee25cf65edc196f2
[ "Apache-2.0" ]
21
2019-08-29T07:02:02.000Z
2022-03-15T08:58:46.000Z
danspeech/audio/__init__.py
la3lma/danspeech
acd9dd1e2b9750292bd27c97ee25cf65edc196f2
[ "Apache-2.0" ]
11
2019-08-29T06:56:49.000Z
2022-02-16T15:22:17.000Z
danspeech/audio/__init__.py
la3lma/danspeech
acd9dd1e2b9750292bd27c97ee25cf65edc196f2
[ "Apache-2.0" ]
3
2020-04-21T13:04:32.000Z
2021-04-27T10:04:51.000Z
from .resources import load_audio, load_audio_wavPCM, Microphone from .parsers import SpectrogramAudioParser, InferenceSpectrogramAudioParser
70.5
76
0.893617
14
141
8.785714
0.714286
0.146341
0
0
0
0
0
0
0
0
0
0
0.070922
141
2
76
70.5
0.938931
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f377176313884cffb6df2a6b11f5b8d6f43556f5
638
py
Python
newcomer/MachineLearning/2-3a.py
yutake27/newcomer-exercise
e4466edd03e5f1803bbc0c1b0be39a475297392a
[ "CC0-1.0" ]
null
null
null
newcomer/MachineLearning/2-3a.py
yutake27/newcomer-exercise
e4466edd03e5f1803bbc0c1b0be39a475297392a
[ "CC0-1.0" ]
null
null
null
newcomer/MachineLearning/2-3a.py
yutake27/newcomer-exercise
e4466edd03e5f1803bbc0c1b0be39a475297392a
[ "CC0-1.0" ]
null
null
null
from sklearn.datasets import load_svmlight_file from sklearn.svm import SVC from sklearn.model_selection import train_test_split, GridSearchCV from sklearn import metrics param_grid = {'C':[0.001,0.01,0.1,1,10,100]} X,y = load_svmlight_file('MachineLearning/disorder.libsvm.dat') X_train, X_test, y_train, y_test = tra...
45.571429
98
0.791536
109
638
4.321101
0.449541
0.093418
0.067941
0
0
0
0
0
0
0
0
0.030822
0.08464
638
14
98
45.571429
0.775685
0
0
0
0
0
0.095462
0.054773
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f37864f533d84e03e2042457fe7404558577ab87
13,326
py
Python
param-net-mst.py
markusMM/Network-Expectation-Truncation
6b87ed1c5d3da8a6a28f3675390de58061b673d5
[ "AFL-3.0" ]
null
null
null
param-net-mst.py
markusMM/Network-Expectation-Truncation
6b87ed1c5d3da8a6a28f3675390de58061b673d5
[ "AFL-3.0" ]
1
2019-01-26T10:39:35.000Z
2019-01-26T10:39:35.000Z
param-net-mst.py
markusMM/Network-Expectation-Truncation
6b87ed1c5d3da8a6a28f3675390de58061b673d5
[ "AFL-3.0" ]
null
null
null
import numpy as np import sys import os os.stat('pylib') sys.path.append("pylib") sys.path.append("pylib/utils") import argparse import tables from pulp.utils.parallel import pprint from pulp.utils.barstest import generate_bars_dict from sklearn.neural_network.multilayer_perceptron import MLPClassifier #%% -- General ...
26.812877
121
0.562885
1,885
13,326
3.812732
0.192042
0.041881
0.046751
0.018784
0.183665
0.122722
0.064144
0.0583
0.0583
0.0583
0
0.02225
0.29176
13,326
496
122
26.866935
0.739246
0.138376
0
0.13783
0
0
0.124026
0.006394
0
0
0
0
0
1
0
false
0
0.029326
0
0.029326
0.076246
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3794b8036c6961209cfd4976b19858f3b884290
120
py
Python
abc/abc076/abc076b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc076/abc076b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc076/abc076b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N = int(input()) K = int(input()) result = 1 for _ in range(N): result = min(result * 2, result + K) print(result)
15
40
0.591667
20
120
3.5
0.6
0.228571
0
0
0
0
0
0
0
0
0
0.021505
0.225
120
7
41
17.142857
0.731183
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f3798844d976d0deb0b955c5afd70a09e308f441
5,869
py
Python
devops/lib/python3.6/site-packages/django_jenkins/management/commands/jenkins.py
AishwaryaANair/DevOpsCI
f08e5e33f598b7ebd56ed88b53cb39dab9d88d6d
[ "MIT" ]
null
null
null
devops/lib/python3.6/site-packages/django_jenkins/management/commands/jenkins.py
AishwaryaANair/DevOpsCI
f08e5e33f598b7ebd56ed88b53cb39dab9d88d6d
[ "MIT" ]
null
null
null
devops/lib/python3.6/site-packages/django_jenkins/management/commands/jenkins.py
AishwaryaANair/DevOpsCI
f08e5e33f598b7ebd56ed88b53cb39dab9d88d6d
[ "MIT" ]
null
null
null
import os import sys import warnings from importlib import import_module from django.apps import apps from django.conf import settings from django.core.management.commands.test import Command as TestCommand from django_jenkins.runner import CITestSuiteRunner def get_runner(settings, test_runner_class=None): if ...
39.126667
103
0.601125
637
5,869
5.312402
0.260597
0.050236
0.035461
0.022163
0.130024
0.077423
0.046099
0.027778
0.027778
0
0
0.001709
0.302266
5,869
149
104
39.389262
0.824664
0.027432
0
0.087719
0
0
0.182428
0.01235
0
0
0
0
0
1
0.061404
false
0.008772
0.087719
0.008772
0.184211
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37a64e512fe5cd0afd1ee31d20ccc49f55d4c8d
2,303
py
Python
src/gabby/udp_receiver.py
luanguimaraesla/gabby
93212a83bcde9599a1a42d35d0d9263bf766ff54
[ "MIT" ]
null
null
null
src/gabby/udp_receiver.py
luanguimaraesla/gabby
93212a83bcde9599a1a42d35d0d9263bf766ff54
[ "MIT" ]
null
null
null
src/gabby/udp_receiver.py
luanguimaraesla/gabby
93212a83bcde9599a1a42d35d0d9263bf766ff54
[ "MIT" ]
null
null
null
""" Tools to encapsulate generic receive connectors """ import logging import time import mqttsn.client as mqttsn from collections import namedtuple from .settings import UDP_URL, UDP_PORT from .decorators import ensure_udp_connection log = logging.getLogger('udpreceiver') UDPMessage = namedtuple('UDPMessage', ['pay...
26.77907
74
0.617455
271
2,303
5.125461
0.398524
0.017279
0.041037
0.025918
0.059035
0.030238
0
0
0
0
0
0.000611
0.288754
2,303
85
75
27.094118
0.847375
0.20799
0
0.04878
0
0
0.123288
0
0
0
0
0.011765
0
1
0.170732
false
0
0.146341
0
0.365854
0
0
0
0
null
0
0
0
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
f37b8f5c7b578b839ecbd2fcf931a116c7e5396d
4,860
py
Python
misc/marker/map.py
cuauv/software
5ad4d52d603f81a7f254f365d9b0fe636d03a260
[ "BSD-3-Clause" ]
70
2015-11-16T18:04:01.000Z
2022-03-05T09:04:02.000Z
misc/marker/map.py
cuauv/software
5ad4d52d603f81a7f254f365d9b0fe636d03a260
[ "BSD-3-Clause" ]
1
2016-08-03T05:13:19.000Z
2016-08-03T06:19:39.000Z
misc/marker/map.py
cuauv/software
5ad4d52d603f81a7f254f365d9b0fe636d03a260
[ "BSD-3-Clause" ]
34
2015-12-15T17:29:23.000Z
2021-11-18T14:15:12.000Z
#!/usr/bin/env python2 import os, sys, argparse, pylab, json path = os.path.dirname(os.path.realpath(sys.argv[0])) parser = argparse.ArgumentParser(description = 'Graphical view of marked locations') parser.add_argument('--filename', type = str, help = 'File from which to read marks (defaults to marks.json)', default...
36
134
0.648148
753
4,860
4.051793
0.273572
0.052442
0.017699
0.031137
0.186168
0.131105
0.105539
0.089807
0.070796
0.070796
0
0.019908
0.193827
4,860
134
135
36.268657
0.758806
0.022634
0
0.168224
0
0
0.15683
0
0
0
0
0
0
1
0.046729
false
0.009346
0.009346
0
0.056075
0.009346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37bd2d3826f6978ed09b73ecee68d64081a0fa6
1,028
py
Python
src/tox_travis/hacks.py
disconnect3d/tox-travis
58b594b1b0347e558d660c3089d0ae335c0fcc0c
[ "MIT" ]
null
null
null
src/tox_travis/hacks.py
disconnect3d/tox-travis
58b594b1b0347e558d660c3089d0ae335c0fcc0c
[ "MIT" ]
null
null
null
src/tox_travis/hacks.py
disconnect3d/tox-travis
58b594b1b0347e558d660c3089d0ae335c0fcc0c
[ "MIT" ]
null
null
null
import os try: from tox.config import default_factors except ImportError: default_factors = None def pypy_version_monkeypatch(): """Patch Tox to work with non-default PyPy 3 versions.""" # Travis virtualenv do not provide `pypy3`, which tox tries to execute. # This doesnt affect Travis python ver...
32.125
75
0.716926
137
1,028
5.248175
0.50365
0.1363
0.052851
0.075104
0.086231
0
0
0
0
0
0
0.013285
0.194553
1,028
31
76
33.16129
0.855072
0.347276
0
0
0
0
0.060976
0.032012
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37e25fcba871387dd039c2c129311d5edc97e58
8,072
py
Python
my_sound.py
comp-physics/bubble-dynamics-with-multiscale-resnets
409c6b676f5c9b9219c9c6228e3c012382ae3389
[ "MIT" ]
1
2022-03-15T12:16:01.000Z
2022-03-15T12:16:01.000Z
my_sound.py
comp-physics/bubble_dynamics_with_multiscale_resnets
409c6b676f5c9b9219c9c6228e3c012382ae3389
[ "MIT" ]
null
null
null
my_sound.py
comp-physics/bubble_dynamics_with_multiscale_resnets
409c6b676f5c9b9219c9c6228e3c012382ae3389
[ "MIT" ]
1
2022-03-15T12:16:06.000Z
2022-03-15T12:16:06.000Z
import numpy as np # #========================================================= # # Input Arguments # #========================================================= # with open("parameters.yml", 'r') as stream: # D = yaml.safe_load(stream) # # for key in D: # globals() [str(key)] = D[key] # print('{}: {}'.for...
43.869565
124
0.436447
874
8,072
3.913043
0.171625
0.008187
0.021053
0.026316
0.576608
0.531579
0.531579
0.531579
0.508187
0.498246
0
0.013491
0.265362
8,072
184
125
43.869565
0.563238
0.499752
0
0.477778
0
0
0.006844
0
0
0
0
0
0.177778
1
0.122222
false
0
0.011111
0
0.255556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37ed4232986be023beaaf668d06b5e77ac074e6
851
py
Python
ucscentralsdk/methodmeta/LoggingSyncOcnsMeta.py
ragupta-git/ucscentralsdk
2678008b5fb6b0fafafec388d0874147e95a1086
[ "Apache-2.0" ]
null
null
null
ucscentralsdk/methodmeta/LoggingSyncOcnsMeta.py
ragupta-git/ucscentralsdk
2678008b5fb6b0fafafec388d0874147e95a1086
[ "Apache-2.0" ]
null
null
null
ucscentralsdk/methodmeta/LoggingSyncOcnsMeta.py
ragupta-git/ucscentralsdk
2678008b5fb6b0fafafec388d0874147e95a1086
[ "Apache-2.0" ]
null
null
null
"""This module contains the meta information of LoggingSyncOcns ExternalMethod.""" from ..ucscentralcoremeta import MethodMeta, MethodPropertyMeta method_meta = MethodMeta("LoggingSyncOcns", "loggingSyncOcns", "Version142b") prop_meta = { "cookie": MethodPropertyMeta("Cookie", "cookie", "Xs:string", "Version142b...
40.52381
124
0.720329
81
851
7.358025
0.45679
0.040268
0.026846
0.040268
0.11745
0
0
0
0
0
0
0.019973
0.117509
851
20
125
42.55
0.773635
0.089307
0
0
0
0
0.473958
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37ee31cfb8b47e410af4a949e4a6b40e2743fdd
6,351
py
Python
karaoke-maker/backend/search/file_search.py
MorsCerta-crypto/KaraokeMaker
9784daa5595ba675ead83caf3bc94d2d14421495
[ "MIT" ]
null
null
null
karaoke-maker/backend/search/file_search.py
MorsCerta-crypto/KaraokeMaker
9784daa5595ba675ead83caf3bc94d2d14421495
[ "MIT" ]
null
null
null
karaoke-maker/backend/search/file_search.py
MorsCerta-crypto/KaraokeMaker
9784daa5595ba675ead83caf3bc94d2d14421495
[ "MIT" ]
null
null
null
""" find song if already downloaded in filesystem """ from dataclasses import dataclass import os from pathlib import Path from typing import Optional, Union import pickle from utils import Song @dataclass class DownloadedSongs: def __init__(self, songs_path: str = "karaoke-maker/data/downloads/"): if so...
37.803571
110
0.571249
803
6,351
4.374844
0.195517
0.046114
0.051808
0.029035
0.260461
0.21577
0.142328
0.13265
0.052377
0.029035
0
0.001426
0.337585
6,351
168
111
37.803571
0.833611
0.118564
0
0.214876
0
0
0.124298
0.005255
0
0
0
0
0
1
0.07438
false
0
0.049587
0
0.206612
0.14876
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f37f063ffa0cd66c554790bd5c044be104ee8f35
190
py
Python
Windows/WaitingRoom/waiting_room.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
Windows/WaitingRoom/waiting_room.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
Windows/WaitingRoom/waiting_room.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
from abc import ABC from .view import View from .model import Model from .controller import Controller class WaitingRoom(ABC): Model = Model View = View Controller = Controller
19
34
0.742105
25
190
5.64
0.32
0
0
0
0
0
0
0
0
0
0
0
0.210526
190
10
35
19
0.94
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f37f5b44b527c47327e13e3adfceadc8d8345966
20,795
py
Python
lambda/lambda_function.py
ulyssesBML/Viva-a-Revolu-o-AlexaGame
f11414cd6a2c8c214f6ded3d44779f6a396a8a54
[ "MIT" ]
null
null
null
lambda/lambda_function.py
ulyssesBML/Viva-a-Revolu-o-AlexaGame
f11414cd6a2c8c214f6ded3d44779f6a396a8a54
[ "MIT" ]
1
2020-02-17T21:56:55.000Z
2020-02-18T17:07:43.000Z
lambda/lambda_function.py
ulyssesBML/Viva-a-Revolu-o-AlexaGame
f11414cd6a2c8c214f6ded3d44779f6a396a8a54
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK for Python. # Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management, # session persistence, api calls, and more. # This sample is built using the ...
44.72043
350
0.660688
2,368
20,795
5.613598
0.180321
0.078538
0.040924
0.05296
0.580757
0.563831
0.55533
0.538855
0.517867
0.494471
0
0.001224
0.253715
20,795
464
351
44.81681
0.855339
0.153018
0
0.463259
0
0.038339
0.207323
0.002464
0
0
0
0
0
1
0.102236
false
0
0.047923
0.054313
0.313099
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f381bd0ed659abf2b17d985bc390fcf1f738ae82
134
py
Python
comment/urls.py
shunpochang/connect_love_demo
2d556399b50eae3d991b1ed8ea58f48396aec4db
[ "BSD-3-Clause" ]
8
2016-07-03T01:18:46.000Z
2019-12-14T21:02:41.000Z
comment/urls.py
shunpochang/connect_love_demo
2d556399b50eae3d991b1ed8ea58f48396aec4db
[ "BSD-3-Clause" ]
null
null
null
comment/urls.py
shunpochang/connect_love_demo
2d556399b50eae3d991b1ed8ea58f48396aec4db
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^list/$', views.comment_list, name='comment_list'), ]
19.142857
61
0.701493
19
134
4.842105
0.631579
0.23913
0
0
0
0
0
0
0
0
0
0
0.149254
134
6
62
22.333333
0.807018
0
0
0
0
0
0.141791
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f38641f22cf2208a475873a6c210809242c7f833
7,960
py
Python
notebooks/construct-network/construct_network.py
YuzhongHuangCS/journal-citation-cartels
7b82d9e081555f5b40eb6cc6f44f65ce1c3c1a0f
[ "BSD-2-Clause" ]
2
2020-09-22T09:59:56.000Z
2022-01-31T20:00:49.000Z
notebooks/construct-network/construct_network.py
YuzhongHuangCS/journal-citation-cartels
7b82d9e081555f5b40eb6cc6f44f65ce1c3c1a0f
[ "BSD-2-Clause" ]
1
2021-07-20T20:01:46.000Z
2021-07-20T21:21:03.000Z
notebooks/construct-network/construct_network.py
YuzhongHuangCS/journal-citation-cartels
7b82d9e081555f5b40eb6cc6f44f65ce1c3c1a0f
[ "BSD-2-Clause" ]
3
2021-03-09T04:38:56.000Z
2021-07-13T04:49:15.000Z
import numpy as np import pandas as pd import py2neo import pickle import os,sys from scipy import sparse def edges2adj(edges, raw_edges, year, pcount): # Uniqify edges def uniqify_edges(edges, pcount): ccount = edges.groupby(["target"])["s_target"].nunique() nodes = pd.DataFrame({"ccount": cc...
34.912281
121
0.56495
1,015
7,960
4.255172
0.176355
0.100023
0.036119
0.025932
0.562167
0.422088
0.389442
0.376013
0.346608
0.327622
0
0.020585
0.273744
7,960
227
122
35.066079
0.726518
0.036558
0
0.430851
0
0.021277
0.203239
0.031479
0
0
0
0
0
1
0.015957
false
0.021277
0.031915
0
0.074468
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3879f7e2508d44d6784798a2cca8db2145fd810
2,830
py
Python
tests/proxy/test_traversable.py
fjarri/pykka
d1b33b32ba60c6a3e83576ea746b780775e8ff3e
[ "Apache-2.0" ]
null
null
null
tests/proxy/test_traversable.py
fjarri/pykka
d1b33b32ba60c6a3e83576ea746b780775e8ff3e
[ "Apache-2.0" ]
null
null
null
tests/proxy/test_traversable.py
fjarri/pykka
d1b33b32ba60c6a3e83576ea746b780775e8ff3e
[ "Apache-2.0" ]
null
null
null
import pytest import pykka class NestedWithNoMarker: inner = "nested_with_no_marker.inner" class NestedWithNoMarkerAndSlots: __slots__ = ["inner"] def __init__(self): self.inner = "nested_with_no_marker_and_slots.inner" @pykka.traversable class NestedWithDecoratorMarker: inner = "nested_...
28.3
80
0.731449
328
2,830
5.893293
0.253049
0.103466
0.06984
0.09312
0.266425
0.118469
0.053802
0
0
0
0
0.000867
0.184452
2,830
99
81
28.585859
0.836655
0.076325
0
0.0625
0
0
0.213108
0.166731
0
0
0
0
0.0625
1
0.140625
false
0
0.03125
0.015625
0.46875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f388486ab8a72d376eb7fb102005c629b0cdd106
822
py
Python
app/test/task/task_manager_test.py
SummaLabs/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
32
2017-09-04T17:40:39.000Z
2021-02-16T23:08:34.000Z
app/test/task/task_manager_test.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
3
2017-10-09T12:52:54.000Z
2020-06-29T02:48:38.000Z
app/test/task/task_manager_test.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
20
2017-10-07T17:29:50.000Z
2021-01-23T22:01:54.000Z
import pytest from app.backend.task.task_manager import TaskManager from app.backend.task.default_task import Task, DefaultTask @pytest.fixture def task_manager(): return TaskManager() def test_start_task(task_manager): task_manager.start_task(DefaultTask()) task_manager.start_task(DefaultTask()) pr...
21.631579
59
0.738443
106
822
5.358491
0.339623
0.232394
0.105634
0.140845
0.308099
0.260563
0
0
0
0
0
0.004329
0.156934
822
37
60
22.216216
0.815296
0
0
0.173913
0
0
0.023256
0
0
0
0
0
0.130435
1
0.173913
false
0
0.130435
0.043478
0.347826
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
f38a78cfd7991b1a1d0b33a7701551b5ead6e428
8,007
py
Python
tests/test_compiler/test_analyzer.py
gmantelet/python-lyth
80d467066c578308ecb5c3f274ae0da63e09693c
[ "BSD-2-Clause" ]
null
null
null
tests/test_compiler/test_analyzer.py
gmantelet/python-lyth
80d467066c578308ecb5c3f274ae0da63e09693c
[ "BSD-2-Clause" ]
null
null
null
tests/test_compiler/test_analyzer.py
gmantelet/python-lyth
80d467066c578308ecb5c3f274ae0da63e09693c
[ "BSD-2-Clause" ]
null
null
null
import pytest from lyth.compiler.analyzer import Analyzer from lyth.compiler.error import LythError from lyth.compiler.error import LythSyntaxError from lyth.compiler.lexer import Lexer from lyth.compiler.parser import Parser from lyth.compiler.scanner import Scanner from lyth.compiler.symbol import Field from lyth.co...
35.118421
87
0.665043
1,059
8,007
4.745987
0.129367
0.129328
0.132312
0.091524
0.771588
0.728213
0.687823
0.6538
0.610824
0.553323
0
0.011233
0.188335
8,007
227
88
35.273128
0.762117
0.096915
0
0.468531
0
0
0.139842
0.00605
0
0
0
0
0.545455
1
0.048951
false
0
0.06993
0
0.132867
0.013986
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
f38eac733fcd5d71a21affa2365e744b5adc7633
1,418
py
Python
src/user_management/user_login/app.py
patrickceg/rhok-bad-date-serverless
8b6d23da9c9c10a1bef41193cb4f9ee0535506a1
[ "MIT" ]
1
2018-04-14T15:37:02.000Z
2018-04-14T15:37:02.000Z
src/user_management/user_login/app.py
patrickceg/rhok-bad-date-serverless
8b6d23da9c9c10a1bef41193cb4f9ee0535506a1
[ "MIT" ]
7
2018-04-15T14:47:57.000Z
2018-04-29T03:55:28.000Z
src/user_management/user_login/app.py
patrickceg/rhok-bad-date-serverless
8b6d23da9c9c10a1bef41193cb4f9ee0535506a1
[ "MIT" ]
5
2018-04-14T16:04:28.000Z
2018-04-14T21:57:38.000Z
import boto3 import os import hashlib import uuid import calendar import time from decimal import Decimal from boto3.dynamodb.conditions import Key def lambda_handler(event, context): debug = os.getenv('DEBUG') is '1' hashed_passwd = hash_password(event['password']) dynamodb = boto3.resource('dynamodb', region_n...
27.269231
95
0.641749
175
1,418
5.04
0.405714
0.045351
0.040816
0.038549
0.063492
0.063492
0
0
0
0
0
0.022462
0.215092
1,418
51
96
27.803922
0.769991
0.008463
0
0.162791
0
0
0.131148
0
0
0
0
0
0
1
0.046512
false
0.162791
0.186047
0
0.325581
0.069767
0
0
0
null
0
0
0
0
0
0
0
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
f38eb28dc30d81aaf90ad337ef669d71ae24e45a
307
py
Python
twrap/__init__.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
twrap/__init__.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
twrap/__init__.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
# @Author: Narsi Reddy <cibitaw1> # @Date: 2018-09-19T11:53:44-05:00 # @Email: sainarsireddy@outlook.com # @Last modified by: narsi # @Last modified time: 2019-01-03T21:57:01-06:00 # import torch # if '0.4.' not in torch.__version__: # raise Exception('Only works currently with PyTorch ver0.4.x')
34.111111
67
0.697068
49
307
4.285714
0.857143
0.114286
0
0
0
0
0
0
0
0
0
0.157692
0.153094
307
8
68
38.375
0.65
0.944625
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f38f101b5462e5a48038cb051787c9579a047624
432
py
Python
setup.py
Observatory-Sciences/dls-pmac-lib
e6cde02d6ecef57963ae128f8967413b2752c024
[ "Apache-2.0" ]
1
2021-12-01T23:35:21.000Z
2021-12-01T23:35:21.000Z
setup.py
Observatory-Sciences/dls-pmac-lib
e6cde02d6ecef57963ae128f8967413b2752c024
[ "Apache-2.0" ]
null
null
null
setup.py
Observatory-Sciences/dls-pmac-lib
e6cde02d6ecef57963ae128f8967413b2752c024
[ "Apache-2.0" ]
1
2021-05-26T11:27:21.000Z
2021-05-26T11:27:21.000Z
from setuptools import setup # these lines allow the version to be specified in Makefile.private import os version = os.environ.get("MODULEVER", "0.0") setup( name = 'dls_pmaclib', version = version, description = 'Module', author = 'fgz73762', author_email = 'fgz73762@rl.ac.uk', ...
25.411765
67
0.618056
51
432
5.137255
0.784314
0.076336
0
0
0
0
0
0
0
0
0
0.043887
0.261574
432
16
68
27
0.777429
0.150463
0
0
0
0
0.213699
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f390722a9b7bcdeb7da50b02a843069961e64cc1
188
py
Python
First_Week/Sum/SumPow.py
IngeniariusSoftware/Itmo-course-apsd
34de904fd85a6fe4b32e422524d6d7993891bb7d
[ "MIT" ]
null
null
null
First_Week/Sum/SumPow.py
IngeniariusSoftware/Itmo-course-apsd
34de904fd85a6fe4b32e422524d6d7993891bb7d
[ "MIT" ]
null
null
null
First_Week/Sum/SumPow.py
IngeniariusSoftware/Itmo-course-apsd
34de904fd85a6fe4b32e422524d6d7993891bb7d
[ "MIT" ]
null
null
null
input = open('input.txt'); output = open('output.txt' , 'w'); tokens = input.readline().split(' '); input.close(); output.write(str(int(tokens[0]) + int(tokens[1]) ** 2)); output.close();
26.857143
56
0.62234
27
188
4.333333
0.555556
0.153846
0
0
0
0
0
0
0
0
0
0.017751
0.101064
188
6
57
31.333333
0.674556
0
0
0
0
0
0.111702
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3908d26c53625ed2af166f41829d096ab0818d7
776
py
Python
molecule/default/tests/test_default.py
Turgon37/ansible-sssd
f9b653495ed9a908de660dab5f311782633a5e02
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
Turgon37/ansible-sssd
f9b653495ed9a908de660dab5f311782633a5e02
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
Turgon37/ansible-sssd
f9b653495ed9a908de660dab5f311782633a5e02
[ "MIT" ]
2
2019-10-17T17:17:23.000Z
2020-03-31T13:13:29.000Z
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_sssd_conf(host): conf = host.file('/etc/sssd/sssd.conf') assert conf.exists assert conf.user == 'root' assert conf.gro...
24.25
63
0.649485
103
776
4.718447
0.466019
0.065844
0.08642
0.111111
0.127572
0.127572
0.127572
0.127572
0
0
0
0.003339
0.228093
776
31
64
25.032258
0.808013
0
0
0.086957
0
0
0.292526
0.029639
0
0
0
0
0.173913
1
0.086957
false
0
0.086957
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3916073cb9f5943d221666b69347f763fcb2bb3
2,029
py
Python
libros/migrations/0002_auto_20191026_1023.py
dkwelffer/rocbook
87c92f26e8bd2139cc57d11f65c3fb82ebbc5223
[ "Apache-2.0" ]
null
null
null
libros/migrations/0002_auto_20191026_1023.py
dkwelffer/rocbook
87c92f26e8bd2139cc57d11f65c3fb82ebbc5223
[ "Apache-2.0" ]
null
null
null
libros/migrations/0002_auto_20191026_1023.py
dkwelffer/rocbook
87c92f26e8bd2139cc57d11f65c3fb82ebbc5223
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.5 on 2019-10-26 14:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('libros', '0001_initial'), ] operations = [ migrations.CreateModel( name='Pagina', f...
30.742424
114
0.538196
188
2,029
5.702128
0.388298
0.067164
0.091418
0.117537
0.427239
0.379664
0.270522
0.125
0.125
0.125
0
0.023547
0.330212
2,029
65
115
31.215385
0.765269
0.022178
0
0.440678
1
0
0.080222
0
0
0
0
0
0
1
0
false
0
0.033898
0
0.084746
0
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
f39250c381454b0933a185c13c313dd67e368700
24,886
py
Python
plugins/Operations/Parsing/parsing_ops.py
nmantani/FileInsight-plugins
a6b036672e4c72ed06678729a86293212b7213db
[ "BSD-2-Clause", "CC0-1.0", "MIT" ]
120
2015-02-28T14:49:12.000Z
2022-03-27T07:13:24.000Z
plugins/Operations/Parsing/parsing_ops.py
nmantani/FileInsight-plugins
a6b036672e4c72ed06678729a86293212b7213db
[ "BSD-2-Clause", "CC0-1.0", "MIT" ]
null
null
null
plugins/Operations/Parsing/parsing_ops.py
nmantani/FileInsight-plugins
a6b036672e4c72ed06678729a86293212b7213db
[ "BSD-2-Clause", "CC0-1.0", "MIT" ]
17
2016-04-04T15:53:03.000Z
2021-12-10T18:07:59.000Z
# # Parsing operations - Operations such as file type detection and embedded file # detection # # Copyright (c) 2019, Nobutaka Mantani # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # #...
36.119013
213
0.577031
3,035
24,886
4.628666
0.133114
0.004698
0.015661
0.014949
0.602862
0.553602
0.516444
0.503915
0.486475
0.469106
0
0.011457
0.298561
24,886
688
214
36.171512
0.793309
0.138471
0
0.600849
0
0.008493
0.165741
0.010621
0
0
0
0
0
1
0.021231
false
0
0.021231
0
0.106157
0.106157
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3925a2de46ce94e111a0a40f4a796420e5a3f57
5,582
py
Python
argo/networks/pbtxt.py
rist-ro/argo
a10c33346803239db8a64c104db7f22ec4e05bef
[ "MIT" ]
4
2020-12-07T19:13:13.000Z
2022-01-30T18:52:18.000Z
argo/networks/pbtxt.py
rist-ro/argo
a10c33346803239db8a64c104db7f22ec4e05bef
[ "MIT" ]
12
2020-09-25T22:41:28.000Z
2022-02-09T23:46:34.000Z
argo/networks/pbtxt.py
rist-ro/argo
a10c33346803239db8a64c104db7f22ec4e05bef
[ "MIT" ]
2
2021-03-02T18:31:04.000Z
2021-03-02T21:56:43.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import tensorflow as tf import imagenet from tensorflow.python.platform import gfile from inception_v4 import inception_v4 from inception_v4 import inception_v4_arg_scope from inception_v4 import ince...
39.034965
93
0.692404
769
5,582
4.778934
0.26788
0.044898
0.021769
0.030476
0.226395
0.127075
0.041361
0
0
0
0
0.009908
0.222501
5,582
142
94
39.309859
0.836866
0.457721
0
0.057143
0
0
0.209
0
0
0
0
0
0
1
0.042857
false
0
0.171429
0
0.242857
0.014286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f393988e6740fc6e08ace33d77422c2bdfde8d04
2,037
py
Python
hw3/3.py
joebobs0n/EE631
9b88e2ad255098afbc45cb7eda6018cb24c10fc3
[ "MIT" ]
null
null
null
hw3/3.py
joebobs0n/EE631
9b88e2ad255098afbc45cb7eda6018cb24c10fc3
[ "MIT" ]
null
null
null
hw3/3.py
joebobs0n/EE631
9b88e2ad255098afbc45cb7eda6018cb24c10fc3
[ "MIT" ]
null
null
null
import cv2 as cv import numpy as np chessboard = [10, 7] stereo_params = np.load('stereo_params.npz') F = stereo_params['F'] left_params = np.load('left_params.npz') left_intr = left_params['intr'] left_dist = left_params['dist'] right_params = np.load('right_params.npz') right_intr = right_params['intr'] right_dis...
29.955882
104
0.670594
351
2,037
3.720798
0.190883
0.045942
0.024502
0.027565
0.228178
0.222052
0.180704
0.180704
0.136294
0.136294
0
0.063291
0.146784
2,037
67
105
30.402985
0.688147
0
0
0.156863
0
0
0.068238
0.03191
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3947f91f3507fcdc9f9745149284d48e0294133
2,775
py
Python
test/geocoders/arcgis.py
gongso1st/geopy
9252f4b12197ff3c5e3fae50d9bae74974d5d20f
[ "MIT" ]
1
2019-07-17T14:38:52.000Z
2019-07-17T14:38:52.000Z
test/geocoders/arcgis.py
gongso1st/geopy
9252f4b12197ff3c5e3fae50d9bae74974d5d20f
[ "MIT" ]
null
null
null
test/geocoders/arcgis.py
gongso1st/geopy
9252f4b12197ff3c5e3fae50d9bae74974d5d20f
[ "MIT" ]
1
2019-03-28T10:26:41.000Z
2019-03-28T10:26:41.000Z
import unittest from geopy import exc from geopy.compat import u from geopy.point import Point from geopy.geocoders import ArcGIS from test.geocoders.util import GeocoderTestBase, env class ArcGISTestCaseUnitTest(GeocoderTestBase): def test_user_agent_custom(self): geocoder = ArcGIS( user_ag...
27.475248
78
0.594234
287
2,775
5.595819
0.379791
0.069738
0.029888
0.035492
0.291407
0.291407
0.200498
0.144458
0
0
0
0.061835
0.289009
2,775
100
79
27.75
0.752154
0.081802
0
0.166667
0
0
0.192356
0
0
0
0
0
0.045455
1
0.136364
false
0.060606
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
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
f3966a99b7bc35ad766f8817a1afff4948982ad6
26
py
Python
app/views/tracks/__init__.py
DaniFriasSolsona/DigitalMediaStore-RESTful
30388680eb9c10b4c609ca9a273ba69c09e61dbd
[ "MIT" ]
null
null
null
app/views/tracks/__init__.py
DaniFriasSolsona/DigitalMediaStore-RESTful
30388680eb9c10b4c609ca9a273ba69c09e61dbd
[ "MIT" ]
null
null
null
app/views/tracks/__init__.py
DaniFriasSolsona/DigitalMediaStore-RESTful
30388680eb9c10b4c609ca9a273ba69c09e61dbd
[ "MIT" ]
null
null
null
from .resources import blp
26
26
0.846154
4
26
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f397433f97deecbcce038323eff26064f64a88ad
466
py
Python
Python/leetcode_challenges/leetcode_median-of-two-sorted-arrays.py
liv335/public
04e1940060e2ec88a1d0d1c91603afff8ecdaea2
[ "Apache-2.0" ]
null
null
null
Python/leetcode_challenges/leetcode_median-of-two-sorted-arrays.py
liv335/public
04e1940060e2ec88a1d0d1c91603afff8ecdaea2
[ "Apache-2.0" ]
null
null
null
Python/leetcode_challenges/leetcode_median-of-two-sorted-arrays.py
liv335/public
04e1940060e2ec88a1d0d1c91603afff8ecdaea2
[ "Apache-2.0" ]
null
null
null
class Solution: def findMedianSortedArrays(self, nums1, nums2): concant = sorted(nums1 + nums2) pos = int((len(concant) + 1)/2) -1 if (len(concant) % 2) == 0: median = (concant[pos] + concant[pos+1])/2 else: median = concant[pos] return float(median) ...
31.066667
54
0.56867
60
466
4.283333
0.566667
0.116732
0.124514
0
0
0
0
0
0
0
0
0.102941
0.270386
466
15
55
31.066667
0.652941
0
0
0
0
0
0.017131
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f397645eaf119065b33f1012173ea4db786f6334
370
py
Python
sourced/ml/tests/source/example.py
chubbymaggie/ast2vec
b9058681fdd30ad0a7f4fa90a24594b615340a90
[ "Apache-2.0" ]
null
null
null
sourced/ml/tests/source/example.py
chubbymaggie/ast2vec
b9058681fdd30ad0a7f4fa90a24594b615340a90
[ "Apache-2.0" ]
null
null
null
sourced/ml/tests/source/example.py
chubbymaggie/ast2vec
b9058681fdd30ad0a7f4fa90a24594b615340a90
[ "Apache-2.0" ]
null
null
null
import sys from modelforge.logs import setup_logging utmain = sys.modules['__main__'] if utmain.__package__ == "unittest" and utmain.__spec__ is None: from collections import namedtuple ModuleSpec = namedtuple("ModuleSpec", ["name"]) utmain.__spec__ = ModuleSpec("unittest.__main__") del ModuleSpec de...
21.764706
64
0.735135
43
370
5.813953
0.55814
0.096
0
0
0
0
0
0
0
0
0
0
0.162162
370
16
65
23.125
0.806452
0
0
0
0
0
0.137838
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f39aec0bebcbd7d89dc7e0ce8356f06dc7c60a5a
6,735
py
Python
train_parking.py
bayesianGirl/Parking-Spot-Detection-by-Opencv
b1ceb01a5eea1cba228c88113f6dcfb62c13618e
[ "MIT" ]
3
2020-12-07T21:13:44.000Z
2021-11-27T05:12:05.000Z
train_parking.py
bayesianGirl/Parking-Spot-Detection-by-Opencv
b1ceb01a5eea1cba228c88113f6dcfb62c13618e
[ "MIT" ]
null
null
null
train_parking.py
bayesianGirl/Parking-Spot-Detection-by-Opencv
b1ceb01a5eea1cba228c88113f6dcfb62c13618e
[ "MIT" ]
6
2018-07-09T18:23:18.000Z
2019-05-21T13:49:59.000Z
import tensorflow as tf import cv2 import numpy as np import os import tensorflow.contrib.slim as slim # TensorFlow-Slim # Number of classes=3(right, left,up) # Defining training examples and labels empty=[] occupied=[] examples=[] error= 'error.txt' error_file= open(error, 'w') #Reading images os.chdir('/home/ruchik...
39.156977
110
0.705122
1,144
6,735
4.02535
0.168706
0.023453
0.017372
0.038219
0.375027
0.336591
0.312052
0.262758
0.170467
0.170467
0
0.057046
0.120267
6,735
171
111
39.385965
0.720169
0.129324
0
0.172662
0
0
0.081776
0.04526
0
0
0
0
0
1
0.007194
false
0
0.035971
0
0.05036
0.107914
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f39c0547113dfeeb7a9ee6287a14d65c76ea8bf5
7,308
py
Python
matchengine/plugins/DFCIQueryNodeTransformer.py
AveraSD/matchengine-V2
d6039dc5d6737f90f53d6decc3b60e062e65b165
[ "Apache-2.0" ]
18
2019-09-21T20:08:19.000Z
2021-07-06T03:23:11.000Z
matchengine/plugins/DFCIQueryNodeTransformer.py
AveraSD/matchengine-V2
d6039dc5d6737f90f53d6decc3b60e062e65b165
[ "Apache-2.0" ]
1
2020-04-06T17:13:17.000Z
2020-09-10T13:41:45.000Z
matchengine/plugins/DFCIQueryNodeTransformer.py
AveraSD/matchengine-V2
d6039dc5d6737f90f53d6decc3b60e062e65b165
[ "Apache-2.0" ]
12
2019-09-16T14:22:19.000Z
2022-01-13T20:32:52.000Z
from __future__ import annotations import datetime import re from typing import TYPE_CHECKING, Tuple, List, Union, Dict from matchengine.internals.plugin_helpers.plugin_stub import ( QueryNodeTransformer, QueryNodeClinicalIDsSubsetter ) from matchengine.internals.typing.matchengine_types import ( QueryPar...
44.560976
119
0.604543
842
7,308
4.918052
0.225653
0.039121
0.026564
0.036223
0.398696
0.348467
0.328423
0.285921
0.2468
0.228447
0
0.011284
0.320881
7,308
163
120
44.834356
0.823091
0.1237
0
0.236641
0
0
0.095088
0.044395
0
0
0
0
0
1
0.038168
false
0.007634
0.076336
0.007634
0.175573
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f39c50849b8851bc8f0536a6aa119129e72c9a55
241
py
Python
classes/Result.py
matteocarde/asp2logic
ceaa3cffd1ccdf9a838d30652670235ea960a537
[ "MIT" ]
null
null
null
classes/Result.py
matteocarde/asp2logic
ceaa3cffd1ccdf9a838d30652670235ea960a537
[ "MIT" ]
null
null
null
classes/Result.py
matteocarde/asp2logic
ceaa3cffd1ccdf9a838d30652670235ea960a537
[ "MIT" ]
null
null
null
class Result: name: str optimum: int status: str time: float def __init__(self, name, optimum, status, time): self.name = name self.optimum = optimum self.status = status self.time = time
20.083333
52
0.580913
29
241
4.689655
0.413793
0.117647
0
0
0
0
0
0
0
0
0
0
0.3361
241
12
53
20.083333
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f39e1c520696b1bcc8ef32a0537c82d74974fb1c
6,028
py
Python
ssbj_idf_mda.py
OneraHub/SSBJ-OpenMDAO-Example
5d10e9f8483f5e7ce803f0bc36ff78d3323227d9
[ "Apache-2.0" ]
7
2019-02-07T17:05:50.000Z
2022-01-20T16:29:31.000Z
ssbj_idf_mda.py
OneraHub/SSBJ-OpenMDAO-Example
5d10e9f8483f5e7ce803f0bc36ff78d3323227d9
[ "Apache-2.0" ]
3
2018-06-19T12:41:48.000Z
2019-01-16T17:13:24.000Z
ssbj_idf_mda.py
OneraHub/SSBJ-OpenMDAO-Example
5d10e9f8483f5e7ce803f0bc36ff78d3323227d9
[ "Apache-2.0" ]
2
2018-06-04T13:53:15.000Z
2018-11-29T18:46:14.000Z
""" SSBJ test case - http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19980234657.pdf Python implementation and OpenMDAO integration developed by Sylvain Dubreuil and Remi Lafage of ONERA, the French Aerospace Lab. """ import numpy as np from openmdao.api import Group, ExecComp, IndepVarComp from ssbj_disciplines....
43.366906
100
0.607001
801
6,028
4.32834
0.164794
0.117393
0.129218
0.071243
0.263629
0.064032
0.015575
0
0
0
0
0.016751
0.217651
6,028
138
101
43.681159
0.718405
0.085932
0
0
0
0
0.260369
0.008588
0
0
0
0
0
1
0.021053
false
0
0.063158
0
0.094737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f39f9dafd3986b4592613b9a6d345bb5a1bd8d41
3,098
py
Python
tag2env/cli.py
ravenac95/tag2env
5651e93d57898d6edd73a1a7b01032989acb8e4b
[ "MIT" ]
1
2018-11-23T04:31:28.000Z
2018-11-23T04:31:28.000Z
tag2env/cli.py
ravenac95/tag2env
5651e93d57898d6edd73a1a7b01032989acb8e4b
[ "MIT" ]
null
null
null
tag2env/cli.py
ravenac95/tag2env
5651e93d57898d6edd73a1a7b01032989acb8e4b
[ "MIT" ]
null
null
null
import os import re import requests import boto3 import click AWS_INSTANCE_DOC_URL = 'http://169.254.169.254/latest/dynamic/instance-identity/document' class TagLoader(object): def __init__(self, override_instance_doc=None, override_instance_id=None, region=None): self._override_instanc...
29.226415
89
0.617172
370
3,098
4.835135
0.262162
0.134153
0.078256
0.051425
0.16825
0.121856
0.103969
0.062605
0.062605
0.062605
0
0.007197
0.28244
3,098
105
90
29.504762
0.797571
0.009361
0
0.049383
0
0
0.086971
0
0
0
0
0
0
0
null
null
0.012346
0.08642
null
null
0.012346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1