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
e19634e1c0e6ad67f639ff7b727b4525f8c022d4
1,186
py
Python
test/arguments/with_range_check_code/python/Bit4RangeCheckTest.py
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
86
2018-09-06T09:30:53.000Z
2022-03-27T01:12:36.000Z
test/arguments/with_range_check_code/python/Bit4RangeCheckTest.py
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
362
2018-09-04T20:21:24.000Z
2022-03-30T15:14:38.000Z
test/arguments/with_range_check_code/python/Bit4RangeCheckTest.py
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
20
2018-09-10T15:59:02.000Z
2021-12-01T15:38:22.000Z
import unittest import zserio from testutils import getZserioApi class Bit4RangeCheckTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.api = getZserioApi(__file__, "with_range_check_code.zs", extraArgs=["-withRangeCheckCode"]).bit4_range_check def testB...
34.882353
99
0.73946
107
1,186
7.943925
0.411215
0.084706
0.103529
0.061176
0.272941
0.174118
0.174118
0.174118
0.174118
0
0
0.030083
0.187184
1,186
33
100
35.939394
0.85166
0
0
0.08
0
0
0.036256
0.020236
0
0
0
0
0.12
1
0.24
false
0
0.12
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e199a6e60b58553046744ab0013002524ed3e824
473
py
Python
topic-db/topicdb/core/models/language.py
anthcp-infocom/Contextualise
0136660fcb965fd70fb4c7a33de7973a69ee9fec
[ "MIT" ]
184
2019-01-10T03:50:50.000Z
2022-03-31T19:45:16.000Z
topic-db/topicdb/core/models/language.py
anthcp-infocom/Contextualise
0136660fcb965fd70fb4c7a33de7973a69ee9fec
[ "MIT" ]
11
2019-04-07T07:39:11.000Z
2022-02-17T13:29:32.000Z
topic-db/topicdb/core/models/language.py
anthcp-infocom/Contextualise
0136660fcb965fd70fb4c7a33de7973a69ee9fec
[ "MIT" ]
9
2019-10-26T02:43:59.000Z
2021-11-03T00:49:10.000Z
""" Language enumeration. Part of the StoryTechnologies project. June 12, 2016 Brett Alistair Kromkamp (brett.kromkamp@gmail.com) """ from enum import Enum class Language(Enum): # https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes # https://en.wikipedia.org/wiki/ISO_639-2 ENG = 1 # English SPA...
18.92
60
0.64482
67
473
4.41791
0.761194
0.047297
0.108108
0.128378
0.155405
0
0
0
0
0
0
0.05618
0.247357
473
24
61
19.708333
0.775281
0.560254
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0.1
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e1b43999f4dbbac898da1e996502f381b7896fa5
72,341
py
Python
src/tale/syntax/grammar/TaleParser.py
tale-lang/tale
1779f94aa13545e58a1d5a8819b85ad02ada4144
[ "MIT" ]
17
2020-02-11T10:38:19.000Z
2020-09-22T16:36:25.000Z
src/tale/syntax/grammar/TaleParser.py
tale-lang/tale
1779f94aa13545e58a1d5a8819b85ad02ada4144
[ "MIT" ]
18
2020-02-14T20:36:25.000Z
2020-05-26T21:52:46.000Z
src/tale/syntax/grammar/TaleParser.py
tale-lang/tale
1779f94aa13545e58a1d5a8819b85ad02ada4144
[ "MIT" ]
1
2020-02-16T12:04:07.000Z
2020-02-16T12:04:07.000Z
# Generated from tale/syntax/grammar/Tale.g4 by ANTLR 4.8 # encoding: utf-8 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\...
34.317362
239
0.590868
7,758
72,341
5.415055
0.085073
0.013521
0.009783
0.009712
0.66039
0.611664
0.589288
0.550821
0.474292
0.416544
0
0.064981
0.300963
72,341
2,107
240
34.33365
0.765766
0.001742
0
0.567136
1
0.055627
0.094539
0.074443
0
0
0.000111
0
0
1
0.148977
false
0.022379
0.004476
0.056266
0.303708
0
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
e1b490b033e953f1585ccd81fdcb489a598e5706
353
py
Python
004.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
004.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
004.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
print('Olá, Mundo!') print(7+4) print('7'+'4') print('Olá', 5) # Toda variável é um objeto # Um objeto é mais do que uma variável nome = 'Gabriel' idade = 30 peso = 79 print(nome,idade,peso) nome = input('>>> Nome ') idade = input('>>> Idade ') peso = input('>>> Peso ') print(nome,idade,peso) print(f'Nome:{nom...
14.12
49
0.620397
56
353
3.910714
0.410714
0.164384
0.063927
0.109589
0
0
0
0
0
0
0
0.030612
0.167139
353
24
50
14.708333
0.714286
0.175637
0
0.153846
0
0
0.3125
0
0
0
0
0
0
1
0
false
0
0
0
0
0.538462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e1b5d39efe358fd9f5a0abeb927321f0eef6f285
680
py
Python
examples/create_mac_table_entry.py
open-switch/opx-docs
f448f3f3dc0de38822bbf16c1e173eb108925a40
[ "CC-BY-4.0" ]
122
2017-02-10T01:47:04.000Z
2022-03-23T20:11:11.000Z
examples/create_mac_table_entry.py
open-switch/opx-docs
f448f3f3dc0de38822bbf16c1e173eb108925a40
[ "CC-BY-4.0" ]
37
2017-03-01T07:07:22.000Z
2021-11-11T16:47:42.000Z
examples/create_mac_table_entry.py
open-switch/opx-docs
f448f3f3dc0de38822bbf16c1e173eb108925a40
[ "CC-BY-4.0" ]
39
2017-01-18T16:22:58.000Z
2020-11-18T13:23:43.000Z
#Python code block to configure MAC address table entry import cps_utils #Register the attribute type cps_utils.add_attr_type('base-mac/table/mac-address', 'mac') #Define the MAC address, interface index and VLAN attributes d = {'mac-address': '00:0a:0b:cc:0d:0e', 'ifindex': 18, 'vlan': '100'} #Create a CPS object ...
27.2
70
0.738235
103
680
4.796117
0.592233
0.080972
0.048583
0
0
0
0
0
0
0
0
0.0189
0.144118
680
24
71
28.333333
0.829897
0.358824
0
0
0
0
0.347319
0.060606
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
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
e1b6ebd37b97bc9b109f511037c684ea5fa2de9b
225
py
Python
events/defaults.py
bozbalci/cython-experiments
a675571e09297e3cda9154e8b611562bb8b14f7e
[ "Unlicense" ]
1
2018-06-23T17:52:20.000Z
2018-06-23T17:52:20.000Z
events/defaults.py
bozbalci/cython-experiments
a675571e09297e3cda9154e8b611562bb8b14f7e
[ "Unlicense" ]
null
null
null
events/defaults.py
bozbalci/cython-experiments
a675571e09297e3cda9154e8b611562bb8b14f7e
[ "Unlicense" ]
null
null
null
# defaults.py: contains the built-in variables, events and methods # used for scripting the C program import event events = {} _event_names = ["on_start", "on_exit"] for evt in _event_names: events[evt] = event.Event()
22.5
66
0.724444
34
225
4.617647
0.647059
0.127389
0
0
0
0
0
0
0
0
0
0
0.168889
225
9
67
25
0.839572
0.431111
0
0
0
0
0.12
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1b88db11881c00abc4ca3f31868a0861378a947
780
py
Python
hopsapp/__init__.py
mrahman013/Hope4Hops-web-applcation
d5bde1463c6fbc1ea5424cb656504119393c6ce2
[ "MIT" ]
null
null
null
hopsapp/__init__.py
mrahman013/Hope4Hops-web-applcation
d5bde1463c6fbc1ea5424cb656504119393c6ce2
[ "MIT" ]
null
null
null
hopsapp/__init__.py
mrahman013/Hope4Hops-web-applcation
d5bde1463c6fbc1ea5424cb656504119393c6ce2
[ "MIT" ]
null
null
null
"""Implements a basic flask app that provides hashes of text.""" from flask import Flask from flask_sqlalchemy import SQLAlchemy import flask_login #pylint: disable=invalid-name app = Flask(__name__) app.config['DEBUG'] = True app.config['SQLALCHEMY_DATABASE_URI'] = 'postgres://yjjuylsytqewni:d0d63322c6abd33e2dadeafd...
35.454545
224
0.815385
102
780
6.088235
0.598039
0.062802
0.061192
0
0
0
0
0
0
0
0
0.088359
0.085897
780
21
225
37.142857
0.782609
0.267949
0
0
0
0.076923
0.405694
0.362989
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e1b8fdfc631946eef5fedb38c2e25e5e6c2e1add
800
py
Python
npytoImage.py
x35yao/camera
0ee77f5de72d785ba68bef44a557470ec425d702
[ "MIT" ]
null
null
null
npytoImage.py
x35yao/camera
0ee77f5de72d785ba68bef44a557470ec425d702
[ "MIT" ]
null
null
null
npytoImage.py
x35yao/camera
0ee77f5de72d785ba68bef44a557470ec425d702
[ "MIT" ]
null
null
null
import numpy as np; import cv2; n = 428671 img_RS_color = np.load('/home/p4bhattachan/gripper/3DCameraServer/testImages/npyFiles/{}_RS_color.npy'.format(n)) cv2.imshow('RS Color Image {}'.format(n), img_RS_color) # # # img_RS_depth = np.load('/home/p4bhattachan/gripper/3DCameraServer/testImages/npyFiles/{}_RS_depth.np...
38.095238
119
0.7475
117
800
4.905983
0.222222
0.097561
0.069686
0.15331
0.818815
0.662021
0.477352
0.477352
0.477352
0
0
0.02973
0.075
800
20
120
40
0.745946
0.65
0
0
0
0
0.357414
0.292776
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
1
0
0
0
0
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
e1bf68076ea2cc2d9234c0759575b80d167f8b2e
680
py
Python
geomat/stein/migrations/0060_remove_mineraltype_mohs_scale.py
mimischi/django-geomat
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
[ "BSD-3-Clause" ]
3
2017-01-13T15:53:39.000Z
2017-05-05T11:57:55.000Z
geomat/stein/migrations/0060_remove_mineraltype_mohs_scale.py
mimischi/django-geomat
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
[ "BSD-3-Clause" ]
233
2016-11-05T15:19:48.000Z
2021-09-07T23:33:47.000Z
geomat/stein/migrations/0060_remove_mineraltype_mohs_scale.py
GeoMatDigital/django-geomat
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.2 on 2018-05-04 07:33 from django.db import migrations from django.db import models class Migration(migrations.Migration): dependencies = [ ('stein', '0059_mineraltype_new_mohs_scale'), ] operations = [ migrations.AlterField( model_name='mineraltype...
26.153846
106
0.632353
75
680
5.52
0.52
0.130435
0.125604
0.086957
0.15942
0.15942
0
0
0
0
0
0.04142
0.254412
680
25
107
27.2
0.775148
0.066176
0
0.333333
1
0
0.194313
0.048973
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1c4600d073fba00b0a31f0113ee9536694f12a6
3,364
py
Python
py_trees_ros/visitors.py
geoc1234/py_trees_ros
65a055624f9261d67f0168ef419aa650302f96d0
[ "BSD-3-Clause" ]
65
2019-05-01T08:21:42.000Z
2022-03-23T15:49:55.000Z
py_trees_ros/visitors.py
geoc1234/py_trees_ros
65a055624f9261d67f0168ef419aa650302f96d0
[ "BSD-3-Clause" ]
62
2019-02-27T14:27:42.000Z
2022-02-08T03:54:30.000Z
py_trees_ros/visitors.py
geoc1234/py_trees_ros
65a055624f9261d67f0168ef419aa650302f96d0
[ "BSD-3-Clause" ]
23
2019-03-03T17:09:59.000Z
2022-01-06T03:07:59.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # License: BSD # https://raw.githubusercontent.com/splintered-reality/py_trees_ros/devel/LICENSE # ############################################################################## # Documentation ###########################################################################...
31.735849
92
0.568668
371
3,364
5.010782
0.390836
0.048951
0.021517
0.033889
0.083916
0.083916
0.049489
0.049489
0.049489
0
0
0.001495
0.204518
3,364
105
93
32.038095
0.693199
0.426278
0
0.258065
0
0
0.038613
0
0
0
0
0.009524
0
1
0.225806
false
0
0.16129
0
0.451613
0
0
0
0
null
0
0
0
0
0
0
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
e1c8c4baec324f5e5f8e13e03541f29a1a32842d
11,394
py
Python
Jarvis/features/Friday_Blueprint.py
faizeraza/Jarvis-Virtual-Assistant-
da88fc0124e6020aff1030317dc3dc918f7aa017
[ "MIT" ]
1
2021-12-14T00:18:10.000Z
2021-12-14T00:18:10.000Z
Jarvis/features/Friday_Blueprint.py
faizeraza/Jarvis-Virtual-Assistant-
da88fc0124e6020aff1030317dc3dc918f7aa017
[ "MIT" ]
null
null
null
Jarvis/features/Friday_Blueprint.py
faizeraza/Jarvis-Virtual-Assistant-
da88fc0124e6020aff1030317dc3dc918f7aa017
[ "MIT" ]
1
2021-12-29T05:01:02.000Z
2021-12-29T05:01:02.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Friday_Blueprint.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtC...
49.755459
121
0.722924
1,260
11,394
6.405556
0.15873
0.128361
0.049065
0.028993
0.411225
0.375542
0.243588
0.182629
0.099368
0.070871
0
0.045651
0.167544
11,394
228
122
49.973684
0.805271
0.031683
0
0
1
0
0.075744
0.04971
0
0
0
0
0
1
0.015957
false
0
0.010638
0
0.031915
0
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
e1c8d5b0e59bc3cff42a51e6c70986bae9cb73c9
3,201
py
Python
pints/toy/_logistic_model.py
iamleeg/pints
bd1c11472ff3ec0990f3d55f0b2f20d92397926d
[ "BSD-3-Clause" ]
null
null
null
pints/toy/_logistic_model.py
iamleeg/pints
bd1c11472ff3ec0990f3d55f0b2f20d92397926d
[ "BSD-3-Clause" ]
null
null
null
pints/toy/_logistic_model.py
iamleeg/pints
bd1c11472ff3ec0990f3d55f0b2f20d92397926d
[ "BSD-3-Clause" ]
null
null
null
# # Logistic toy model. # # This file is part of PINTS. # Copyright (c) 2017-2019, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # from __future__ import absolute_import, division from __future__ import print_function, unicode_literals import n...
34.419355
79
0.555764
403
3,201
4.287841
0.300248
0.008102
0.017361
0.011574
0.243056
0.112847
0.076968
0.035301
0.017361
0.017361
0
0.02932
0.296782
3,201
92
80
34.793478
0.738339
0.391128
0
0.093023
0
0
0.036066
0
0
0
0
0
0
1
0.162791
false
0
0.116279
0
0.511628
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
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
e1ca3f7ea92eaa76db3dc052ef98666164a81b5e
414
py
Python
poo/pybank/bank.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
poo/pybank/bank.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
poo/pybank/bank.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
class Bank: def __init__(self): self.__agencies = [1111, 2222, 3333] self.__costumers = [] self.__accounts = [] def insert_costumers(self, costumer): self.__costumers.append(costumer) def insert_accounts(self, account): self.__accounts.append(account) def authe...
25.875
44
0.63285
44
414
5.545455
0.477273
0.159836
0
0
0
0
0
0
0
0
0
0.039735
0.270531
414
15
45
27.6
0.768212
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bed8ffa1e73ffa405bfc1005a04f4f722ab41812
2,069
py
Python
api/migrations/0005_auto_20200906_1951.py
sh2MAN/yamdb_final
17f84bacd832237d88d3389605cf2acdf2a590f5
[ "BSD-3-Clause" ]
null
null
null
api/migrations/0005_auto_20200906_1951.py
sh2MAN/yamdb_final
17f84bacd832237d88d3389605cf2acdf2a590f5
[ "BSD-3-Clause" ]
null
null
null
api/migrations/0005_auto_20200906_1951.py
sh2MAN/yamdb_final
17f84bacd832237d88d3389605cf2acdf2a590f5
[ "BSD-3-Clause" ]
12
2021-02-11T16:39:00.000Z
2022-03-30T19:18:24.000Z
# Generated by Django 3.0.5 on 2020-09-06 19:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0004_auto_20200906_1752'), ] operations = [ migrations.AlterModelOptions( name='category...
34.483333
177
0.585307
190
2,069
6.205263
0.384211
0.102629
0.106022
0.122986
0.254453
0.254453
0.185751
0.154368
0.154368
0.154368
0
0.025589
0.282262
2,069
59
178
35.067797
0.76835
0.02175
0
0.566038
1
0
0.186944
0.011375
0
0
0
0
0
1
0
false
0
0.037736
0
0.09434
0
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
bed9a7c33d1cf837bf05eedf9e2389f71612ac64
1,104
py
Python
user_activity/models.py
adithya-bhat-b/user-activity
d2577bbb295ac381e08a31e296e3d681da7ab036
[ "MIT" ]
null
null
null
user_activity/models.py
adithya-bhat-b/user-activity
d2577bbb295ac381e08a31e296e3d681da7ab036
[ "MIT" ]
3
2021-04-08T22:04:18.000Z
2021-06-09T19:14:16.000Z
user_activity/models.py
adithya-bhat-b/user-activity
d2577bbb295ac381e08a31e296e3d681da7ab036
[ "MIT" ]
null
null
null
import pytz from django.db import models # Create your models here. def _get_time_zones(): """ Function to get all the timezones """ timezone_choices = [(tz, tz) for tz in pytz.all_timezones] return timezone_choices # Model for user class User(models.Model): """ User model: attri...
25.674419
74
0.646739
144
1,104
4.777778
0.375
0.040698
0.034884
0.049419
0.148256
0.090116
0.090116
0.090116
0
0
0
0.008653
0.26721
1,104
43
75
25.674419
0.84178
0.322464
0
0.117647
0
0
0.025185
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
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
bedb1dc2f3fdaeceb37c80ae1a87e69944c3c668
1,725
py
Python
lambda/populateDB/lambda_function.py
aws-samples/amazon-connect-dynamic-ivr-menus
911f5d04cf78d3097cfe7e169bd0062459d61ec4
[ "MIT-0" ]
4
2021-06-24T14:42:42.000Z
2021-12-13T07:08:48.000Z
lambda/populateDB/lambda_function.py
aws-samples/amazon-connect-dynamic-ivr-menus
911f5d04cf78d3097cfe7e169bd0062459d61ec4
[ "MIT-0" ]
1
2021-12-13T06:53:39.000Z
2021-12-13T06:53:39.000Z
lambda/populateDB/lambda_function.py
aws-samples/amazon-connect-dynamic-ivr-menus
911f5d04cf78d3097cfe7e169bd0062459d61ec4
[ "MIT-0" ]
2
2021-06-10T18:54:03.000Z
2021-12-13T08:07:05.000Z
import json import boto3 import os def lambda_handler(event, context): # TODO implement dynamodb = boto3.resource('dynamodb') customerTable = os.environ['customerTable'] table1 = dynamodb.Table(customerTable) policiesTable = os.environ['policiesTable'] table2 = dynamodb.Table(policiesTabl...
28.278689
176
0.584348
172
1,725
5.819767
0.488372
0.041958
0.065934
0.067932
0.333666
0.283716
0.211788
0.115884
0.115884
0.115884
0
0.022862
0.315362
1,725
60
177
28.75
0.824725
0.04
0
0.291667
0
0.0625
0.445251
0
0
0
0
0.016667
0
1
0.020833
false
0
0.0625
0
0.104167
0
0
0
0
null
0
0
0
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
bedeaa04e3aa523fae916c1f3ad83805bf94106f
2,849
py
Python
examples/s5b_transfer/s5b_receiver.py
isabella232/slixmpp
e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a
[ "BSD-3-Clause" ]
null
null
null
examples/s5b_transfer/s5b_receiver.py
isabella232/slixmpp
e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a
[ "BSD-3-Clause" ]
1
2021-02-24T07:58:40.000Z
2021-02-24T07:58:40.000Z
examples/s5b_transfer/s5b_receiver.py
isabella232/slixmpp
e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Slixmpp: The Slick XMPP Library Copyright (C) 2015 Emmanuel Gil Peyrot This file is part of Slixmpp. See the file LICENSE for copying permission. """ import asyncio import logging from getpass import getpass from argparse import ArgumentParser impo...
31.307692
77
0.630046
340
2,849
5.15
0.432353
0.0257
0.048544
0.032553
0.113649
0.045688
0.045688
0
0
0
0
0.010803
0.25272
2,849
90
78
31.655556
0.811649
0.2106
0
0.04
0
0
0.159163
0
0
0
0
0
0
1
0.08
false
0.16
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bee066a8fc595636f1ed42106327e650d743c5d7
1,529
py
Python
155.min-stack.py
elfgzp/leetCode
964c6574d310a9a6c486bf638487fd2f72b83b3f
[ "MIT" ]
3
2019-04-12T06:22:56.000Z
2019-05-04T04:25:01.000Z
155.min-stack.py
elfgzp/Leetcode
964c6574d310a9a6c486bf638487fd2f72b83b3f
[ "MIT" ]
null
null
null
155.min-stack.py
elfgzp/Leetcode
964c6574d310a9a6c486bf638487fd2f72b83b3f
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=155 lang=python3 # # [155] 最小栈 # # https://leetcode-cn.com/problems/min-stack/description/ # # algorithms # Easy (47.45%) # Total Accepted: 19.4K # Total Submissions: 40.3K # Testcase Example: '["MinStack","push","push","push","getMin","pop","top","getMin"]\n[[],[-2],[0],[-3],[],[],[],[]]...
19.602564
118
0.530412
189
1,529
4.185185
0.407407
0.070796
0.040455
0.035398
0
0
0
0
0
0
0
0.027322
0.281884
1,529
77
119
19.857143
0.693078
0.533682
0
0.2
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.1
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bee68e7de68c03f76e1ccae51e5aa678663d50fa
493
py
Python
ariadne_server/tests/fixtures/fake_context.py
seanaye/FeatherLight-API
4d42a424762311ee35b3fd4f689883aa4197eb2e
[ "MIT" ]
3
2020-06-28T17:30:57.000Z
2022-01-25T18:03:38.000Z
ariadne_server/tests/fixtures/fake_context.py
seanaye/FeatherLight-API
4d42a424762311ee35b3fd4f689883aa4197eb2e
[ "MIT" ]
null
null
null
ariadne_server/tests/fixtures/fake_context.py
seanaye/FeatherLight-API
4d42a424762311ee35b3fd4f689883aa4197eb2e
[ "MIT" ]
1
2021-02-04T07:14:08.000Z
2021-02-04T07:14:08.000Z
from secrets import token_hex import pytest class Object: pass class FakeContext(dict): def __init__(self): req_obj = Object() req_obj.cookies = {} req_obj.client = Object() req_obj.client.host = token_hex(5) req_obj.headers = { 'origin': 'some_origin...
18.259259
47
0.584178
58
493
4.724138
0.603448
0.131387
0.087591
0
0
0
0
0
0
0
0
0.002882
0.296146
493
27
48
18.259259
0.786744
0
0
0
0
0
0.097166
0
0
0
0
0
0
1
0.111111
false
0.055556
0.111111
0.055556
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
beea57272100654c7600d64caab6b4c5cdc2179e
2,484
py
Python
articlequality/feature_lists/tests/test_enwiki.py
mariushoch/articlequality
57edf786636548bed466aa4e9d9e213fe8d1093b
[ "MIT" ]
null
null
null
articlequality/feature_lists/tests/test_enwiki.py
mariushoch/articlequality
57edf786636548bed466aa4e9d9e213fe8d1093b
[ "MIT" ]
null
null
null
articlequality/feature_lists/tests/test_enwiki.py
mariushoch/articlequality
57edf786636548bed466aa4e9d9e213fe8d1093b
[ "MIT" ]
null
null
null
from revscoring.datasources.revision_oriented import revision from revscoring.dependencies import solve from .. import enwiki revision_text = revision.text def test_cite_templates(): text = """ This is some text with a citation.<ref>{{cite lol|title=Made up}}</ref> This is some more text. {{foo}} {{{cit...
27
76
0.654589
356
2,484
4.457865
0.235955
0.037807
0.063012
0.030876
0.619408
0.522369
0.518589
0.518589
0.42281
0.414619
0
0.007172
0.214171
2,484
91
77
27.296703
0.80584
0
0
0.444444
0
0
0.605475
0.114734
0
0
0
0
0.095238
1
0.095238
false
0
0.047619
0
0.142857
0
0
0
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
bef2574ded37985d33b872832104339ea2dcbc78
384
py
Python
project_9/util.py
sople1/project_9
7d91d786533d508572feae1ffbd1b4a6a80208ab
[ "CC0-1.0" ]
null
null
null
project_9/util.py
sople1/project_9
7d91d786533d508572feae1ffbd1b4a6a80208ab
[ "CC0-1.0" ]
null
null
null
project_9/util.py
sople1/project_9
7d91d786533d508572feae1ffbd1b4a6a80208ab
[ "CC0-1.0" ]
null
null
null
""" utility for project 9 :author: Seongsu Yoon <sople1@snooey.net> :license: CC0 """ def clear(): """ clear cmd/term :return: void """ import os import sys if sys.platform == 'win32': os.system('cls') # on windows else: os.system('clear') # on linux / os x if __...
14.769231
45
0.570313
49
384
4.306122
0.77551
0.075829
0
0
0
0
0
0
0
0
0
0.018248
0.286458
384
25
46
15.36
0.751825
0.354167
0
0
0
0
0.177273
0
0
0
0
0
0
1
0.111111
true
0
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
bef786a72fbb29131b60f5c806a5c2a1d2c1e463
3,135
py
Python
software/nuke/init.py
kei-iketani/plex
cf09c8ef93984e5a69b23bf56248b87e4cfd98b0
[ "MIT" ]
153
2018-03-22T18:29:17.000Z
2022-03-07T03:43:09.000Z
software/nuke/init.py
kei-iketani/plex
cf09c8ef93984e5a69b23bf56248b87e4cfd98b0
[ "MIT" ]
30
2018-08-16T16:27:42.000Z
2021-02-24T05:37:25.000Z
software/nuke/init.py
alexanderrichter/arPipeline
3466f70a79e4d32c0647ba21d9689157a0f7772e
[ "MIT" ]
34
2018-03-24T03:54:05.000Z
2022-03-10T11:36:52.000Z
#********************************************************************* # content = init Nuke # version = 0.1.0 # date = 2019-12-01 # # license = MIT <https://github.com/alexanderrichtertd> # author = Alexander Richter <alexanderrichtertd.com> #**************************************************************...
30.436893
89
0.536204
333
3,135
4.888889
0.33033
0.060811
0.051597
0.031327
0.251843
0.183047
0.183047
0.14742
0.124079
0.07371
0
0.013278
0.159171
3,135
102
90
30.735294
0.604325
0.29059
0
0.218182
0
0
0.173479
0
0
0
0
0
0
0
null
null
0
0.109091
null
null
0.145455
0
0
0
null
0
0
0
0
0
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
bef9a72ceb82bbb48832da89c306ea29b20a4752
863
py
Python
rnd/HaskellRSLCompiler/test/parse/test.py
syoyo/lucille
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
[ "BSD-3-Clause" ]
77
2015-01-29T21:02:10.000Z
2022-03-04T11:23:12.000Z
rnd/HaskellRSLCompiler/test/parse/test.py
syoyo/lucille
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
[ "BSD-3-Clause" ]
1
2018-11-08T02:11:24.000Z
2018-11-08T04:31:17.000Z
rnd/HaskellRSLCompiler/test/parse/test.py
syoyo/lucille
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
[ "BSD-3-Clause" ]
13
2015-04-20T08:17:29.000Z
2020-06-17T18:35:06.000Z
#!/usr/bin/env python import os, sys import subprocess import re import glob errlog = [] def run(f): cmd = "../../lslc" p = subprocess.Popen([cmd, f], stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) outs = [l for l in p.stdout] errs = [l for l in p.stderr] errline = re.compile...
17.979167
98
0.499421
114
863
3.701754
0.429825
0.047393
0.07109
0.033175
0.037915
0
0
0
0
0
0
0.001689
0.314021
863
47
99
18.361702
0.711149
0.023175
0
0.0625
0
0
0.102138
0.024941
0
0
0
0
0
0
null
null
0
0.125
null
null
0.09375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
befebe8c408a00b9be09490e9fa3fb8d41c06ce6
1,081
py
Python
tests/test_utils.py
tedeler/pyexchange
58042f473cbd4f00769249ce9ca20c6a376eddb6
[ "Apache-2.0" ]
128
2015-01-11T10:29:40.000Z
2021-06-25T05:27:45.000Z
tests/test_utils.py
tedeler/pyexchange
58042f473cbd4f00769249ce9ca20c6a376eddb6
[ "Apache-2.0" ]
52
2015-01-02T15:24:28.000Z
2020-08-07T04:49:49.000Z
tests/test_utils.py
tedeler/pyexchange
58042f473cbd4f00769249ce9ca20c6a376eddb6
[ "Apache-2.0" ]
96
2015-01-02T15:16:20.000Z
2021-12-25T01:37:46.000Z
from datetime import datetime from pytz import timezone, utc from pytest import mark from pyexchange.utils import convert_datetime_to_utc def test_converting_none_returns_none(): assert convert_datetime_to_utc(None) is None def test_converting_non_tz_aware_date_returns_tz_aware(): utc_time = datetime(year=2014,...
43.24
121
0.781684
181
1,081
4.453039
0.342541
0.043424
0.084367
0.099256
0.400744
0.359801
0.223325
0.223325
0.223325
0.129032
0
0.042239
0.123959
1,081
24
122
45.041667
0.80887
0.205365
0
0
0
0
0.011696
0
0
0
0
0
0.285714
1
0.214286
false
0
0.285714
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
befed480f20eb883fd15d6235756ef7750bbee56
786
py
Python
vidpub/__main__.py
gary9630/session-video-publisher
6602f53d722af8e569c82b7de8ef79a63293c766
[ "0BSD" ]
null
null
null
vidpub/__main__.py
gary9630/session-video-publisher
6602f53d722af8e569c82b7de8ef79a63293c766
[ "0BSD" ]
5
2020-11-15T12:45:03.000Z
2021-12-07T08:29:40.000Z
vidpub/__main__.py
gary9630/session-video-publisher
6602f53d722af8e569c82b7de8ef79a63293c766
[ "0BSD" ]
4
2018-06-23T16:48:03.000Z
2021-04-18T09:51:29.000Z
import argparse from .upload_video import upload_video from .generate_playlist import generate_playlist def parse_args(argv): parser = argparse.ArgumentParser() parser.add_argument( "-u", "--upload", action="store_true", help="Upload videos to YouTube channel" ) parser.add_argument( "...
23.818182
99
0.675573
94
786
5.393617
0.43617
0.126233
0.076923
0.074951
0
0
0
0
0
0
0
0
0.204835
786
32
100
24.5625
0.8112
0
0
0.130435
1
0
0.227735
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
830448984e5a77e90d22cacc683d54197d1adc44
130,468
py
Python
pycity_calc/cities/scripts/city_generator/city_generator.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
4
2020-06-22T14:14:25.000Z
2021-11-08T11:47:01.000Z
pycity_calc/cities/scripts/city_generator/city_generator.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
4
2019-08-28T19:42:28.000Z
2019-08-28T19:43:44.000Z
pycity_calc/cities/scripts/city_generator/city_generator.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
null
null
null
# coding=utf-8 """ Script to generate city object. """ from __future__ import division import os import numpy as np import pickle import warnings import random import datetime import shapely.geometry.point as point import pycity_base.classes.Weather as weath import pycity_base.classes.demand.SpaceHeating as SpaceHeati...
44.482782
173
0.52153
13,984
130,468
4.640732
0.07337
0.010401
0.00735
0.005609
0.647266
0.603119
0.56156
0.528245
0.508583
0.488197
0
0.019183
0.405065
130,468
2,932
174
44.497954
0.816826
0.370957
0
0.435703
1
0
0.082985
0.005405
0
0
0
0
0.049924
1
0.012103
false
0
0.020424
0
0.049924
0.043116
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
830713faff66a018b4d3b736c65a71173ebb4219
3,078
py
Python
templates/php/functionsTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
templates/php/functionsTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
templates/php/functionsTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
import unittest import os if __name__ == '__main__' and __package__ is None: from os import sys, path sys.path.append(path.abspath(path.join(__file__, "..", ".."))) sys.path.append(path.abspath(path.join(__file__, "..", "..", "..", "classes_and_tests"))) from php.functions import * from src.mocking.MockFi...
34.58427
100
0.649448
333
3,078
5.717718
0.219219
0.029412
0.079832
0.113445
0.645483
0.583508
0.504727
0.415441
0.29937
0.29937
0
0.000823
0.210851
3,078
89
101
34.58427
0.783038
0
0
0.3
0
0
0.117379
0
0
0
0
0
0.1
0
null
null
0
0.125
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
830c809918b4ad486fc0af2abc3ed71d8ce032a1
1,161
py
Python
www/courses/cs1120/spring2017/code/day10.py
ic4f/sergey.cs.uni.edu
52bbf121f73603fdb465dae36dbe691fe39e6e47
[ "Unlicense" ]
null
null
null
www/courses/cs1120/spring2017/code/day10.py
ic4f/sergey.cs.uni.edu
52bbf121f73603fdb465dae36dbe691fe39e6e47
[ "Unlicense" ]
null
null
null
www/courses/cs1120/spring2017/code/day10.py
ic4f/sergey.cs.uni.edu
52bbf121f73603fdb465dae36dbe691fe39e6e47
[ "Unlicense" ]
null
null
null
def makePic(): file = pickAFile() return makePicture(file) def decreaseRed(picture): for pixel in getPixels(picture): setRed(pixel, getRed(pixel) * 0.2) repaint(picture) def decreaseRed2(picture): pixels = getPixels(picture) for i in range(len(pixels)): pixel = pixels[i] setRe...
23.22
41
0.612403
147
1,161
4.836735
0.285714
0.028129
0.042194
0.077356
0.49789
0.392405
0.344585
0.344585
0.344585
0.28692
0
0.060213
0.270457
1,161
49
42
23.693878
0.779221
0
0
0.45
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.075
0
0
0
null
0
0
0
0
0
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
830e1e09e8a968bc1c2ae3714f7a575834f1f2be
4,627
py
Python
tests/test_training.py
Hilly12/masters-code
60b20a0e5e4c0ab9152b090b679391d8d62ec88a
[ "MIT" ]
null
null
null
tests/test_training.py
Hilly12/masters-code
60b20a0e5e4c0ab9152b090b679391d8d62ec88a
[ "MIT" ]
null
null
null
tests/test_training.py
Hilly12/masters-code
60b20a0e5e4c0ab9152b090b679391d8d62ec88a
[ "MIT" ]
null
null
null
import torch import prifair as pf N_SAMPLES = 10000 VAL_SAMPLES = 1000 STUDENT_SAMPLES = 5000 INPUTS = 1000 OUTPUTS = 5 BATCH_SIZE = 256 MAX_PHYSICAL_BATCH_SIZE = 128 EPSILON = 2.0 DELTA = 1e-5 MAX_GRAD_NORM = 1.0 N_TEACHERS = 4 N_GROUPS = 10 EPOCHS = 2 class MockModel(torch.nn.Module): def __init__(self): ...
28.91875
84
0.690944
612
4,627
4.903595
0.160131
0.047984
0.069977
0.05998
0.722093
0.634122
0.602799
0.602799
0.602799
0.602799
0
0.010367
0.228658
4,627
159
85
29.100629
0.830485
0
0
0.554745
0
0
0.004322
0
0
0
0
0
0.051095
1
0.058394
false
0
0.014599
0.007299
0.087591
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
830e39c22c34be264cb1928c1b6da3f32584283d
177
py
Python
problem/01000~09999/02164/2164.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/02164/2164.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/02164/2164.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
from collections import deque n,x=int(input()),deque() for i in range(1,n+1): x.append(i) while len(x)>1: x.popleft() if len(x)==1: break x.append(x.popleft()) print(x.pop())
22.125
34
0.661017
37
177
3.162162
0.567568
0.034188
0.08547
0
0
0
0
0
0
0
0
0.025478
0.112994
177
8
35
22.125
0.719745
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
830ebcb1b5a538ed7758db2770eff5e0ab51ebf3
2,066
py
Python
gpvdm_gui/gui/json_fdtd.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
12
2016-09-13T08:58:13.000Z
2022-01-17T07:04:52.000Z
gpvdm_gui/gui/json_fdtd.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
3
2017-11-11T12:33:02.000Z
2019-03-08T00:48:08.000Z
gpvdm_gui/gui/json_fdtd.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
6
2019-01-03T06:17:12.000Z
2022-01-01T15:59:00.000Z
# # General-purpose Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall # model for 1st, 2nd and 3rd generation solar cells. # Copyright (C) 2008-2022 Roderick C. I. MacKenzie r.c.i.mackenzie at googlemail.com # # https://www.gpvdm.com # # This program is free software; you can redist...
31.30303
91
0.727009
325
2,066
4.427692
0.489231
0.087561
0.137596
0.18902
0.245309
0.160528
0.102849
0.063933
0.063933
0.063933
0
0.029495
0.14666
2,066
65
92
31.784615
0.786727
0.462246
0
0.068966
0
0
0.144311
0
0
0
0
0
0
1
0.068966
false
0
0.172414
0
0.310345
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
83150604a0fb11e77945d0c0fcad08abbb284ce0
342
py
Python
download_from_link.py
bogdanf555/scripts
42b7b36c5891da6dcde8f7889bdf0798f91bef12
[ "MIT" ]
null
null
null
download_from_link.py
bogdanf555/scripts
42b7b36c5891da6dcde8f7889bdf0798f91bef12
[ "MIT" ]
null
null
null
download_from_link.py
bogdanf555/scripts
42b7b36c5891da6dcde8f7889bdf0798f91bef12
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import requests import sys if __name__ == '__main__': if len(sys.argv) != 3: print("Error: you should pass 2 arguments: [link_to_download_from] [path_to_save_downloaded_file]") exit(1) url = sys.argv[1] r = requests.get(url, allow_redirects=True) open(sys.argv[2], '...
24.428571
107
0.660819
52
342
4.038462
0.75
0.1
0
0
0
0
0
0
0
0
0
0.021739
0.192982
342
13
108
26.307692
0.73913
0.049708
0
0
0
0
0.308642
0.16358
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
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
831850a395edae115c39b123b0382e44942149bf
644
py
Python
profiles/migrations/0002_auto_20211214_0825.py
praekeltfoundation/ge-web
331d22554dfd6b6f6060b1fd7a110f38dd7ddece
[ "BSD-2-Clause" ]
1
2022-03-09T15:11:52.000Z
2022-03-09T15:11:52.000Z
profiles/migrations/0002_auto_20211214_0825.py
praekeltfoundation/ge-web
331d22554dfd6b6f6060b1fd7a110f38dd7ddece
[ "BSD-2-Clause" ]
14
2022-01-03T09:49:41.000Z
2022-03-31T12:53:31.000Z
profiles/migrations/0002_auto_20211214_0825.py
praekeltfoundation/ge-web
331d22554dfd6b6f6060b1fd7a110f38dd7ddece
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.1.14 on 2021-12-14 08:25 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0066_collection_management_permissions'), ('profiles', '0001_initial'), ] operations = [ ...
30.666667
194
0.673913
74
644
5.716216
0.675676
0.056738
0.066194
0.104019
0
0
0
0
0
0
0
0.046967
0.206522
644
20
195
32.2
0.780822
0.071429
0
0
1
0
0.260067
0.063758
0.071429
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
831cac4a9b399f71b7446e06e08d2d1e23c17328
1,335
py
Python
app/marketing/migrations/0002_membership.py
NDevox/website
76004e667f2295eddd79d500ba21f02a0480412f
[ "Apache-2.0" ]
null
null
null
app/marketing/migrations/0002_membership.py
NDevox/website
76004e667f2295eddd79d500ba21f02a0480412f
[ "Apache-2.0" ]
null
null
null
app/marketing/migrations/0002_membership.py
NDevox/website
76004e667f2295eddd79d500ba21f02a0480412f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-12 04:25 from __future__ import unicode_literals from django.db import migrations, models def forward(apps, schema_editor): db_alias = schema_editor.connection.alias Cron = apps.get_model('django_celery_beat', 'CrontabSchedule') cron = Cron...
32.560976
114
0.605243
138
1,335
5.644928
0.608696
0.026958
0.088575
0.046213
0.136072
0.071887
0
0
0
0
0
0.023614
0.270412
1,335
40
115
33.375
0.776181
0.054682
0
0
1
0
0.174881
0.036566
0
0
0
0
0
1
0.035714
false
0
0.071429
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
83207ebe69e3bf9bcd3f660b07c8f5bca9f8663b
2,038
py
Python
seeq/addons/clustering/__main__.py
seeq12/seeq-clustering
220793499d5f9669e7d9dde4820af0eee27f84dc
[ "Apache-2.0" ]
3
2021-10-15T05:32:44.000Z
2021-12-14T16:33:24.000Z
seeq/addons/clustering/__main__.py
seeq12/seeq-clustering
220793499d5f9669e7d9dde4820af0eee27f84dc
[ "Apache-2.0" ]
2
2021-11-19T17:46:06.000Z
2022-01-20T06:54:00.000Z
seeq/addons/clustering/__main__.py
seeq12/seeq-clustering
220793499d5f9669e7d9dde4820af0eee27f84dc
[ "Apache-2.0" ]
null
null
null
import os import sys import argparse from ._install_addon import install_addon def cli_interface(): """ Installs Seeq Add-on Tool """ parser = argparse.ArgumentParser(description='Install Clustering as a Seeq Add-on Tool') parser.add_argument('--username', type=str, default=None, ...
49.707317
195
0.632483
263
2,038
4.787072
0.376426
0.05004
0.094519
0.042891
0.225576
0.115965
0.115965
0.115965
0.115965
0.115965
0
0.016513
0.257115
2,038
41
196
49.707317
0.815059
0.012267
0
0.090909
0
0.090909
0.442173
0
0
0
0
0
0
1
0.030303
false
0.090909
0.121212
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8321d10093f3ed3b6d58be76b8214f867e414822
939
py
Python
utils/customchecks.py
arielbeje/good-bot-name
de1429ea5b653fd8ee88d649452ebef7e7399e5b
[ "MIT" ]
10
2018-04-08T00:02:18.000Z
2022-01-25T18:34:06.000Z
utils/customchecks.py
arielbeje/good-bot-name
de1429ea5b653fd8ee88d649452ebef7e7399e5b
[ "MIT" ]
14
2018-01-26T16:55:09.000Z
2021-09-19T11:35:58.000Z
utils/customchecks.py
arielbeje/Good_Bot_Name
de1429ea5b653fd8ee88d649452ebef7e7399e5b
[ "MIT" ]
14
2018-02-14T01:35:08.000Z
2021-03-30T12:18:03.000Z
""" Code stolen from https://github.com/Rapptz/discord.py """ import functools import discord from discord.ext import commands from . import sql class NotAModError(commands.CheckFailure): pass class NoTokenError(Exception): pass def is_mod(): async def predicate(ctx): ch = ctx.channel ...
24.076923
140
0.652822
115
939
5.313043
0.547826
0.032733
0.075286
0.091653
0
0
0
0
0
0
0
0.001437
0.258786
939
38
141
24.710526
0.876437
0.056443
0
0.32
0
0
0.050114
0
0
0
0
0
0
1
0.04
false
0.08
0.16
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
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
832283ba27d3f56129d5cb0cef3c3b8a60934088
2,974
py
Python
tests/test_motif_finder.py
gaybro8777/RStudio-GitHub-Analysis
014195c90ca49f64d28c9fcd96d128301ff65157
[ "BSD-2-Clause" ]
2
2020-09-13T11:55:13.000Z
2021-05-23T01:29:19.000Z
tests/test_motif_finder.py
gaybro8777/RStudio-GitHub-Analysis
014195c90ca49f64d28c9fcd96d128301ff65157
[ "BSD-2-Clause" ]
null
null
null
tests/test_motif_finder.py
gaybro8777/RStudio-GitHub-Analysis
014195c90ca49f64d28c9fcd96d128301ff65157
[ "BSD-2-Clause" ]
2
2020-10-17T20:18:37.000Z
2021-05-23T01:29:25.000Z
""" This script tests the classes and functions from motif_finder.py. Parameters ---------- None Returns ------- Assertion errors if tests fail """ import sys import random import pickle import networkx as nx from github_analysis.big_cloud_scratch import git_graph from github_analysis.data_layer import getCommitsBy...
28.596154
115
0.751849
429
2,974
4.920746
0.254079
0.043108
0.094742
0.087162
0.501658
0.421127
0.275225
0.175272
0.175272
0.175272
0
0.010878
0.165434
2,974
104
116
28.596154
0.839645
0.331876
0
0.156863
0
0
0.023896
0
0
0
0
0
0.156863
1
0.235294
false
0.019608
0.156863
0
0.431373
0
0
0
0
null
0
0
0
0
0
0
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
83245e358084afd5d7f959c3a7aebfc9ab55bb73
1,107
py
Python
torrent.py
fishy/scripts
91abd0451cae916d885f4ff0fd2f69d335d37cf3
[ "BSD-3-Clause" ]
4
2016-05-09T13:42:23.000Z
2021-11-29T15:16:11.000Z
torrent.py
fishy/scripts
91abd0451cae916d885f4ff0fd2f69d335d37cf3
[ "BSD-3-Clause" ]
null
null
null
torrent.py
fishy/scripts
91abd0451cae916d885f4ff0fd2f69d335d37cf3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys import os from types import StringType # get bencode package from http://github.com/fishy/scripts/downloads from bencode.bencode import bencode, bdecode, BTFailure try : torrent = sys.argv[1] except IndexError : print "Usage: \"%s <torrent_file> [tracker_url]\" to show torrent info ...
23.0625
130
0.68925
176
1,107
4.3125
0.369318
0.064559
0.084321
0.043478
0.28722
0.258235
0.258235
0.258235
0.258235
0.258235
0
0.009677
0.159892
1,107
47
131
23.553191
0.806452
0.078591
0
0.358974
0
0
0.134578
0
0
0
0
0
0
0
null
null
0
0.102564
null
null
0.102564
0
0
0
null
0
0
0
0
0
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
832b2f005e0af85ddb6e44118b2f277f3ecf6b06
571
py
Python
Dataset/Leetcode/valid/78/455.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/78/455.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/78/455.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def __init__(self): self.result = [] def XXX(self, nums): return self.helper(nums, 0, []) def helper(self, nums, index, temp): if index == len(nums): self.result.append(temp) return self.result.append(temp) for i in range(ind...
27.190476
139
0.576182
70
571
4.642857
0.414286
0.123077
0.086154
0.098462
0
0
0
0
0
0
0
0.007264
0.276708
571
20
140
28.55
0.779661
0
0
0.133333
0
0
0.01406
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
832b736a0869d3dc222dea9d11955ffc80809ec5
1,322
py
Python
IDS/IDS/urls.py
YashwantChauhan/SDL
0d48dfa129d72316f35967df98ce2f1e6f949fc5
[ "MIT" ]
2
2020-12-24T15:13:49.000Z
2021-06-05T15:43:58.000Z
IDS/IDS/urls.py
YashwantChauhan/SDL
0d48dfa129d72316f35967df98ce2f1e6f949fc5
[ "MIT" ]
2
2021-12-28T14:06:20.000Z
2021-12-28T14:25:44.000Z
IDS/IDS/urls.py
YashwantChauhan/SDL
0d48dfa129d72316f35967df98ce2f1e6f949fc5
[ "MIT" ]
null
null
null
"""IDS URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
38.882353
77
0.723147
194
1,322
4.85567
0.324742
0.053079
0.015924
0.025478
0.124204
0.124204
0.079618
0
0
0
0
0.007162
0.155068
1,322
33
78
40.060606
0.836168
0.46823
0
0
0
0
0.086207
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
832fa03411fdc8cba2cd96e51a219e3ef9e4283a
975
py
Python
main.py
BL-Lac149597870/drugVQA
604703d66457c958ddc9eeb35268391edb6c4996
[ "MIT" ]
null
null
null
main.py
BL-Lac149597870/drugVQA
604703d66457c958ddc9eeb35268391edb6c4996
[ "MIT" ]
null
null
null
main.py
BL-Lac149597870/drugVQA
604703d66457c958ddc9eeb35268391edb6c4996
[ "MIT" ]
null
null
null
''' Author: QHGG Date: 2021-02-27 13:42:43 LastEditTime: 2021-03-01 23:26:38 LastEditors: QHGG Description: FilePath: /drugVQA/main.py ''' import torch from sklearn import metrics import warnings warnings.filterwarnings("ignore") torch.cuda.set_device(0) print('cuda size == 1') from trainAndTest import * import time d...
28.676471
87
0.645128
139
975
4.460432
0.582734
0.03871
0.058065
0.101613
0.159677
0.159677
0.159677
0.159677
0.159677
0.159677
0
0.037688
0.18359
975
33
88
29.545455
0.741206
0.220513
0
0
0
0
0.138399
0
0
0
0
0
0
1
0.1
true
0
0.25
0.05
0.4
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8330e631a49e6776f2efa9742d5ed0e6a7e38620
6,556
py
Python
src/utility.py
bbookman/demand
47101843ab84f4161e618edfa5a8e8fea2e1d955
[ "MIT" ]
null
null
null
src/utility.py
bbookman/demand
47101843ab84f4161e618edfa5a8e8fea2e1d955
[ "MIT" ]
null
null
null
src/utility.py
bbookman/demand
47101843ab84f4161e618edfa5a8e8fea2e1d955
[ "MIT" ]
null
null
null
import sys, re, pdb from bs4 import BeautifulSoup as beautiful from datetime import datetime import requests, logging import timeout_decorator, pandas as pd import socket, urllib3 def read_input_file(): #todo - what if argument is not there or invalid? print_and_log('Reading input file') file = sys.argv[2...
33.111111
119
0.657413
915
6,556
4.542077
0.287432
0.038499
0.052936
0.025987
0.19538
0.154475
0.101781
0.101781
0.08205
0.08205
0
0.011337
0.219646
6,556
197
120
33.279188
0.801016
0.151769
0
0.12766
0
0.007092
0.199232
0.055748
0
0
0
0.010152
0
1
0.141844
false
0
0.042553
0
0.319149
0.156028
0
0
0
null
0
0
0
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
8331c341859f7ceb90f3dad9bbc18d41377413e5
1,940
py
Python
section_11_(api)/dicts_and_lists.py
hlcooll/python_lessons
3790f98cbc5a0721fcfc9e5f52ba79a64878f362
[ "MIT" ]
425
2015-01-13T03:19:10.000Z
2022-03-13T00:34:44.000Z
section_11_(api)/dicts_and_lists.py
Supercodero/python-lessons
38409c318e7a62d30b2ffd68f8a7a5a5ec00778d
[ "MIT" ]
null
null
null
section_11_(api)/dicts_and_lists.py
Supercodero/python-lessons
38409c318e7a62d30b2ffd68f8a7a5a5ec00778d
[ "MIT" ]
178
2015-01-08T05:01:05.000Z
2021-12-02T00:56:58.000Z
# Dictionaries and lists, together # Loading from https://raw.githubusercontent.com/shannonturner/education-compliance-reports/master/investigations.json investigations = { "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ -11...
26.216216
118
0.625258
233
1,940
5.206009
0.476395
0.012366
0.054411
0.06925
0.301731
0.239077
0.174773
0.174773
0.131904
0.131904
0
0.03272
0.243814
1,940
74
119
26.216216
0.794138
0.557216
0
0.358974
0
0
0.399522
0
0
0
0
0
0
0
null
null
0
0
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
83383133f1e2636bee0ef87328b2ad1c26e323fd
1,288
py
Python
Desafio horario atual/__init__.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
1
2021-09-01T01:58:13.000Z
2021-09-01T01:58:13.000Z
Desafio horario atual/__init__.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
null
null
null
Desafio horario atual/__init__.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
null
null
null
# num1 = input("Digite um número inteiro: ") # # # try: # # if num1.isnumeric() : # num1 = int(num1) # if (num1 % 2) == 0 : # print("Você digitou um número par.") # elif (num1 % 2) != 0: # print("Você digitou um número ímpar.") # else: # print("Voc...
30.666667
131
0.420807
132
1,288
4.098485
0.325758
0.133087
0.133087
0.210721
0.554529
0.554529
0.475046
0.110906
0
0
0
0.015806
0.263199
1,288
41
132
31.414634
0.554268
0.375
0
0.266667
0
0
0.369025
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
833a1a0c360f3cdcf8d7b6c1f70840aed091b251
699
py
Python
Lista 2/Exercicio 14.py
GiovannaPazello/Projetos-em-Python
3cf7edbdf2a2350605a775389f7fe2cc7fe8032e
[ "MIT" ]
null
null
null
Lista 2/Exercicio 14.py
GiovannaPazello/Projetos-em-Python
3cf7edbdf2a2350605a775389f7fe2cc7fe8032e
[ "MIT" ]
null
null
null
Lista 2/Exercicio 14.py
GiovannaPazello/Projetos-em-Python
3cf7edbdf2a2350605a775389f7fe2cc7fe8032e
[ "MIT" ]
null
null
null
'''Faça um programa que gere números aleatórios entre 0 e 50 até o número 32 ser gerado. Quando isso ocorrer, informar: a. A soma de todos os números gerados b. A quantidade de números gerados que é impar c. O menor número gerado''' import random x = random.randint(0,50) cont = 32 somaNumeros = 0 qqntImpares = 0 meno...
23.3
80
0.690987
107
699
4.514019
0.457944
0.043478
0.028986
0.049689
0.15735
0.086957
0
0
0
0
0
0.036364
0.213162
699
29
81
24.103448
0.841818
0.323319
0
0.125
0
0
0.186551
0
0
0
0
0.034483
0
1
0
false
0
0.0625
0
0.0625
0.1875
0
0
0
null
0
0
0
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
833a4ecb5ab38b8de2e042cd613f15a274dee6fa
1,556
py
Python
mavsim_python/chap4/wind_simulation.py
eyler94/mavsim_template_files
181a76f15dc454f5a6f58f4596d9039cbe388cd9
[ "MIT" ]
null
null
null
mavsim_python/chap4/wind_simulation.py
eyler94/mavsim_template_files
181a76f15dc454f5a6f58f4596d9039cbe388cd9
[ "MIT" ]
null
null
null
mavsim_python/chap4/wind_simulation.py
eyler94/mavsim_template_files
181a76f15dc454f5a6f58f4596d9039cbe388cd9
[ "MIT" ]
1
2021-11-15T09:53:42.000Z
2021-11-15T09:53:42.000Z
""" Class to determine wind velocity at any given moment, calculates a steady wind speed and uses a stochastic process to represent wind gusts. (Follows section 4.4 in uav book) """ import sys sys.path.append('..') import numpy as np class wind_simulation: def __init__(self, Ts): # steady state wind define...
38.9
105
0.628535
238
1,556
3.991597
0.441176
0.057895
0.054737
0.053684
0.110526
0
0
0
0
0
0
0.011545
0.27635
1,556
39
106
39.897436
0.832149
0.457584
0
0
0
0
0.003082
0
0
0
0
0
0
0
null
null
0
0.111111
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
833c0720b2fa02e3aacf53733cbb5dfadce129a9
326
py
Python
project4/network/migrations/0005_remove_post_likers.py
mjs375/cs50_Network
31a2399f4429931b15721861a2940b57811ae844
[ "MIT" ]
null
null
null
project4/network/migrations/0005_remove_post_likers.py
mjs375/cs50_Network
31a2399f4429931b15721861a2940b57811ae844
[ "MIT" ]
null
null
null
project4/network/migrations/0005_remove_post_likers.py
mjs375/cs50_Network
31a2399f4429931b15721861a2940b57811ae844
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-15 16:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('network', '0004_auto_20201111_2224'), ] operations = [ migrations.RemoveField( model_name='post', name='likers', ), ...
18.111111
47
0.588957
35
326
5.371429
0.828571
0
0
0
0
0
0
0
0
0
0
0.135371
0.297546
326
17
48
19.176471
0.68559
0.138037
0
0
1
0
0.143369
0.082437
0
0
0
0
0
1
0
false
0
0.090909
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83419d745e57d76be4f84f2cf4a69352d320b89f
738
py
Python
users/urls.py
mahmutcankurt/DjangoBlogSite
8597bbe7ed066b50e02367a98f0062deb37d251d
[ "Apache-2.0" ]
3
2021-01-24T13:14:33.000Z
2022-01-25T22:17:59.000Z
users/urls.py
mahmutcankurt1/staj
8597bbe7ed066b50e02367a98f0062deb37d251d
[ "Apache-2.0" ]
null
null
null
users/urls.py
mahmutcankurt1/staj
8597bbe7ed066b50e02367a98f0062deb37d251d
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from .views import signupView, activate, account_activation_sent, user_login, user_logout, user_edit_profile, user_change_password urlpatterns = [ url(r'^register/$', signupView, name='register'), url(r'^account_activation_sent/$', account_activation_sent, name='account_activat...
43.411765
130
0.703252
107
738
4.579439
0.308411
0.057143
0.171429
0.036735
0.028571
0
0
0
0
0
0
0.021244
0.107046
738
16
131
46.125
0.722307
0
0
0
0
0.083333
0.36635
0.183175
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8343385a22dd30ea40482bf144f766b74f99b606
6,969
py
Python
tutorials/rhythm/plot_SlidingWindowMatching.py
bcmartinb/neurodsp
36d8506f3bd916f83b093a62843ffb77647a6e1e
[ "Apache-2.0" ]
154
2019-01-30T04:10:48.000Z
2022-03-30T12:55:00.000Z
tutorials/rhythm/plot_SlidingWindowMatching.py
bcmartinb/neurodsp
36d8506f3bd916f83b093a62843ffb77647a6e1e
[ "Apache-2.0" ]
159
2019-01-28T22:49:36.000Z
2022-03-17T16:42:48.000Z
tutorials/rhythm/plot_SlidingWindowMatching.py
bcmartinb/neurodsp
36d8506f3bd916f83b093a62843ffb77647a6e1e
[ "Apache-2.0" ]
42
2019-05-31T21:06:44.000Z
2022-03-25T23:17:57.000Z
""" Sliding Window Matching ======================= Find recurring patterns in neural signals using Sliding Window Matching. This tutorial primarily covers the :func:`~.sliding_window_matching` function. """ ################################################################################################### # Overvie...
39.822857
99
0.578275
819
6,969
4.863248
0.346764
0.04243
0.068541
0.024102
0.057243
0.03063
0
0
0
0
0
0.0061
0.129574
6,969
174
100
40.051724
0.650511
0.632228
0
0
0
0
0.024194
0
0
0
0
0
0
1
0
false
0
0.388889
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8343d14fcff75c3593b87cced0b3013a8661f9e3
719
py
Python
forge/auth/backends.py
django-forge/forge
6223d2a4e7a570dfba87c3ae2e14927010fe7fd9
[ "MIT" ]
3
2022-03-30T22:14:35.000Z
2022-03-31T22:04:42.000Z
forge/auth/backends.py
django-forge/forge
6223d2a4e7a570dfba87c3ae2e14927010fe7fd9
[ "MIT" ]
null
null
null
forge/auth/backends.py
django-forge/forge
6223d2a4e7a570dfba87c3ae2e14927010fe7fd9
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.contrib.auth.backends import ModelBackend UserModel = get_user_model() class EmailModelBackend(ModelBackend): def authenticate(self, request, username=None, password=None, **kwargs): if username is None: email = kwargs.get(UserModel.E...
28.76
82
0.66064
79
719
5.873418
0.468354
0.043103
0.073276
0.090517
0
0
0
0
0
0
0
0
0.267038
719
24
83
29.958333
0.880455
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.055556
false
0.111111
0.111111
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
83499ec97a8ebaba9f0df370c50f48f1b192aa91
719
py
Python
ved/migrations/0010_auto_20180303_1353.py
mjovanc/tidlundsved
da55a07d02f04bc636299fe4d236aa19188a359b
[ "MIT" ]
1
2019-04-19T20:39:39.000Z
2019-04-19T20:39:39.000Z
ved/migrations/0010_auto_20180303_1353.py
mjovanc/tidlundsved
da55a07d02f04bc636299fe4d236aa19188a359b
[ "MIT" ]
3
2020-01-15T22:21:14.000Z
2020-01-15T22:21:15.000Z
ved/migrations/0010_auto_20180303_1353.py
mjovanc/tidlundsved
da55a07d02f04bc636299fe4d236aa19188a359b
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-03-03 13:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ved', '0009_auto_20180302_1839'), ] operations = [ migrations.AlterField( model_name='order', name='firewood_choice'...
29.958333
201
0.606398
77
719
5.519481
0.584416
0.063529
0.117647
0.136471
0.178824
0.178824
0
0
0
0
0
0.065177
0.253129
719
23
202
31.26087
0.726257
0.062587
0
0.352941
1
0
0.220238
0.034226
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
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
8354f3e967b4c8a5432e55702c43dd8c0b61efde
415
py
Python
OrderService/Order/migrations/0003_order_payment_details.py
surajkendhey/Kart
458bee955d1569372fc8b3facb2602063a6ec6f5
[ "Apache-2.0" ]
null
null
null
OrderService/Order/migrations/0003_order_payment_details.py
surajkendhey/Kart
458bee955d1569372fc8b3facb2602063a6ec6f5
[ "Apache-2.0" ]
null
null
null
OrderService/Order/migrations/0003_order_payment_details.py
surajkendhey/Kart
458bee955d1569372fc8b3facb2602063a6ec6f5
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-18 09:41 from django.db import migrations import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('Order', '0002_auto_20201018_1503'), ] operations = [ migrations.AddField( model_name='order', name='...
20.75
59
0.621687
45
415
5.622222
0.777778
0.118577
0
0
0
0
0
0
0
0
0
0.10231
0.26988
415
19
60
21.842105
0.732673
0.108434
0
0
1
0
0.130435
0.0625
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
835f4e7f9614427e618dd0d65cdbcc8a97ccc269
157
py
Python
testtarget.py
epopisces/template_api_wrapper
e581eb31f6123ca2d93803453f2a1ab25c3c1981
[ "MIT" ]
null
null
null
testtarget.py
epopisces/template_api_wrapper
e581eb31f6123ca2d93803453f2a1ab25c3c1981
[ "MIT" ]
null
null
null
testtarget.py
epopisces/template_api_wrapper
e581eb31f6123ca2d93803453f2a1ab25c3c1981
[ "MIT" ]
null
null
null
class ToolNameAPI: thing = 'thing' toolname_tool = 'example' tln = ToolNameAPI() the_repo = "reponame" author = "authorname" profile = "authorprofile"
15.7
25
0.713376
16
157
6.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.165605
157
10
26
15.7
0.839695
0
0
0
0
0
0.272152
0
0
0
0
0
0
1
0
false
0
0
0
0.285714
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
0
0
0
1
8362ff8cbd0cfe323812bd28b2652a04191c1026
462
py
Python
getColorFromNumber.py
clean-code-craft-tcq-1/modular-python-preetikadyan
0775e7e62edbbb0d7c3506b2bd072562a44d7f8b
[ "MIT" ]
null
null
null
getColorFromNumber.py
clean-code-craft-tcq-1/modular-python-preetikadyan
0775e7e62edbbb0d7c3506b2bd072562a44d7f8b
[ "MIT" ]
null
null
null
getColorFromNumber.py
clean-code-craft-tcq-1/modular-python-preetikadyan
0775e7e62edbbb0d7c3506b2bd072562a44d7f8b
[ "MIT" ]
null
null
null
from main import * def get_color_from_pair_number(pair_number): zero_based_pair_number = pair_number - 1 major_index = zero_based_pair_number // len(MINOR_COLORS) if major_index >= len(MAJOR_COLORS): raise Exception('Major index out of range') minor_index = zero_based_pair_number % len(MINOR_COLORS) if mi...
42
61
0.779221
71
462
4.690141
0.323944
0.18018
0.117117
0.171171
0.24024
0.24024
0.24024
0.24024
0.24024
0
0
0.002513
0.138528
462
10
62
46.2
0.834171
0
0
0
0
0
0.103896
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
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
836a1f95f9bc7256c74547e4b46165f7f107b034
286
py
Python
test_service.py
jgawrilo/qcr_ci
bd4c192444e03a551e3c5f4f0a275a4c029294de
[ "Apache-2.0" ]
1
2020-03-05T13:27:39.000Z
2020-03-05T13:27:39.000Z
test_service.py
jgawrilo/qcr_ci
bd4c192444e03a551e3c5f4f0a275a4c029294de
[ "Apache-2.0" ]
null
null
null
test_service.py
jgawrilo/qcr_ci
bd4c192444e03a551e3c5f4f0a275a4c029294de
[ "Apache-2.0" ]
null
null
null
import requests import json headers = {'Content-Type': 'application/json'} data = json.load(open("./test_input2.json")) url = "http://localhost:5001/api/impact" response = requests.post(url,data=json.dumps({"data":data}),headers=headers) print json.dumps(response.json(),indent=2)
22
76
0.727273
40
286
5.175
0.6
0.077295
0
0
0
0
0
0
0
0
0
0.022901
0.083916
286
12
77
23.833333
0.767176
0
0
0
0
0
0.286713
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
836a92d066a5c850634a4179920f5c67049059c7
16,969
py
Python
google/appengine/ext/datastore_admin/backup_pb2.py
vladushakov987/appengine_python3
0dd481c73e2537a50ee10f1b79cd65938087e555
[ "Apache-2.0" ]
null
null
null
google/appengine/ext/datastore_admin/backup_pb2.py
vladushakov987/appengine_python3
0dd481c73e2537a50ee10f1b79cd65938087e555
[ "Apache-2.0" ]
null
null
null
google/appengine/ext/datastore_admin/backup_pb2.py
vladushakov987/appengine_python3
0dd481c73e2537a50ee10f1b79cd65938087e555
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
37.376652
1,971
0.736755
2,185
16,969
5.475515
0.134096
0.051488
0.058258
0.07673
0.643597
0.60448
0.570545
0.435891
0.392762
0.369609
0
0.047768
0.135188
16,969
453
1,972
37.459161
0.767496
0.033532
0
0.640704
0
0.002513
0.252396
0.217054
0
0
0
0
0
1
0
false
0
0.017588
0
0.017588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
836acb8a4b706f8933f3b1012b5068f029201a8e
11,254
py
Python
PSBChart_support.py
georgepruitt/PSBChart
ee31497ffb12f818bab7ec750425f9fc7259c0f8
[ "Apache-2.0" ]
1
2019-08-02T06:36:05.000Z
2019-08-02T06:36:05.000Z
PSBChart_support.py
schkr/PSBChart
bf19c2632491f18ba6ee6b3337bcb118350b9b3e
[ "Apache-2.0" ]
1
2018-02-07T21:20:43.000Z
2018-02-07T21:20:43.000Z
PSBChart_support.py
schkr/PSBChart
bf19c2632491f18ba6ee6b3337bcb118350b9b3e
[ "Apache-2.0" ]
1
2019-08-02T06:35:30.000Z
2019-08-02T06:35:30.000Z
#! /usr/bin/env python # # Support module generated by PAGE version 4.10 # In conjunction with Tcl version 8.6 # Jan 12, 2018 04:09:34 PM import turtle from turtle import TurtleScreen, RawTurtle, TK from tkinter.filedialog import askopenfilename import tkinter as tk import os.path import datetime import...
34.521472
150
0.494846
1,206
11,254
4.594527
0.208955
0.04187
0.024364
0.027793
0.298863
0.277567
0.251218
0.223606
0.201227
0.169464
0
0.036773
0.376577
11,254
325
151
34.627692
0.752993
0.109117
0
0.321569
1
0
0.040332
0
0
0
0
0
0
1
0.019608
false
0
0.062745
0
0.082353
0.027451
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
55c74a48da6996ad1f49dfbcbd9bd447049566b8
451
py
Python
python-pulseaudio-master/setup.py
rrbutani/SoundAndColor
44992fa188c109a3b11b2df137b9272a0b6203d8
[ "Unlicense" ]
null
null
null
python-pulseaudio-master/setup.py
rrbutani/SoundAndColor
44992fa188c109a3b11b2df137b9272a0b6203d8
[ "Unlicense" ]
null
null
null
python-pulseaudio-master/setup.py
rrbutani/SoundAndColor
44992fa188c109a3b11b2df137b9272a0b6203d8
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python from distutils.core import setup setup(name='libpulseaudio', version='1.1', description='simple libpulseaudio bindings', author='Valodim', author_email='valodim@mugenguild.com', license='LGPL', url='http://github.com/valodim/python-pulseaudio', packages=...
28.1875
73
0.662971
50
451
5.94
0.68
0.013468
0
0
0
0
0
0
0
0
0
0.010782
0.177384
451
15
74
30.066667
0.789757
0.044346
0
0
0
0
0.455814
0.051163
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
55ce2377676e46ea6ca7f0b0a8a26da468d757a5
1,861
py
Python
Sudoko.py
abirbhattacharya82/Sudoko-Solver
36ea15d16561fe5031548ed3f4c58757280117f6
[ "MIT" ]
1
2021-07-25T03:02:39.000Z
2021-07-25T03:02:39.000Z
Sudoko.py
abirbhattacharya82/Sudoku-Solver
36ea15d16561fe5031548ed3f4c58757280117f6
[ "MIT" ]
null
null
null
Sudoko.py
abirbhattacharya82/Sudoku-Solver
36ea15d16561fe5031548ed3f4c58757280117f6
[ "MIT" ]
null
null
null
def find_space(board): for i in range(0,9): for j in range(0,9): if board[i][j]==0: return (i,j) return None def check(board,num,r,c): for i in range(0,9): if board[r][i]==num and c!=i: return False for i in range(0,9): if board[...
23.2625
51
0.476088
366
1,861
2.409836
0.13388
0.036281
0.147392
0.170068
0.407029
0.367347
0.292517
0.216553
0.07483
0.07483
0
0.099823
0.391725
1,861
80
52
23.2625
0.679329
0
0
0.363636
0
0
0.043197
0.019438
0
0
0
0
0
1
0.090909
false
0
0
0
0.254545
0.109091
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
55d3a610da3467d16c45533e5d12b2a9f0ad38ba
1,457
py
Python
adbc/zql/builders/core.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
2
2020-07-17T16:33:42.000Z
2020-07-21T04:48:38.000Z
adbc/zql/builders/core.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
null
null
null
adbc/zql/builders/core.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
null
null
null
from adbc.zql.validator import Validator class Builder(Validator): INDENT = 4 IDENTIFIER_SPLIT_CHARACTER = '.' WHITESPACE_CHARACTER = ' ' WILDCARD_CHARACTER = '*' QUOTE_CHARACTERS = {'"', "'", '`'} RAW_QUOTE_CHARACTER = '`' COMMANDS = { 'select', 'insert', 'update',...
18.922078
52
0.315031
106
1,457
4.254717
0.509434
0.088692
0.113082
0.124169
0.161863
0.044346
0.044346
0.044346
0.044346
0
0
0.047306
0.477694
1,457
76
53
19.171053
0.545335
0.048044
0
0.111111
0
0
0.153179
0
0
0
0
0.013158
0
1
0
false
0
0.013889
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
55d3b92efdbe3c9a4d84e47ec3fda8ecb4588bca
426
py
Python
setup.py
InTheMorning/python-bme280
47af2784c937bed429d8986b5205b495e03d74f2
[ "MIT" ]
null
null
null
setup.py
InTheMorning/python-bme280
47af2784c937bed429d8986b5205b495e03d74f2
[ "MIT" ]
null
null
null
setup.py
InTheMorning/python-bme280
47af2784c937bed429d8986b5205b495e03d74f2
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='bme280', version='1.0.0', packages=['bme280'], install_requires=['smbus2'], python_requires='>=2.7', url='https://dev.mycrobase.de/gitea/cn/python-bme280', author='Christian Nicolai', description='A python library for accessing the BM...
30.428571
112
0.671362
53
426
5.339623
0.811321
0
0
0
0
0
0
0
0
0
0
0.051724
0.183099
426
13
113
32.769231
0.761494
0
0
0
0
0
0.450704
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
55d3d277d3db0f3730f055eade9ab037ac954a49
1,190
py
Python
List/learnlist.py
shahasifbashir/LearnPython
4ce6b81d66ea7bbf0a40427871daa4e563b6a184
[ "MIT" ]
null
null
null
List/learnlist.py
shahasifbashir/LearnPython
4ce6b81d66ea7bbf0a40427871daa4e563b6a184
[ "MIT" ]
null
null
null
List/learnlist.py
shahasifbashir/LearnPython
4ce6b81d66ea7bbf0a40427871daa4e563b6a184
[ "MIT" ]
null
null
null
# A simple list myList = [10,20,4,5,6,2,9,10,2,3,34,14] #print the whole list print("The List is {}".format(myList)) # printing elemts of the list one by one print("printing elemts of the list one by one") for elements in myList: print(elements) print("") #printing elements that are greater than 10 only prin...
25.869565
139
0.696639
206
1,190
4.024272
0.305825
0.067551
0.048251
0.068758
0.402895
0.318456
0.318456
0.183353
0.108565
0
0
0.032461
0.197479
1,190
45
140
26.444444
0.835602
0.398319
0
0.35
0
0
0.280057
0
0
0
0
0
0
1
0
false
0
0
0
0
0.55
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
55d68de8c22f2deefdb481f4a73d47295a2e3b27
870
py
Python
pmapi/app.py
jbushman/primemirror-api
4844d57b5581a2d537996c77eec65956ef5f1dc9
[ "Apache-2.0" ]
null
null
null
pmapi/app.py
jbushman/primemirror-api
4844d57b5581a2d537996c77eec65956ef5f1dc9
[ "Apache-2.0" ]
null
null
null
pmapi/app.py
jbushman/primemirror-api
4844d57b5581a2d537996c77eec65956ef5f1dc9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 from pmapi.config import Config, get_logger import os import logging import requests import connexion from flask import Flask, request logger = get_logger() # if not Config.TOKEN: # data = { # "hostname": Config.HOSTNAME, # "ip": Config.IP, # "state": Config.STATE, # ...
24.857143
104
0.670115
109
870
5.183486
0.504587
0.042478
0
0
0
0
0
0
0
0
0
0.001404
0.181609
870
34
105
25.588235
0.792135
0.574713
0
0
0
0
0.033994
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
55d8e1c6fdbebec334001ecd1716470ce185570d
1,001
py
Python
cha_bebe/presente/migrations/0001_initial.py
intelektos/Cha_bebe
23df4af3901413c9c50e73bd305ade165c81001b
[ "MIT" ]
null
null
null
cha_bebe/presente/migrations/0001_initial.py
intelektos/Cha_bebe
23df4af3901413c9c50e73bd305ade165c81001b
[ "MIT" ]
9
2020-06-08T03:31:08.000Z
2022-01-13T02:44:42.000Z
cha_bebe/presente/migrations/0001_initial.py
intelektos/Cha_bebe
23df4af3901413c9c50e73bd305ade165c81001b
[ "MIT" ]
1
2020-06-01T17:43:20.000Z
2020-06-01T17:43:20.000Z
# Generated by Django 3.0.6 on 2020-05-14 18:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Presente', fields=[ ('id', models.AutoField...
33.366667
114
0.566434
100
1,001
5.6
0.59
0.080357
0.092857
0.121429
0.178571
0.178571
0.178571
0.178571
0.178571
0
0
0.029536
0.28971
1,001
29
115
34.517241
0.758087
0.044955
0
0
1
0
0.10587
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55dae12ae7fedf07888052fca21d9aabf3ce95df
1,367
py
Python
main.py
klarman-cell-observatory/cirrocumulus-app-engine
52997ae790773364591ab8d7c747e4505700373b
[ "BSD-3-Clause" ]
null
null
null
main.py
klarman-cell-observatory/cirrocumulus-app-engine
52997ae790773364591ab8d7c747e4505700373b
[ "BSD-3-Clause" ]
1
2021-04-13T14:52:39.000Z
2021-04-13T15:53:34.000Z
main.py
klarman-cell-observatory/cirrocumulus-app-engine
52997ae790773364591ab8d7c747e4505700373b
[ "BSD-3-Clause" ]
null
null
null
import os import sys sys.path.append('lib') from flask import Flask, send_from_directory import cirrocumulus from cirrocumulus.cloud_firestore_native import CloudFireStoreNative from cirrocumulus.api import blueprint from cirrocumulus.envir import CIRRO_AUTH_CLIENT_ID, CIRRO_AUTH, CIRRO_DATABASE, CIRRO_DATASET_PROVI...
33.341463
104
0.766642
186
1,367
5.333333
0.419355
0.096774
0.045363
0.051411
0.058468
0.058468
0.058468
0
0
0
0
0.009251
0.130212
1,367
40
105
34.175
0.825063
0.074616
0
0
0
0
0.096672
0.063391
0
0
0
0
0
1
0.037037
false
0
0.37037
0.037037
0.444444
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
1
0
0
0
0
1
55dce36c7d1bd205aea80744f2bd0ceb8afc6832
1,169
py
Python
manage/db_logger.py
ReanGD/web-home-manage
bbc5377a1f7fde002442fee7720e4ab9e9ad22b3
[ "Apache-2.0" ]
null
null
null
manage/db_logger.py
ReanGD/web-home-manage
bbc5377a1f7fde002442fee7720e4ab9e9ad22b3
[ "Apache-2.0" ]
null
null
null
manage/db_logger.py
ReanGD/web-home-manage
bbc5377a1f7fde002442fee7720e4ab9e9ad22b3
[ "Apache-2.0" ]
null
null
null
import sys import traceback from manage.models import LoadLog class DbLogger(object): def __init__(self, rec_id=None): if rec_id is None: self.rec = LoadLog.objects.create() else: self.rec = LoadLog.objects.get(pk=int(rec_id)) def remove_torrent(self): if self....
25.977778
79
0.597092
164
1,169
4.097561
0.329268
0.145833
0.058036
0.0625
0.113095
0.0625
0
0
0
0
0
0
0.284859
1,169
44
80
26.568182
0.803828
0
0
0.088235
0
0
0.011976
0
0
0
0
0
0
1
0.264706
false
0
0.088235
0.088235
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
1
0
0
0
0
0
0
0
1
55e48ca73e642e82cfdfccf386ed40c0b2fba12d
725
py
Python
app/blogging/routes.py
Sjors/patron
a496097ad0821b677c8e710e8aceb587928be31c
[ "MIT" ]
114
2018-12-30T20:43:37.000Z
2022-03-21T18:57:47.000Z
app/blogging/routes.py
Sjors/patron
a496097ad0821b677c8e710e8aceb587928be31c
[ "MIT" ]
17
2019-04-25T20:20:57.000Z
2022-03-29T21:48:35.000Z
app/blogging/routes.py
Sjors/patron
a496097ad0821b677c8e710e8aceb587928be31c
[ "MIT" ]
17
2019-01-02T06:37:11.000Z
2022-03-29T22:22:40.000Z
from app.blogging import bp from datetime import datetime from flask import flash, redirect, url_for from flask_login import current_user @bp.before_request def protect(): ''' Registers new function to Flask-Blogging Blueprint that protects updates to make them only viewable by paid subscribers. ''' ...
31.521739
68
0.666207
91
725
5.208791
0.582418
0.06962
0.088608
0.084388
0.168776
0.168776
0.168776
0.168776
0
0
0
0
0.252414
725
22
69
32.954545
0.874539
0.165517
0
0.125
0
0
0.102564
0
0
0
0
0
0
1
0.0625
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
55eab24c8b73ac11d50c210b2451b3c1e941b6bd
676
py
Python
src/lib/jianshu_parser/jianshuparser.py
eebook/jianshu2e-book
d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48
[ "MIT" ]
7
2019-01-02T14:52:48.000Z
2021-11-05T06:11:46.000Z
src/lib/jianshu_parser/jianshuparser.py
knarfeh/jianshu2e-book
d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48
[ "MIT" ]
2
2021-03-22T17:11:32.000Z
2021-12-13T19:36:17.000Z
src/lib/jianshu_parser/jianshuparser.py
ee-book/jianshu2e-book
d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48
[ "MIT" ]
2
2019-04-18T05:44:24.000Z
2021-06-10T09:35:44.000Z
# -*- coding: utf-8 -*- from bs4 import BeautifulSoup from src.lib.jianshu_parser.base import BaseParser from src.lib.jianshu_parser.content.JianshuAuthor import JianshuAuthorInfo from src.lib.jianshu_parser.content.JianshuArticle import JianshuArticle class JianshuParser(BaseParser): u""" 获得jianshu_info表中所...
28.166667
74
0.724852
77
676
6.12987
0.467532
0.044492
0.063559
0.108051
0.175847
0.127119
0
0
0
0
0
0.00363
0.184911
676
23
75
29.391304
0.852995
0.093195
0
0
0
0
0.006711
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
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
55ee2be125f56e9339bd29f2a5e248d4c0042d7f
220
py
Python
Contest/Keyence2021/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/Keyence2021/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/Keyence2021/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 (n,), a, b = [[*map(int, o.split())] for o in open(0)] from itertools import* *A, = accumulate(a, max) print(ans := a[0] * b[0]) for i in range(1, n): ans = max(ans, A[i] * b[i]) print(ans)
27.5
54
0.554545
44
220
2.772727
0.568182
0.131148
0
0
0
0
0
0
0
0
0
0.028249
0.195455
220
8
55
27.5
0.661017
0.095455
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55f657ac810bd7adff3d28ddcf6b426dbce9f289
291
py
Python
dev/user-agent-stacktrace/lib/utils.py
Katharine/apisnoop
46c0e101c6e1e13a783f5022a6f77787c0824032
[ "Apache-2.0" ]
null
null
null
dev/user-agent-stacktrace/lib/utils.py
Katharine/apisnoop
46c0e101c6e1e13a783f5022a6f77787c0824032
[ "Apache-2.0" ]
13
2018-08-21T04:00:44.000Z
2019-07-03T22:36:07.000Z
dev/user-agent-stacktrace/lib/utils.py
Katharine/apisnoop
46c0e101c6e1e13a783f5022a6f77787c0824032
[ "Apache-2.0" ]
1
2019-05-09T18:47:22.000Z
2019-05-09T18:47:22.000Z
from collections import defaultdict def defaultdicttree(): return defaultdict(defaultdicttree) def defaultdict_to_dict(d): if isinstance(d, defaultdict): new_d = {} for k, v in d.items(): new_d[k] = defaultdict_to_dict(v) d = new_d return d
22.384615
45
0.639175
38
291
4.710526
0.473684
0.067039
0.189944
0
0
0
0
0
0
0
0
0
0.271478
291
12
46
24.25
0.84434
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55f78570dc2c54902bbba417e6ce4621cf9434e6
1,819
py
Python
miniGithub/migrations/0003_auto_20200119_0955.py
stefan096/UKS
aeabe6a9995143c006ad4143e8e876a102e9d69b
[ "MIT" ]
null
null
null
miniGithub/migrations/0003_auto_20200119_0955.py
stefan096/UKS
aeabe6a9995143c006ad4143e8e876a102e9d69b
[ "MIT" ]
36
2020-01-12T17:00:23.000Z
2020-03-21T13:25:28.000Z
miniGithub/migrations/0003_auto_20200119_0955.py
stefan096/UKS
aeabe6a9995143c006ad4143e8e876a102e9d69b
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-19 09:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('miniGithub', '0002_proje...
41.340909
206
0.632216
194
1,819
5.773196
0.376289
0.05
0.075
0.117857
0.386607
0.34375
0.286607
0.286607
0.25
0.25
0
0.018064
0.239142
1,819
43
207
42.302326
0.791185
0.024739
0
0.324324
1
0
0.136569
0.025959
0
0
0
0
0
1
0
false
0
0.081081
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55fa09f3a8c3fad0ee952c33bd12012b56fb9d68
668
py
Python
AnkiIn/notetypes/ListCloze.py
Clouder0/AnkiIn
ca944bb9f79ce49bc2db62a0bfaeffe7908b48da
[ "MIT" ]
1
2021-07-04T08:10:53.000Z
2021-07-04T08:10:53.000Z
AnkiIn/notetypes/ListCloze.py
Clouder0/AnkiIn
ca944bb9f79ce49bc2db62a0bfaeffe7908b48da
[ "MIT" ]
35
2021-07-03T10:50:20.000Z
2022-01-09T09:33:17.000Z
AnkiIn/notetypes/ListCloze.py
Clouder0/AnkiIn
ca944bb9f79ce49bc2db62a0bfaeffe7908b48da
[ "MIT" ]
2
2021-08-21T11:33:00.000Z
2021-10-15T18:59:33.000Z
from .Cloze import get as cget from ..config import dict as conf from ..config import config_updater notetype_name = "ListCloze" if notetype_name not in conf["notetype"]: conf["notetype"][notetype_name] = {} settings = conf["notetype"][notetype_name] priority = None def update_list_cloze_config(): global s...
23.034483
66
0.712575
93
668
4.967742
0.419355
0.103896
0.069264
0.103896
0
0
0
0
0
0
0
0.010563
0.149701
668
28
67
23.857143
0.802817
0
0
0
0
0
0.067365
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0.125
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
1
0
0
0
1
55fadfd4280d478b35858e331edea1ce48c5383a
9,697
py
Python
app/routes.py
ptkaczyk/Ithacartists
0d8effafe64b29ae1756169cac1eb4d6bc980c1d
[ "MIT" ]
null
null
null
app/routes.py
ptkaczyk/Ithacartists
0d8effafe64b29ae1756169cac1eb4d6bc980c1d
[ "MIT" ]
null
null
null
app/routes.py
ptkaczyk/Ithacartists
0d8effafe64b29ae1756169cac1eb4d6bc980c1d
[ "MIT" ]
null
null
null
from flask import render_template, Flask, flash, redirect, url_for, abort, request from flask_login import login_user, logout_user, login_required from werkzeug.urls import url_parse from app import app, db from app.forms import * from app.models import * @app.route('/') @app.route('/landing') def landing(): ret...
42.530702
191
0.662267
1,194
9,697
5.314908
0.203518
0.032934
0.038922
0.025213
0.255121
0.194768
0.159943
0.128585
0.078002
0.078002
0
0.019121
0.185624
9,697
227
192
42.718062
0.784475
0.0132
0
0.1875
0
0
0.143828
0.0023
0
0
0
0
0
1
0.078125
false
0.052083
0.03125
0.005208
0.223958
0.005208
0
0
0
null
0
0
0
0
0
0
0
0
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
55fb46ee1813e2c980cdc6a6a49ca860bf41a84e
2,861
py
Python
src/bloombox/schema/services/devices/v1beta1/DevicesService_Beta1_pb2_grpc.py
Bloombox/Python
1b125fbdf54efb390afe12aaa966f093218c4387
[ "Apache-2.0" ]
4
2018-01-23T20:13:11.000Z
2018-07-28T22:36:09.000Z
src/bloombox/schema/services/devices/v1beta1/DevicesService_Beta1_pb2_grpc.py
Bloombox/Python
1b125fbdf54efb390afe12aaa966f093218c4387
[ "Apache-2.0" ]
159
2018-02-02T09:55:52.000Z
2021-07-21T23:41:59.000Z
src/bloombox/schema/services/devices/v1beta1/DevicesService_Beta1_pb2_grpc.py
Bloombox/Python
1b125fbdf54efb390afe12aaa966f093218c4387
[ "Apache-2.0" ]
3
2018-01-23T20:13:15.000Z
2020-01-17T01:07:53.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from devices.v1beta1 import DevicesService_Beta1_pb2 as devices_dot_v1beta1_dot_DevicesService__Beta1__pb2 class DevicesStub(object): """Specifies the devices service, which enables managed devices to check-in, authorize themselves, ...
42.701493
119
0.774205
328
2,861
6.402439
0.301829
0.090476
0.104762
0.085714
0.675714
0.675714
0.655238
0.599048
0.599048
0.385714
0
0.018891
0.148899
2,861
66
120
43.348485
0.843532
0.203076
0
0.205128
1
0
0.118812
0.072007
0
0
0
0
0
1
0.102564
false
0
0.051282
0
0.205128
0
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
55fe127a3e15c5c409ac7dd672e540ee28e8d786
413
py
Python
oldPython/driving_app.py
Awarua-/Can-I-Have-Your-Attention-COSC475-Research
71b5140b988aa6512a7cf5b5b6d043e20fd02084
[ "MIT" ]
null
null
null
oldPython/driving_app.py
Awarua-/Can-I-Have-Your-Attention-COSC475-Research
71b5140b988aa6512a7cf5b5b6d043e20fd02084
[ "MIT" ]
null
null
null
oldPython/driving_app.py
Awarua-/Can-I-Have-Your-Attention-COSC475-Research
71b5140b988aa6512a7cf5b5b6d043e20fd02084
[ "MIT" ]
null
null
null
from kivy.app import App from kivy.uix.label import Label from kivy.core.window import Window class DrivingApp(App): def build(self): Window.fullscreen = False # Need to set the size, otherwise very pixalated # wonders about pixel mapping? Window.size(1920, 1080) b = Label...
21.736842
56
0.653753
55
413
4.763636
0.690909
0.091603
0
0
0
0
0
0
0
0
0
0.02623
0.261501
413
18
57
22.944444
0.832787
0.181598
0
0
0
0
0.071642
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3603655d64ea26fd4eb5614d884927de08638bdc
30,296
py
Python
plugins/modules/oci_sch_service_connector.py
A7rMtWE57x/oci-ansible-collection
80548243a085cd53fd5dddaa8135b5cb43612c66
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_sch_service_connector.py
A7rMtWE57x/oci-ansible-collection
80548243a085cd53fd5dddaa8135b5cb43612c66
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_sch_service_connector.py
A7rMtWE57x/oci-ansible-collection
80548243a085cd53fd5dddaa8135b5cb43612c66
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2017, 2020 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
41.219048
159
0.568887
2,999
30,296
5.580527
0.123041
0.048757
0.032505
0.040153
0.684632
0.633126
0.575466
0.526231
0.505736
0.470244
0
0.009703
0.353677
30,296
734
160
41.275204
0.845003
0.014556
0
0.576471
0
0.044118
0.743591
0.067855
0
0
0
0
0
1
0.019118
false
0.001471
0.011765
0.010294
0.051471
0.001471
0
0
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
360825b11a2ba8661131f351d015f5a8ff5ce829
263
py
Python
Python_Projects/numeric/lossofsignificance.py
arifBurakDemiray/TheCodesThatIWrote
17d7bc81c516ec97110d0749e9c19d5e6ef9fc88
[ "MIT" ]
1
2019-11-01T20:18:06.000Z
2019-11-01T20:18:06.000Z
Python_Projects/numeric/lossofsignificance.py
arifBurakDemiray/TheCodesThatIWrote
17d7bc81c516ec97110d0749e9c19d5e6ef9fc88
[ "MIT" ]
null
null
null
Python_Projects/numeric/lossofsignificance.py
arifBurakDemiray/TheCodesThatIWrote
17d7bc81c516ec97110d0749e9c19d5e6ef9fc88
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Apr 13 13:35:33 2020 """ #for finding loss of significances x=1e-1 flag = True a=0 while (flag): print (((2*x)/(1-(x**2))),"......",(1/(1+x))-(1/(1-x))) x= x*(1e-1) a=a+1 if(a==25): flag=False
14.611111
59
0.48289
50
263
2.54
0.58
0.047244
0.062992
0
0
0
0
0
0
0
0
0.137931
0.228137
263
17
60
15.470588
0.487685
0.346008
0
0
0
0
0.037267
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
360ce588463dab38c7d8f02e3de4947c05f44448
4,877
py
Python
scrape.py
darenr/contemporary-art--rss-scraper
92d66d18712e781e6e96980004a17f810568e652
[ "MIT" ]
null
null
null
scrape.py
darenr/contemporary-art--rss-scraper
92d66d18712e781e6e96980004a17f810568e652
[ "MIT" ]
null
null
null
scrape.py
darenr/contemporary-art--rss-scraper
92d66d18712e781e6e96980004a17f810568e652
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json import codecs import traceback import sys import requests import requests_cache import feedparser import collections from bs4 import BeautifulSoup from urlparse import urlparse, urljoin one_day = 60 * 60 * 24 requests_cache.install_cache( 'rss_cache', backend='sqlite', expire_...
29.029762
96
0.552184
570
4,877
4.601754
0.278947
0.018681
0.019825
0.027449
0.133816
0.117804
0.086923
0.086923
0.086923
0.086923
0
0.005645
0.309822
4,877
167
97
29.203593
0.773619
0.035473
0
0.092437
0
0
0.157469
0
0
0
0
0
0
0
null
null
0
0.084034
null
null
0.058824
0
0
0
null
0
0
0
0
0
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
361199dea80437ba6ce5df8eea417f22ea366fce
301
py
Python
api/indexer/tzprofiles_indexer/models.py
clehner/tzprofiles
e44497bccf28d2d75cfdfa0c417dbecc0f342c12
[ "Apache-2.0" ]
null
null
null
api/indexer/tzprofiles_indexer/models.py
clehner/tzprofiles
e44497bccf28d2d75cfdfa0c417dbecc0f342c12
[ "Apache-2.0" ]
null
null
null
api/indexer/tzprofiles_indexer/models.py
clehner/tzprofiles
e44497bccf28d2d75cfdfa0c417dbecc0f342c12
[ "Apache-2.0" ]
null
null
null
from tortoise import Model, fields class TZProfile(Model): account = fields.CharField(36, pk=True) contract = fields.CharField(36) valid_claims = fields.JSONField() invalid_claims = fields.JSONField() errored = fields.BooleanField() class Meta: table = "tzprofiles"
23.153846
43
0.69103
33
301
6.242424
0.666667
0.145631
0.165049
0
0
0
0
0
0
0
0
0.016807
0.209302
301
12
44
25.083333
0.84874
0
0
0
0
0
0.033223
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3617e8e260511cf8ba4c78d54d81b23de02b0480
2,385
py
Python
Scripts/sims4communitylib/classes/time/common_alarm_handle.py
ColonolNutty/Sims4CommunityLibrary
684f28dc3c7deb4d9fd520e21e63942b65a91d31
[ "CC-BY-4.0" ]
118
2019-08-31T04:33:18.000Z
2022-03-28T21:12:14.000Z
Scripts/sims4communitylib/classes/time/common_alarm_handle.py
ColonolNutty/Sims4CommunityLibrary
684f28dc3c7deb4d9fd520e21e63942b65a91d31
[ "CC-BY-4.0" ]
15
2019-12-05T01:29:46.000Z
2022-02-18T17:13:46.000Z
Scripts/sims4communitylib/classes/time/common_alarm_handle.py
ColonolNutty/Sims4CommunityLibrary
684f28dc3c7deb4d9fd520e21e63942b65a91d31
[ "CC-BY-4.0" ]
28
2019-09-07T04:11:05.000Z
2022-02-07T18:31:40.000Z
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ import os from sims4.commands import Command, CommandType, ...
33.125
176
0.704403
269
2,385
5.988848
0.434944
0.026071
0.040968
0.072005
0.160149
0.160149
0.137803
0.105525
0.045934
0.045934
0
0.006948
0.215514
2,385
71
177
33.591549
0.854089
0.209644
0
0.122449
0
0
0.05939
0.013376
0
0
0
0
0
1
0.061224
false
0.081633
0.142857
0
0.306122
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
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
36188c3a24365e2e84cb2983da3bc80cf1611d71
1,431
py
Python
core/myauthbackend.py
devendraotari/HRMS_project
c6480903c2a8212c6698987e8ced96a114c4d7c7
[ "BSD-2-Clause" ]
null
null
null
core/myauthbackend.py
devendraotari/HRMS_project
c6480903c2a8212c6698987e8ced96a114c4d7c7
[ "BSD-2-Clause" ]
null
null
null
core/myauthbackend.py
devendraotari/HRMS_project
c6480903c2a8212c6698987e8ced96a114c4d7c7
[ "BSD-2-Clause" ]
null
null
null
from django.contrib.auth.backends import BaseBackend from django.contrib.auth import get_user_model class EmailPhoneBackend(BaseBackend): """ docstring """ def authenticate(self,request, email=None,phone=None, password=None): # Check the username/password and return a user. my_...
40.885714
87
0.596785
176
1,431
4.715909
0.3125
0.119277
0.092771
0.054217
0.333735
0.183133
0
0
0
0
0
0
0.310971
1,431
35
88
40.885714
0.841785
0.125087
0
0.25
0
0
0.08
0.019167
0
0
0
0
0
1
0.071429
false
0.071429
0.071429
0
0.357143
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
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
361ee510413d5ff2e8e4d3a5aa90b44d49e73ac2
1,447
py
Python
program/appID3.py
trungvuong55555/FlaskAPI_ExpertSystem
6f7a557fefd093e901070fe2ec363e0c2ed8ffa2
[ "MIT" ]
null
null
null
program/appID3.py
trungvuong55555/FlaskAPI_ExpertSystem
6f7a557fefd093e901070fe2ec363e0c2ed8ffa2
[ "MIT" ]
null
null
null
program/appID3.py
trungvuong55555/FlaskAPI_ExpertSystem
6f7a557fefd093e901070fe2ec363e0c2ed8ffa2
[ "MIT" ]
null
null
null
from flask import Flask, request, render_template import pickle app = Flask(__name__)#khoi tao flask model = pickle.load(open('modelID3.pkl', 'rb'))#unpicke model @app.route('/',methods =["GET", "POST"]) def home(): if request.method == "POST": #lay gia tri tu form one= request.form.get("a0") ...
28.94
99
0.57982
199
1,447
4.135678
0.442211
0.147023
0.18712
0.029162
0.034022
0
0
0
0
0
0
0.012512
0.281963
1,447
49
100
29.530612
0.779596
0.119558
0
0
0
0
0.075099
0
0
0
0
0
0
1
0.027778
false
0
0.055556
0
0.138889
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
362141754e09b014da8e86cb87845189f022576c
448
py
Python
home_work/App/views.py
jianghaiming0707/python1806homework
2509f75794ac0ef8711cb1d1c2c4378408619a75
[ "Apache-2.0" ]
1
2018-06-28T01:01:35.000Z
2018-06-28T01:01:35.000Z
home_work/App/views.py
jianghaiming0707/python1806homework
2509f75794ac0ef8711cb1d1c2c4378408619a75
[ "Apache-2.0" ]
6
2018-06-25T04:50:23.000Z
2018-07-03T10:24:08.000Z
home_work/App/views.py
jianghaiming0707/python1806homework
2509f75794ac0ef8711cb1d1c2c4378408619a75
[ "Apache-2.0" ]
42
2018-06-19T09:48:04.000Z
2019-09-15T01:20:06.000Z
from django.shortcuts import render from django.http import HttpResponse from App.models import * # Create your views here. def search(seq): myclass=Myclass.objects.all() return render(seq,'test.html',context={'myclass':myclass}) def students(req): students_id=req.GET.get('classid') studentt=Student.ob...
34.461538
67
0.747768
61
448
5.442623
0.52459
0.060241
0
0
0
0
0
0
0
0
0
0
0.118304
448
13
67
34.461538
0.840506
0.051339
0
0
0
0
0.101415
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
36230cd6aca7407d1176980b4ef533beffe100f8
9,756
py
Python
pysnmp-with-texts/HPN-ICF-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HPN-ICF-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HPN-ICF-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HPN-ICF-VOICE-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-VOICE-IF-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:41:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
154.857143
863
0.791513
1,166
9,756
6.620926
0.212693
0.045078
0.078886
0.007254
0.461529
0.346503
0.335363
0.331606
0.331606
0.331606
0
0.058438
0.093173
9,756
62
864
157.354839
0.814174
0.034235
0
0
0
0.185185
0.325507
0.008074
0
0
0
0
0
1
0
false
0
0.148148
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3626cc57d851fc7ca881f30af21ead100d822372
1,043
py
Python
pointnet2/tf_ops/sampling/tf_sampling.py
ltriess/pointnet2_keras
29be56161c8c772442b85b8fda300d10ff7fe7b3
[ "MIT" ]
2
2022-02-06T23:12:15.000Z
2022-03-28T06:48:52.000Z
pointnet2/tf_ops/sampling/tf_sampling.py
ltriess/pointnet2_keras
29be56161c8c772442b85b8fda300d10ff7fe7b3
[ "MIT" ]
null
null
null
pointnet2/tf_ops/sampling/tf_sampling.py
ltriess/pointnet2_keras
29be56161c8c772442b85b8fda300d10ff7fe7b3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Furthest point sampling Original author: Haoqiang Fan Modified by Charles R. Qi All Rights Reserved. 2017. Modified by Larissa Triess (2020) """ import os import sys import tensorflow as tf from tensorflow.python.framework import ops BASE_DIR = os.path.dirname(os.p...
25.439024
81
0.701822
152
1,043
4.690789
0.526316
0.044881
0.053296
0.042076
0.168303
0.106592
0.106592
0.106592
0.106592
0
0
0.020262
0.19559
1,043
40
82
26.075
0.829559
0.534995
0
0
0
0
0.083141
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3626d45d010076e81364291684b9ea5d2493fb6c
561
py
Python
gql/resolvers/mutations/scope.py
apoveda25/graphql-python-server
eb7b911aa1116327120b857beb17da3e30523e74
[ "Apache-2.0" ]
4
2020-06-20T11:54:04.000Z
2021-09-07T11:41:32.000Z
gql/resolvers/mutations/scope.py
apoveda25/graphql-python-server
eb7b911aa1116327120b857beb17da3e30523e74
[ "Apache-2.0" ]
null
null
null
gql/resolvers/mutations/scope.py
apoveda25/graphql-python-server
eb7b911aa1116327120b857beb17da3e30523e74
[ "Apache-2.0" ]
null
null
null
from ariadne import MutationType from datetime import datetime as dt from models.scope import Scope from schemas.helpers.normalize import change_keys from schemas.scope import ScopeCreate mutations_resolvers = MutationType() @mutations_resolvers.field("scopeCreate") async def resolve_scope_create(_, info, scope) ->...
31.166667
78
0.773619
72
561
5.861111
0.513889
0.052133
0
0
0
0
0
0
0
0
0
0
0.121212
561
17
79
33
0.855984
0
0
0
0
0
0.094474
0.067736
0
0
0
0
0
1
0
false
0
0.416667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
362e01958a44c444693e75555e77973e632954c9
5,926
py
Python
nevermined_compute_api/workflow_utils.py
nevermined-io/compute-api
c0d3b1875b3b95ffa78374ff89a4fefd0d3af598
[ "Apache-2.0" ]
null
null
null
nevermined_compute_api/workflow_utils.py
nevermined-io/compute-api
c0d3b1875b3b95ffa78374ff89a4fefd0d3af598
[ "Apache-2.0" ]
3
2020-11-20T11:57:04.000Z
2021-04-06T10:56:49.000Z
nevermined_compute_api/workflow_utils.py
nevermined-io/compute-api
c0d3b1875b3b95ffa78374ff89a4fefd0d3af598
[ "Apache-2.0" ]
null
null
null
import os from pathlib import Path import json from contracts_lib_py.utils import get_account from common_utils_py.ddo.ddo import DDO from nevermined_sdk_py import Nevermined, Config import yaml from configparser import ConfigParser config_parser = ConfigParser() configuration = config_parser.read('config.ini') GROUP...
35.065089
99
0.602599
637
5,926
5.455259
0.287284
0.073669
0.01554
0.017266
0.162302
0.133237
0.083741
0.067338
0.043165
0.043165
0
0.016207
0.271178
5,926
168
100
35.27381
0.788377
0.132636
0
0.033613
0
0
0.323907
0.030453
0
0
0
0.005952
0.016807
1
0.042017
false
0.067227
0.067227
0
0.134454
0
0
0
0
null
0
0
0
0
0
0
0
0
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
36323555756558519c34b677df24af6e2865a756
2,797
py
Python
src/cltl/backend/source/pyaudio_source.py
leolani/cltl-backend
4ecc6227f9d48e40b9f59e6d78e0fcee9cdadbd4
[ "MIT" ]
null
null
null
src/cltl/backend/source/pyaudio_source.py
leolani/cltl-backend
4ecc6227f9d48e40b9f59e6d78e0fcee9cdadbd4
[ "MIT" ]
null
null
null
src/cltl/backend/source/pyaudio_source.py
leolani/cltl-backend
4ecc6227f9d48e40b9f59e6d78e0fcee9cdadbd4
[ "MIT" ]
null
null
null
import logging import uuid from typing import Iterable import numpy as np import pyaudio from cltl.backend.api.util import raw_frames_to_np from cltl.backend.spi.audio import AudioSource logger = logging.getLogger(__name__) class PyAudioSource(AudioSource): BUFFER = 8 def __init__(self, rate, channels, fr...
27.15534
98
0.620665
341
2,797
4.774194
0.269795
0.055283
0.047912
0.031327
0.081081
0
0
0
0
0
0
0.00398
0.281373
2,797
103
99
27.15534
0.80597
0
0
0.168831
0
0
0.071122
0
0
0
0
0
0
1
0.194805
false
0
0.090909
0.116883
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
36359877c7a4f6573f92718849e22bc0b0b933eb
624
py
Python
python2/examples/tutorial_threadednotifier.py
openEuler-BaseService/pyinotify
d6c8b832177945106901fb6c0cd5ae7d54df8247
[ "MIT" ]
1,509
2015-01-04T01:20:06.000Z
2022-03-29T08:06:41.000Z
python2/examples/tutorial_threadednotifier.py
openEuler-BaseService/pyinotify
d6c8b832177945106901fb6c0cd5ae7d54df8247
[ "MIT" ]
98
2015-01-09T20:58:57.000Z
2022-03-29T11:53:44.000Z
python2/examples/tutorial_threadednotifier.py
openEuler-BaseService/pyinotify
d6c8b832177945106901fb6c0cd5ae7d54df8247
[ "MIT" ]
333
2015-01-02T09:22:01.000Z
2022-03-24T01:51:40.000Z
# ThreadedNotifier example from tutorial # # See: http://github.com/seb-m/pyinotify/wiki/Tutorial # import pyinotify wm = pyinotify.WatchManager() # Watch Manager mask = pyinotify.IN_DELETE | pyinotify.IN_CREATE # watched events class EventHandler(pyinotify.ProcessEvent): def process_IN_CREATE(self, event): ...
24
66
0.735577
78
624
5.782051
0.602564
0.04878
0.053215
0
0
0
0
0
0
0
0
0.003717
0.137821
624
25
67
24.96
0.834572
0.217949
0
0
0
0
0.045833
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.153846
0
0
0
null
0
0
0
0
0
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
3636470ba1388bdc81e02a4d210d625e92578097
2,063
py
Python
models/globalsenti.py
movabo/newstsc
dcf0cff31c0e463c9a96cdaa24e9b662ed53f7ed
[ "MIT" ]
3
2021-02-28T19:14:49.000Z
2022-03-29T12:10:14.000Z
models/globalsenti.py
movabo/newstsc
dcf0cff31c0e463c9a96cdaa24e9b662ed53f7ed
[ "MIT" ]
null
null
null
models/globalsenti.py
movabo/newstsc
dcf0cff31c0e463c9a96cdaa24e9b662ed53f7ed
[ "MIT" ]
1
2021-05-13T10:27:12.000Z
2021-05-13T10:27:12.000Z
# -*- coding: utf-8 -*- # file: lcf_bert.py # author: yangheng <yangheng@m.scnu.edu.cn> # Copyright (C) 2019. All Rights Reserved. # The code is based on repository: https://github.com/yangheng95/LCF-ABSA import torch import torch.nn as nn from models.lcf import LCF_BERT class Global_LCF(nn.Module): def __in...
38.924528
118
0.713039
292
2,063
4.702055
0.369863
0.081573
0.06992
0.072833
0.221413
0.15295
0.059723
0.059723
0
0
0
0.012107
0.199224
2,063
52
119
39.673077
0.819007
0.201648
0
0
0
0
0.027473
0.013431
0
0
0
0.019231
0.037037
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
36364741a2a1bcdc096a9a1390acb2038c00084b
10,351
py
Python
analysis/outflows/__init__.py
lconaboy/seren3
5a2ec80adf0d69664d2ee874f5ba12cc02d6c337
[ "CNRI-Python" ]
1
2017-09-21T14:58:23.000Z
2017-09-21T14:58:23.000Z
analysis/outflows/__init__.py
lconaboy/seren3
5a2ec80adf0d69664d2ee874f5ba12cc02d6c337
[ "CNRI-Python" ]
1
2020-09-09T08:52:43.000Z
2020-09-09T08:52:43.000Z
analysis/outflows/__init__.py
lconaboy/seren3
5a2ec80adf0d69664d2ee874f5ba12cc02d6c337
[ "CNRI-Python" ]
1
2019-01-21T10:57:41.000Z
2019-01-21T10:57:41.000Z
def integrate_surface_flux(flux_map, r): ''' Integrates a healpix surface flux to compute the total net flux out of the sphere. r is the radius of the sphere in meters ''' import numpy as np import healpy as hp from scipy.integrate import trapz from seren3.array import SimArray ...
34.734899
144
0.628925
1,537
10,351
3.994795
0.174366
0.046906
0.026873
0.021661
0.487459
0.433876
0.384039
0.331922
0.293811
0.293811
0
0.01195
0.240073
10,351
298
145
34.734899
0.768624
0.073133
0
0.341837
0
0.010204
0.051741
0.009824
0
0
0
0
0
0
null
null
0.005102
0.107143
null
null
0.005102
0
0
0
null
0
0
0
0
0
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
3637cf787bdf4e4784cdc6527a8256c98d6b4fec
1,646
py
Python
cpu/pipeline/writeback_unit.py
tim-roderick/simple-cpu-simulator
334baf1934751527b7e5ffa0ad85d5e53e7215a1
[ "MIT" ]
2
2019-12-09T12:02:50.000Z
2019-12-09T22:40:01.000Z
cpu/pipeline/writeback_unit.py
tim-roderick/simple-cpu-simulator
334baf1934751527b7e5ffa0ad85d5e53e7215a1
[ "MIT" ]
null
null
null
cpu/pipeline/writeback_unit.py
tim-roderick/simple-cpu-simulator
334baf1934751527b7e5ffa0ad85d5e53e7215a1
[ "MIT" ]
1
2020-05-04T09:13:50.000Z
2020-05-04T09:13:50.000Z
from .component import Component from cpu.Memory import SCOREBOARD from isa.Instructions import ALUInstruction as alu class writeback_unit(Component): def add_result(self, result): result.finished = True self.pipeline_register = self.pipeline_register + [result] self.clean() def clean(s...
38.27907
94
0.567436
161
1,646
5.677019
0.347826
0.14442
0.2407
0.136761
0.28337
0.247265
0.247265
0.164114
0.164114
0.164114
0
0.002791
0.346902
1,646
42
95
39.190476
0.847442
0.040705
0
0.290323
0
0
0.005092
0
0
0
0
0
0
1
0.129032
false
0
0.096774
0
0.258065
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
363b300b4584703dde103216ec3118b56fec2aec
179
py
Python
model/get_data.py
qq1010903229/OIer
ec1f4c60d76188efd18af157f46849b27dd8ddae
[ "Apache-2.0" ]
null
null
null
model/get_data.py
qq1010903229/OIer
ec1f4c60d76188efd18af157f46849b27dd8ddae
[ "Apache-2.0" ]
null
null
null
model/get_data.py
qq1010903229/OIer
ec1f4c60d76188efd18af157f46849b27dd8ddae
[ "Apache-2.0" ]
null
null
null
f = open("OI_school.csv") op = open("mdt.txt","w") for i in f.readlines(): c = i.split('","') op.write(c[-3]+','+c[-2]+','+"".join([i+',' for i in eval(c[1])])[:-1]+'\n')
29.833333
80
0.463687
34
179
2.411765
0.647059
0.097561
0.146341
0
0
0
0
0
0
0
0
0.026144
0.145251
179
5
81
35.8
0.509804
0
0
0
0
0
0.162011
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
363ecc9fcc777c09f95b187bd0eb4e97cd4e05fe
2,068
py
Python
power_data_to_sat_passes/filtersatpowerfiles.py
abrahamneben/orbcomm_beam_mapping
71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004
[ "MIT" ]
1
2019-04-10T02:50:19.000Z
2019-04-10T02:50:19.000Z
power_data_to_sat_passes/filtersatpowerfiles.py
abrahamneben/orbcomm_beam_mapping
71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004
[ "MIT" ]
null
null
null
power_data_to_sat_passes/filtersatpowerfiles.py
abrahamneben/orbcomm_beam_mapping
71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004
[ "MIT" ]
null
null
null
#!/users/aneben/python/bin/python import sys import commands import numpy as np import string np.set_printoptions(precision=3,linewidth=200) months={'Jan':'01','Feb':'02','Mar':'03','Apr':'04','May':'05','Jun':'06','Jul':'07','Aug':'08','Sept':'09','Oct':'10','Nov':'11','Dec':'12'} def make_datetime_numeric(dt): d...
26.512821
141
0.597679
299
2,068
4.043478
0.478261
0.024814
0.032258
0.052109
0.072787
0.054591
0.054591
0
0
0
0
0.067118
0.2147
2,068
77
142
26.857143
0.67734
0.036267
0
0.037037
0
0
0.105025
0.015578
0
0
0
0
0
0
null
null
0
0.074074
null
null
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
1
0
0
0
0
0
0
0
0
1
363f6b85601d80ec792d9609a878c76ff8a2a456
14,280
py
Python
burst_paper/all_ds/plot_allband_ds.py
jackievilladsen/dynspec
87101b188d7891644d848e781bca00f044fe3f0b
[ "MIT" ]
2
2019-05-01T00:34:28.000Z
2021-02-10T09:18:10.000Z
burst_paper/all_ds/plot_allband_ds.py
jackievilladsen/dynspec
87101b188d7891644d848e781bca00f044fe3f0b
[ "MIT" ]
null
null
null
burst_paper/all_ds/plot_allband_ds.py
jackievilladsen/dynspec
87101b188d7891644d848e781bca00f044fe3f0b
[ "MIT" ]
null
null
null
''' plot_allband_ds.py - Load P,L,S band dynamic spectrum for a given epoch, bin to specified resolution, and plot to file ''' import dynspec.plot reload(dynspec.plot) from dynspec import load_dict from dynspec.plot import * from pylab import * import os, subprocess import matplotlib.gridspec as gridspec ''' def get...
45.769231
193
0.614566
2,254
14,280
3.697427
0.171251
0.039957
0.009239
0.007559
0.438445
0.37401
0.304416
0.266859
0.230742
0.181545
0
0.050083
0.244958
14,280
311
194
45.916399
0.722871
0.25042
0
0.197115
0
0
0.239395
0.015122
0
0
0
0
0
0
null
null
0
0.028846
null
null
0.028846
0
0
0
null
0
0
0
0
0
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
36472112e71a6f099b1f967e54265e83e3ef22d7
2,068
py
Python
PyInstaller/hooks/hook-numpy.py
mathiascode/pyinstaller
eaad76a75a5cc7be90e445f974f4bf1731045496
[ "Apache-2.0" ]
9,267
2015-01-01T04:08:45.000Z
2022-03-31T11:42:38.000Z
PyInstaller/hooks/hook-numpy.py
bwoodsend/pyinstaller
2a16bc2fe0a1234d0f89836d39b7877c74b3bca1
[ "Apache-2.0" ]
5,150
2015-01-01T12:09:56.000Z
2022-03-31T18:06:12.000Z
PyInstaller/hooks/hook-numpy.py
bwoodsend/pyinstaller
2a16bc2fe0a1234d0f89836d39b7877c74b3bca1
[ "Apache-2.0" ]
2,101
2015-01-03T10:25:27.000Z
2022-03-30T11:04:42.000Z
#!/usr/bin/env python3 # --- Copyright Disclaimer --- # # In order to support PyInstaller with numpy<1.20.0 this file will be duplicated for a short period inside # PyInstaller's repository [1]. However this file is the intellectual property of the NumPy team and is # under the terms and conditions outlined their repo...
38.296296
119
0.758704
294
2,068
5.282313
0.588435
0.01159
0.034771
0.032196
0.039923
0
0
0
0
0
0
0.006311
0.157157
2,068
53
120
39.018868
0.884682
0.70793
0
0
0
0
0.17474
0.041522
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3649038aeb95961f992580df722315d018924dd9
12,731
py
Python
ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macInMACv42_template.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
20
2019-05-07T01:59:14.000Z
2022-02-11T05:24:47.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macInMACv42_template.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
60
2019-04-03T18:59:35.000Z
2022-02-22T12:05:05.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macInMACv42_template.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
13
2019-05-20T10:48:31.000Z
2021-10-06T07:45:44.000Z
from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files class MacInMACv42(Base): __slots__ = () _SDM_NAME = 'macInMACv42' _SDM_ATT_MAP = { 'HeaderBDstAddress': 'macInMACv42.header.bDstAddress-1', 'HeaderBSrcAddress': 'macInMACv42.header.bSrcAddress-2', 'BTAG...
35.561453
127
0.657843
1,321
12,731
6.178653
0.118092
0.052561
0.076819
0.050968
0.633668
0.606224
0.543617
0.53504
0.53504
0.53504
0
0.023195
0.244835
12,731
357
128
35.661064
0.825775
0.179248
0
0.373494
0
0
0.267035
0.201928
0
0
0
0
0
1
0.198795
false
0
0.198795
0.006024
0.614458
0
0
0
0
null
0
0
0
0
0
0
0
0
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
364de668db5e04abf8c4ddb3813bc74fcc464515
3,097
py
Python
src/alphazero/data.py
Whillikers/seldon
0d3ff7b25c7272d76a9aba38ee22efd910750f84
[ "MIT" ]
1
2019-11-03T20:18:16.000Z
2019-11-03T20:18:16.000Z
src/alphazero/data.py
Whillikers/seldon
0d3ff7b25c7272d76a9aba38ee22efd910750f84
[ "MIT" ]
null
null
null
src/alphazero/data.py
Whillikers/seldon
0d3ff7b25c7272d76a9aba38ee22efd910750f84
[ "MIT" ]
null
null
null
""" Code for working with data. In-memory format (as a list): - board: Tensor (8, 8, 2) [bool; one-hot] - move: Tensor (64,) [bool; one-hot] - value: Tensor () [float32] On-disk format (to save space and quicken loading): - board: int64 - move: int64 - value: float32 """ from typing import Dict, Tuple import ...
34.032967
87
0.680336
414
3,097
5
0.352657
0.027053
0.027536
0.02029
0.06087
0.042512
0.042512
0.042512
0.042512
0
0
0.029134
0.179851
3,097
90
88
34.411111
0.785827
0.351954
0
0
0
0
0.039773
0
0
0
0.009298
0.011111
0
1
0.116279
false
0
0.069767
0
0.302326
0
0
0
0
null
0
0
0
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
36595769c1ee20b5e029d4e12f235050f6967122
33,084
py
Python
server/miscellaneous.py
dewancse/SMT-PMR
8d280ff5d169a021a73ffa30c8159581ab859c62
[ "MIT" ]
null
null
null
server/miscellaneous.py
dewancse/SMT-PMR
8d280ff5d169a021a73ffa30c8159581ab859c62
[ "MIT" ]
10
2017-05-16T22:08:40.000Z
2017-10-30T21:07:47.000Z
server/miscellaneous.py
dewancse/SMT-PMR
8d280ff5d169a021a73ffa30c8159581ab859c62
[ "MIT" ]
null
null
null
import requests from libcellml import * import lxml.etree as ET # pre-generated model recipe in JSON format model_recipe = [ { "med_fma": "http://purl.obolibrary.org/obo/FMA_84666", "med_pr": "http://purl.obolibrary.org/obo/PR_P26433", "med_pr_text": "sodium/hydrogen exchanger 3 (rat)", ...
44.647773
127
0.599716
3,853
33,084
4.910978
0.11238
0.04101
0.091322
0.106543
0.671018
0.641687
0.617641
0.577317
0.535567
0.521351
0
0.035279
0.253748
33,084
740
128
44.708108
0.731135
0.098809
0
0.53958
1
0.003231
0.401721
0.037376
0.003231
0
0
0
0
1
0.022617
false
0
0.03231
0.008078
0.06462
0.006462
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
365d9e30b62ef2b43194d13cd3b143b547c83df7
2,383
py
Python
epg_grabber/sites/beinsports_id.py
akmalharith/epg-grabber
ee6bdd20f7cbb4c780d96a8ce0fe2ca68b553c33
[ "MIT" ]
1
2022-03-16T00:42:21.000Z
2022-03-16T00:42:21.000Z
epg_grabber/sites/beinsports_id.py
akmalharith/epg-grabber
ee6bdd20f7cbb4c780d96a8ce0fe2ca68b553c33
[ "MIT" ]
null
null
null
epg_grabber/sites/beinsports_id.py
akmalharith/epg-grabber
ee6bdd20f7cbb4c780d96a8ce0fe2ca68b553c33
[ "MIT" ]
1
2022-03-17T17:16:30.000Z
2022-03-17T17:16:30.000Z
from typing import List import requests from pathlib import Path from datetime import date, datetime from bs4 import BeautifulSoup from helper.classes import Channel, Program from helper.utils import get_channel_by_name, get_epg_datetime TIMEZONE_OFFSET = "+0800" PROGRAM_URL = "https://epg.beinsports.com/utctime_id.ph...
31.773333
111
0.61645
296
2,383
4.75
0.388514
0.012802
0.029872
0.032006
0.044097
0.044097
0
0
0
0
0
0.014261
0.264373
2,383
74
112
32.202703
0.787792
0.031893
0
0.034483
0
0.017241
0.105035
0
0
0
0
0.013514
0
1
0.034483
false
0
0.12069
0.017241
0.189655
0
0
0
0
null
0
0
0
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