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
30838b215cd243be104eaed5f18458e8b036722f
4,342
py
Python
main.py
1blackghost/Fall_Management
ebd980c9866a873d681deca56e32e4a94ed64502
[ "MIT" ]
2
2021-12-17T15:49:36.000Z
2022-01-27T05:14:34.000Z
main.py
1blackghost/Fall_Management
ebd980c9866a873d681deca56e32e4a94ed64502
[ "MIT" ]
null
null
null
main.py
1blackghost/Fall_Management
ebd980c9866a873d681deca56e32e4a94ed64502
[ "MIT" ]
null
null
null
from flask import * app=Flask(__name__) app.config['SECRET_KEY']="thisisasecretkey" @app.route("/logout") def logout(): if 'user' in session and 'role' in session: session.pop('user',None) session.pop('role',None) return redirect(url_for('home')) @app.route('/home',methods=['GET','POST']) def root(): if 'use...
27.308176
129
0.651082
644
4,342
4.312112
0.178571
0.073461
0.122434
0.074901
0.39323
0.368743
0.346057
0.342096
0.182211
0.111631
0
0.009836
0.15707
4,342
159
130
27.308176
0.748907
0
0
0.342466
0
0
0.17085
0
0
0
0
0
0
1
0.041096
false
0.068493
0.006849
0.006849
0.19863
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
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
3086deb196e467ecb0e3c292f9798f7ee852eb32
6,468
py
Python
data_structure/busca_profundidade_largura.py
uadson/data-structure
e7c62ff732b9b89e57b9b08dfc6f777e57a52397
[ "MIT" ]
null
null
null
data_structure/busca_profundidade_largura.py
uadson/data-structure
e7c62ff732b9b89e57b9b08dfc6f777e57a52397
[ "MIT" ]
null
null
null
data_structure/busca_profundidade_largura.py
uadson/data-structure
e7c62ff732b9b89e57b9b08dfc6f777e57a52397
[ "MIT" ]
null
null
null
class Vertice: def __init__(self, rotulo): self.rotulo = rotulo self.visitado = False self.adjacentes = [] def adiciona_adjacente(self, adjacente): self.adjacentes.append(adjacente) def mostra_adjacentes(self): for i in self.adjacentes: print(i.vertice.rotulo, i.custo) class Adjacente...
29.266968
128
0.687693
753
6,468
5.734396
0.151394
0.133858
0.198703
0.028717
0.322603
0.146132
0.138027
0.124595
0.101899
0.080593
0
0.020933
0.19496
6,468
221
129
29.266968
0.808335
0.024273
0
0.225434
0
0
0.052331
0
0
0
0
0
0
1
0.115607
false
0
0.011561
0.011561
0.33526
0.086705
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
308884d924ff840a10ba014007f164cd905b2668
11,014
py
Python
Assignment 4/NNet.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
null
null
null
Assignment 4/NNet.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
null
null
null
Assignment 4/NNet.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
2
2021-12-01T20:38:02.000Z
2021-12-01T22:42:38.000Z
#!/usr/bin/env python ''' # # Neural networks is a supervised learning algorithm, which utilizes neurons (which is a mathematical functions which accepts weighted values, and gives an output using an activation function) inorder to learn a problem and # then to evaluate and predict the outcomes for data which has not ...
55.626263
233
0.605684
1,428
11,014
4.530812
0.273109
0.045904
0.021638
0.011128
0.207419
0.178053
0.144513
0.119011
0.10881
0.080062
0
0.034388
0.305611
11,014
197
234
55.908629
0.811585
0.062194
0
0.094118
0
0
0.016723
0
0
0
0
0
0
0
null
null
0
0.023529
null
null
0.011765
0
0
0
null
0
0
0
0
0
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
308a8ead8c09d9060f476c9189d0c618fd81a7a3
1,027
py
Python
documents/migrations/0001_initial.py
iliadmitriev/taskcamp
f0da4aa5694bd1f2235cddcf0e3026b07d957e2d
[ "MIT" ]
4
2021-11-30T10:28:17.000Z
2022-01-31T07:44:08.000Z
documents/migrations/0001_initial.py
iliadmitriev/taskcamp
f0da4aa5694bd1f2235cddcf0e3026b07d957e2d
[ "MIT" ]
66
2021-08-17T08:20:20.000Z
2022-03-31T02:20:53.000Z
documents/migrations/0001_initial.py
iliadmitriev/taskcamp
f0da4aa5694bd1f2235cddcf0e3026b07d957e2d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-22 07:18 from django.db import migrations, models import documents.helpers class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Document', fields=[ ...
34.233333
122
0.607595
104
1,027
5.836538
0.567308
0.126853
0.062603
0.079077
0.108731
0.108731
0
0
0
0
0
0.027926
0.26777
1,027
29
123
35.413793
0.779255
0.043817
0
0
1
0
0.146939
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3090bd4ae1bc431a0e0140abb9b38829f936bb15
1,219
py
Python
joytest.py
AlessioMorale/fport-joy-bridge
ed5ff13acc391863d8df4005a3848743bf363d27
[ "MIT" ]
null
null
null
joytest.py
AlessioMorale/fport-joy-bridge
ed5ff13acc391863d8df4005a3848743bf363d27
[ "MIT" ]
null
null
null
joytest.py
AlessioMorale/fport-joy-bridge
ed5ff13acc391863d8df4005a3848743bf363d27
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from evdev import UInput, UInputError, ecodes, AbsInfo from evdev import util from fport import FportParser, FportMessageControl import serial from time import sleep if __name__ == '__main__': device = None def handler(message): if type(message) is FportMessageControl: ...
31.25641
87
0.584085
142
1,219
4.859155
0.535211
0.065217
0.104348
0.091304
0.06087
0.06087
0
0
0
0
0
0.030916
0.31009
1,219
39
88
31.25641
0.789536
0.017227
0
0.057143
0
0
0.027546
0
0
0
0
0
0
1
0.028571
false
0.057143
0.142857
0
0.171429
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3093f2eef129b7ff15a03825ab1986f511920339
1,058
py
Python
bitHopper/Logic/__init__.py
DavidVorick/bitHopper
72544e50b05aa2529ab0adf505bf9a9b609ae64c
[ "MIT" ]
2
2018-04-24T07:30:32.000Z
2018-06-19T18:13:38.000Z
bitHopper/Logic/__init__.py
KirillShaman/bitHopper
72544e50b05aa2529ab0adf505bf9a9b609ae64c
[ "MIT" ]
null
null
null
bitHopper/Logic/__init__.py
KirillShaman/bitHopper
72544e50b05aa2529ab0adf505bf9a9b609ae64c
[ "MIT" ]
1
2018-04-24T07:30:33.000Z
2018-04-24T07:30:33.000Z
""" This module contains all of the server selection logic. It supplies one function: get_server() which returns the name of a server to mine. It has two external dependencies. 1) btcnet_info via btcnet_wrapper 2) a way to pull getworks for checking if we should delag pools """ import ServerLogic import bitHopper....
24.045455
67
0.680529
150
1,058
4.726667
0.58
0.038082
0.050776
0
0
0
0
0
0
0
0
0.012392
0.23724
1,058
43
68
24.604651
0.866171
0.458412
0
0
0
0
0.033333
0
0
0
0
0
0
1
0.2
false
0.133333
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3098dcc308b0f38894e8932ddd5c2709945d9041
846
py
Python
Ago-Dic-2019/DanielM/PracticaUno/3.9_DinnerGuests.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2019/DanielM/PracticaUno/3.9_DinnerGuests.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2019/DanielM/PracticaUno/3.9_DinnerGuests.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
# 3-9. Dinner Guests: Working with one of the programs from Exercises 3-4 through 3-7 (page 46), # use len() to print a message indicating the number of people you are inviting to dinner. guests = ['Antonio', 'Emanuel', 'Francisco'] message = "1.- Hello dear uncle " + guests[0] + ", I hope you can come this 16th for ...
49.764706
120
0.628842
131
846
4.061069
0.572519
0.067669
0.071429
0
0
0
0
0
0
0
0
0.025806
0.267139
846
17
121
49.764706
0.832258
0.216312
0
0.272727
0
0
0.571861
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
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
309b0655db3c1fd9b58f914f090d62e8f523e861
8,802
py
Python
argocd_client/models/v1alpha1_cluster.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
1
2021-09-29T11:57:07.000Z
2021-09-29T11:57:07.000Z
argocd_client/models/v1alpha1_cluster.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
1
2020-09-09T00:28:57.000Z
2020-09-09T00:28:57.000Z
argocd_client/models/v1alpha1_cluster.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
2
2020-10-13T18:31:59.000Z
2021-02-15T12:52:33.000Z
# coding: utf-8 """ Consolidate Services Description of all APIs # noqa: E501 The version of the OpenAPI document: version not set Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from argocd_client.configuration import Configuration class V1alp...
28.859016
204
0.60918
972
8,802
5.365226
0.139918
0.036817
0.128859
0.115053
0.463663
0.376989
0.353787
0.209204
0.136337
0.08092
0
0.030551
0.30459
8,802
304
205
28.953947
0.821434
0.355828
0
0.089552
1
0
0.071163
0.009102
0
0
0
0
0
1
0.164179
false
0
0.029851
0
0.328358
0.014925
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
309ddfbd9a766a8a929b5b31731638f34ca48d1c
1,489
py
Python
src/msgraph/model/shared.py
microsoftarchive/msgraph-sdk-python
1320ba9116be0d00a1d7fce3484ea979e24ee82d
[ "MIT" ]
7
2019-07-17T06:59:53.000Z
2021-05-13T15:23:37.000Z
src/msgraph/model/shared.py
microsoftarchive/msgraph-sdk-python
1320ba9116be0d00a1d7fce3484ea979e24ee82d
[ "MIT" ]
null
null
null
src/msgraph/model/shared.py
microsoftarchive/msgraph-sdk-python
1320ba9116be0d00a1d7fce3484ea979e24ee82d
[ "MIT" ]
2
2020-06-30T13:06:59.000Z
2021-06-03T09:47:35.000Z
# -*- coding: utf-8 -*- """ # Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. # # This file was generated and any changes will be overwritten. """ from __future__ import unicode_literals from ..model.identity_set i...
26.589286
151
0.589657
168
1,489
5.005952
0.386905
0.123662
0.171225
0.121284
0.170036
0
0
0
0
0
0
0.000976
0.311619
1,489
55
152
27.072727
0.819512
0.288784
0
0.296296
0
0
0.052743
0
0
0
0
0
0
1
0.185185
false
0
0.111111
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
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
30abbfa62591f83ed2fd836ae5d584e0bbebca55
1,554
py
Python
errors.py
Rested/multi-translate
565ef2ac7e8b5f94595cecc78b4076a3bc9be45e
[ "MIT" ]
1
2021-08-22T14:43:11.000Z
2021-08-22T14:43:11.000Z
errors.py
Rested/multi-translate
565ef2ac7e8b5f94595cecc78b4076a3bc9be45e
[ "MIT" ]
null
null
null
errors.py
Rested/multi-translate
565ef2ac7e8b5f94595cecc78b4076a3bc9be45e
[ "MIT" ]
null
null
null
from typing import Optional from fastapi import HTTPException class BaseMultiTranslateError(HTTPException): def __init__(self, detail: Optional[str] = None): super().__init__(status_code=400, detail=detail, headers={}) class TranslationEngineNotConfiguredError(BaseMultiTranslateError): """A problem...
27.263158
76
0.780566
143
1,554
8.412587
0.517483
0.016625
0.077307
0.028263
0.034913
0
0
0
0
0
0
0.008172
0.133848
1,554
56
77
27.75
0.885587
0.323037
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.941176
0
0
0
0
null
0
0
0
0
0
0
0
0
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
30ae6e3f4e096d6682d25c21fc12e815e531f331
30,320
py
Python
SRC/__mainv2__.py
Prog-LucasAlves/dados_financeiros_b3
e9cb2f6ed0e7b1a524fe68d75a444e458aad5689
[ "MIT" ]
3
2021-11-06T02:04:08.000Z
2022-01-12T19:33:19.000Z
SRC/__mainv2__.py
Prog-LucasAlves/dados_financeiros_b3
e9cb2f6ed0e7b1a524fe68d75a444e458aad5689
[ "MIT" ]
4
2021-11-06T01:44:42.000Z
2022-03-03T16:21:39.000Z
SRC/__mainv2__.py
Prog-LucasAlves/dados_financeiros_b3
e9cb2f6ed0e7b1a524fe68d75a444e458aad5689
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 ''' Author: Lucas Alves Linkedin: https://www.linkedin.com/in/lucasalves-ast/ ''' # TODO #4 Atualizar python 3.9.5 -> 3.9.9 # Importar bibliotecas internas import __conectdb__ import __query__ import __check__ import __check_semana__ import __list__ # Importar ...
49.381107
795
0.342183
2,432
30,320
4.064967
0.176809
0.105604
0.019421
0.028829
0.36142
0.283229
0.238418
0.198058
0.164677
0.144447
0
0.038663
0.552144
30,320
614
796
49.381107
0.689373
0.054914
0
0.203629
0
0.002016
0.0991
0.035075
0
0
0
0.001629
0
1
0.002016
false
0
0.02621
0
0.032258
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30b4cc58be44d21f1ee7aa4386ff6c15fa728253
2,750
py
Python
client/hr_services/doctype/employee_loan_application/employee_loan_application.py
mhbu50/client
b99003b872a1599ba8c4b0ca948610a1f49d527f
[ "MIT" ]
null
null
null
client/hr_services/doctype/employee_loan_application/employee_loan_application.py
mhbu50/client
b99003b872a1599ba8c4b0ca948610a1f49d527f
[ "MIT" ]
null
null
null
client/hr_services/doctype/employee_loan_application/employee_loan_application.py
mhbu50/client
b99003b872a1599ba8c4b0ca948610a1f49d527f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe, math from frappe import _ from frappe.utils import flt from frappe.model.mapper import get_mapped_doc from frappe.model.d...
41.044776
143
0.768
384
2,750
5.236979
0.273438
0.084038
0.059175
0.039781
0.302337
0.229736
0.229736
0.197911
0.14918
0.14918
0
0.006683
0.129455
2,750
67
144
41.044776
0.833333
0.049455
0
0
0
0
0.131367
0
0
0
0
0
0
0
null
null
0
0.12963
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
30b91860bc2a1d24f754665429d1043bd8923a57
17,616
py
Python
rdll.py
juntalis/python-ctypes-sandbox
a71783d79dff693fbf6d4f77b1ee864c8c1f30c9
[ "WTFPL" ]
3
2015-06-07T11:33:00.000Z
2021-01-28T09:05:13.000Z
rdll.py
juntalis/python-ctypes-sandbox
a71783d79dff693fbf6d4f77b1ee864c8c1f30c9
[ "WTFPL" ]
null
null
null
rdll.py
juntalis/python-ctypes-sandbox
a71783d79dff693fbf6d4f77b1ee864c8c1f30c9
[ "WTFPL" ]
1
2015-06-07T11:40:15.000Z
2015-06-07T11:40:15.000Z
# encoding: utf-8 """ This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for mor...
30.689895
106
0.699535
2,431
17,616
4.828877
0.178116
0.010904
0.011074
0.012522
0.280348
0.26544
0.236051
0.21075
0.166965
0.166965
0
0.011008
0.185229
17,616
573
107
30.743456
0.80687
0.036614
0
0.246973
0
0.009685
0.071183
0
0
0
0
0.00349
0
0
null
null
0.002421
0.016949
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
30b94d8884a9988e3bf75f6547fb55a3b5efb3c6
254
py
Python
pyneos/mypaths.py
kavehshamsi/neos
2ecfbd821c1cd53d1fecf1b51d25df8124955345
[ "MIT" ]
null
null
null
pyneos/mypaths.py
kavehshamsi/neos
2ecfbd821c1cd53d1fecf1b51d25df8124955345
[ "MIT" ]
null
null
null
pyneos/mypaths.py
kavehshamsi/neos
2ecfbd821c1cd53d1fecf1b51d25df8124955345
[ "MIT" ]
null
null
null
import os home_dir = os.path.expanduser('~') neos_dir = '.' # have this point to your neos directory neos_cmd = neos_dir + '/bin/neos' abc_cmd = neos_dir + '/bin/abc' abclib_path = neos_dir + '/cells/simpler.lib' neos_bench_dir = neos_dir + '/bench/'
23.090909
55
0.69685
41
254
4.04878
0.512195
0.210843
0.120482
0.156627
0
0
0
0
0
0
0
0
0.153543
254
10
56
25.4
0.772093
0.149606
0
0
0
0
0.207547
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30bda8ef7e38b0405c6b820fe73dc16fb49cbd7d
1,245
py
Python
house_prices_regression_model/predict.py
jmonsalverodilla/house_prices_regression_model
28fd24e777fcf838acffda6ea669e1339d92819d
[ "MIT" ]
null
null
null
house_prices_regression_model/predict.py
jmonsalverodilla/house_prices_regression_model
28fd24e777fcf838acffda6ea669e1339d92819d
[ "MIT" ]
null
null
null
house_prices_regression_model/predict.py
jmonsalverodilla/house_prices_regression_model
28fd24e777fcf838acffda6ea669e1339d92819d
[ "MIT" ]
null
null
null
import typing as t import numpy as np import pandas as pd from house_prices_regression_model import __version__ as VERSION from house_prices_regression_model.processing.data_manager import load_pipeline from house_prices_regression_model.config.core import load_config_file, SETTINGS_PATH from house_prices_regression_m...
40.16129
95
0.774297
171
1,245
5.298246
0.403509
0.039735
0.066225
0.110375
0.220751
0.09713
0.09713
0
0
0
0
0
0.138153
1,245
30
96
41.5
0.844362
0.055422
0
0
0
0
0.105218
0.052181
0.043478
0
0
0
0
1
0.043478
false
0
0.304348
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
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
30c15578533a2994c5fc4ffc5aaf53e8cae12930
3,355
py
Python
src/gui/SelectActorsFormWrapper.py
perfidia/afefuc
9717f446dab909cbdac0dc57374859f75436238e
[ "MIT" ]
null
null
null
src/gui/SelectActorsFormWrapper.py
perfidia/afefuc
9717f446dab909cbdac0dc57374859f75436238e
[ "MIT" ]
null
null
null
src/gui/SelectActorsFormWrapper.py
perfidia/afefuc
9717f446dab909cbdac0dc57374859f75436238e
[ "MIT" ]
1
2021-10-01T18:09:33.000Z
2021-10-01T18:09:33.000Z
''' Created on Apr 25, 2013 @author: Bartosz Alchimowicz ''' from PyQt4 import QtCore, QtGui from generated.ui.SelectForm import Ui_SelectForm #from format import model #from utils import converter try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class SelectActorsTableMod...
28.675214
115
0.742176
421
3,355
5.866983
0.28266
0.045344
0.068826
0.040081
0.244534
0.179757
0.179757
0.140891
0.103644
0.05749
0
0.006554
0.135917
3,355
116
116
28.922414
0.845464
0.03845
0
0.101266
1
0
0.006223
0
0
0
0
0
0
1
0.151899
false
0
0.025316
0.037975
0.291139
0
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
30c22525eb175856677ab787ab580cdf22d02aef
737
py
Python
guillotina/db/strategies/simple.py
rboixaderg/guillotina
fcae65c2185222272f3b8fee4bc2754e81e0e983
[ "BSD-2-Clause" ]
173
2017-03-10T18:26:12.000Z
2022-03-03T06:48:56.000Z
guillotina/db/strategies/simple.py
rboixaderg/guillotina
fcae65c2185222272f3b8fee4bc2754e81e0e983
[ "BSD-2-Clause" ]
921
2017-03-08T14:04:43.000Z
2022-03-30T10:28:56.000Z
guillotina/db/strategies/simple.py
rboixaderg/guillotina
fcae65c2185222272f3b8fee4bc2754e81e0e983
[ "BSD-2-Clause" ]
60
2017-03-16T19:59:44.000Z
2022-03-03T06:48:59.000Z
from guillotina import configure from guillotina import glogging from guillotina.db.interfaces import IDBTransactionStrategy from guillotina.db.interfaces import ITransaction from guillotina.db.strategies.base import BaseStrategy logger = glogging.getLogger("guillotina") @configure.adapter(for_=ITransaction, provid...
33.5
85
0.766621
84
737
6.571429
0.488095
0.126812
0.086957
0.094203
0.115942
0
0
0
0
0
0
0
0.162822
737
21
86
35.095238
0.894652
0.02578
0
0
0
0
0.022346
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
30c5f2bbaaebb57c2278a7e13761c8ab234ce074
945
py
Python
app/grandchallenge/products/migrations/0007_projectairfiles.py
nlessmann/grand-challenge.org
36abf6ccb40e2fc3fd3ff00e81deabd76f7e1ef8
[ "Apache-2.0" ]
101
2018-04-11T14:48:04.000Z
2022-03-28T00:29:48.000Z
app/grandchallenge/products/migrations/0007_projectairfiles.py
nlessmann/grand-challenge.org
36abf6ccb40e2fc3fd3ff00e81deabd76f7e1ef8
[ "Apache-2.0" ]
1,733
2018-03-21T11:56:16.000Z
2022-03-31T14:58:30.000Z
app/grandchallenge/products/migrations/0007_projectairfiles.py
nlessmann/grand-challenge.org
36abf6ccb40e2fc3fd3ff00e81deabd76f7e1ef8
[ "Apache-2.0" ]
42
2018-06-08T05:49:07.000Z
2022-03-29T08:43:01.000Z
# Generated by Django 3.1.11 on 2021-07-01 20:18 from django.db import migrations, models import grandchallenge.core.storage class Migration(migrations.Migration): dependencies = [ ("products", "0006_product_ce_under"), ] operations = [ migrations.CreateModel( name="Project...
25.540541
74
0.433862
70
945
5.7
0.8
0.090226
0.125313
0
0
0
0
0
0
0
0
0.046559
0.477249
945
36
75
26.25
0.761134
0.048677
0
0.172414
1
0
0.070234
0.023411
0
0
0
0
0
1
0
false
0
0.068966
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30c78c08bfce5b97f5737d7a5077457a88b30664
225
py
Python
shop/shop/products/validators.py
nikolaynikolov971/NftShop
09a535a6f708f0f6da5addeb8781f9bdcea72cf3
[ "MIT" ]
null
null
null
shop/shop/products/validators.py
nikolaynikolov971/NftShop
09a535a6f708f0f6da5addeb8781f9bdcea72cf3
[ "MIT" ]
null
null
null
shop/shop/products/validators.py
nikolaynikolov971/NftShop
09a535a6f708f0f6da5addeb8781f9bdcea72cf3
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError def is_alpha_or_space_validator(value): result = all(c.isalpha() or c.isspace() for c in value) if not result: raise ValidationError("Write a valid name.")
28.125
59
0.728889
33
225
4.848485
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.182222
225
7
60
32.142857
0.869565
0
0
0
0
0
0.084444
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
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
30c939a4b0dc0d1167348e5202a204de6c5d17f1
762
py
Python
amlearn/utils/tests/test_data.py
Qi-max/amlearn
88189519bc1079ab5085d5871169c223e0d03057
[ "BSD-3-Clause-LBNL" ]
12
2019-02-07T16:45:29.000Z
2021-03-15T12:44:07.000Z
amlearn/utils/tests/test_data.py
Qi-max/amlearn
88189519bc1079ab5085d5871169c223e0d03057
[ "BSD-3-Clause-LBNL" ]
2
2018-11-22T04:59:10.000Z
2019-12-05T14:22:29.000Z
amlearn/utils/tests/test_data.py
Qi-max/amlearn
88189519bc1079ab5085d5871169c223e0d03057
[ "BSD-3-Clause-LBNL" ]
5
2020-12-03T07:18:50.000Z
2022-01-20T09:17:47.000Z
import numpy as np from amlearn.utils.basetest import AmLearnTest from amlearn.utils.data import get_isometric_lists class test_data(AmLearnTest): def setUp(self): pass def test_get_isometric_lists(self): test_lists= [[1, 2, 3], [4], [5, 6], [1, 2, 3]] isometric_lists = \ ...
34.636364
74
0.624672
108
762
4.203704
0.324074
0.10793
0.14978
0.052863
0.277533
0.23348
0.23348
0.23348
0.23348
0.23348
0
0.051724
0.238845
762
21
75
36.285714
0.731034
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0.0625
0.1875
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30ce16a2a000257fc608a7033745bf529c0115b7
239
py
Python
Ejercicios/for.py
julioh/python-chile
da7fc9cdfb03c69c36a98903b80a45c795f2c543
[ "MIT" ]
null
null
null
Ejercicios/for.py
julioh/python-chile
da7fc9cdfb03c69c36a98903b80a45c795f2c543
[ "MIT" ]
null
null
null
Ejercicios/for.py
julioh/python-chile
da7fc9cdfb03c69c36a98903b80a45c795f2c543
[ "MIT" ]
null
null
null
#! /usr/bin/python # -*- coding: iso-8859-15 -*- n = int(input("Ingrese la cantidad de datos: ")) suma = 0 for i in range(n): x = float(input("Ingrese el dato: ")) suma = suma + x prom = suma / n print("El promedio es: " ,prom)
26.555556
48
0.585774
39
239
3.589744
0.74359
0.171429
0
0
0
0
0
0
0
0
0
0.037838
0.225941
239
9
49
26.555556
0.718919
0.188285
0
0
0
0
0.326425
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
30d9ddb09f55d2ace753f27b29e345ba784b61c0
2,945
py
Python
Mailbox/models.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
null
null
null
Mailbox/models.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
3
2020-06-23T17:13:11.000Z
2021-04-08T19:57:20.000Z
Mailbox/models.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
null
null
null
from django.db import models from datetime import datetime from django.contrib import messages from django.dispatch import receiver from django.contrib.auth.models import User from django.db.models.signals import post_save from polymorphic.models import PolymorphicModel from Blog.models import Comment, Article, Announc...
35.914634
164
0.788795
388
2,945
5.860825
0.260309
0.043536
0.030783
0.046174
0.230871
0.218997
0.146878
0.048373
0.048373
0
0
0.00116
0.121562
2,945
81
165
36.358025
0.877851
0.137861
0
0.104167
0
0
0.046392
0.010706
0
0
0
0
0
1
0.104167
false
0
0.166667
0.020833
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
30dc1db20603dba0a6581e8467b5ea5697262a2a
7,400
py
Python
archive/extras/cat_dog_estimator/main.py
Pandinosaurus/tensorflow-workshop
31c7ca9f9248d00da37a13ded55eada4c493c463
[ "Apache-2.0" ]
796
2016-09-27T17:35:54.000Z
2021-08-23T06:15:03.000Z
archive/extras/cat_dog_estimator/main.py
Pandinosaurus/tensorflow-workshop
31c7ca9f9248d00da37a13ded55eada4c493c463
[ "Apache-2.0" ]
18
2016-09-27T20:36:53.000Z
2020-08-13T12:33:15.000Z
archive/extras/cat_dog_estimator/main.py
Pandinosaurus/tensorflow-workshop
31c7ca9f9248d00da37a13ded55eada4c493c463
[ "Apache-2.0" ]
328
2016-09-27T17:36:06.000Z
2021-01-18T03:17:17.000Z
""" A very simplified introduction to TensorFlow using Estimator API for training a cat vs. dog classifier from the CIFAR-10 dataset. This version is intentionally simplified and has a lot of room for improvment, in speed and accuracy. Usage: python main.py [train|predict] [predict file] """ import sys import nump...
29.365079
79
0.662838
1,091
7,400
4.388634
0.298808
0.023392
0.006266
0.005013
0.155388
0.118212
0.084378
0.070593
0.053885
0.037176
0
0.034686
0.244189
7,400
251
80
29.482072
0.821384
0.184054
0
0.259259
0
0
0.068823
0
0
0
0
0
0
0
null
null
0
0.02963
null
null
0.02963
0
0
0
null
0
0
0
0
0
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
30dc839ebe6b8f98f13b1bedf2d15538a5ad4f51
3,547
py
Python
c2cgeoportal/tests/test_wfsparsing.py
pgiraud/c2cgeoportal
3ec955c5c67d16256af726a62d586b3f4ec3b500
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
c2cgeoportal/tests/test_wfsparsing.py
pgiraud/c2cgeoportal
3ec955c5c67d16256af726a62d586b3f4ec3b500
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
c2cgeoportal/tests/test_wfsparsing.py
pgiraud/c2cgeoportal
3ec955c5c67d16256af726a62d586b3f4ec3b500
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2013, Camptocamp SA # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this # l...
47.293333
81
0.74993
435
3,547
6.034483
0.386207
0.054857
0.027429
0.055238
0.492571
0.447238
0.447238
0.447238
0.447238
0.408381
0
0.009368
0.187482
3,547
74
82
47.932432
0.901457
0.43135
0
0.5
0
0
0.079277
0
0
0
0
0
0.131579
1
0.105263
false
0
0.342105
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
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
30e3bdfd7871899ee3a520a4d40bafa5df32a895
1,059
py
Python
app/ac_common/testrunner.py
marwahaha/allecena
b8f8a15ca0dbc80e745febf0e81263ec197e7363
[ "Apache-2.0" ]
3
2018-04-29T15:40:37.000Z
2020-04-15T20:37:08.000Z
app/ac_common/testrunner.py
marwahaha/allecena
b8f8a15ca0dbc80e745febf0e81263ec197e7363
[ "Apache-2.0" ]
1
2019-10-30T20:35:46.000Z
2019-10-30T20:35:46.000Z
app/ac_common/testrunner.py
marwahaha/allecena
b8f8a15ca0dbc80e745febf0e81263ec197e7363
[ "Apache-2.0" ]
2
2019-08-04T02:54:22.000Z
2021-03-03T21:03:11.000Z
# coding: utf-8 import os from django.test.runner import DiscoverRunner from django.conf import settings class AcTestRunner(DiscoverRunner): def __init__(self, **kwargs): super(AcTestRunner, self).__init__(**kwargs) self.no_db = kwargs.get('no_db', None) if kwargs.get('no_db', None) is not None ...
32.090909
98
0.653447
133
1,059
4.962406
0.421053
0.042424
0.095455
0.039394
0.287879
0.154545
0.154545
0.154545
0.154545
0.154545
0
0.001236
0.236072
1,059
32
99
33.09375
0.814586
0.012276
0
0.26087
0
0
0.086207
0.029693
0
0
0
0
0
1
0.173913
false
0.086957
0.130435
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30e7d355b3ba63a871cabdf99afcb8758eaf40d1
1,157
py
Python
cogs/restart.py
snoringninja/niftybot-discord
b3f7e92e2be3fda06e87ceb00a65b8dc85eec67c
[ "MIT" ]
null
null
null
cogs/restart.py
snoringninja/niftybot-discord
b3f7e92e2be3fda06e87ceb00a65b8dc85eec67c
[ "MIT" ]
11
2018-06-06T19:01:08.000Z
2019-07-29T14:55:03.000Z
cogs/restart.py
snoringninja/niftybot-discord
b3f7e92e2be3fda06e87ceb00a65b8dc85eec67c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ restart.py @author xNifty @site - https://snoring.ninja Restart the python process I wouldn't recommend using this """ import os import sys from discord.ext import commands from resources.config import ConfigLoader class Restart(): """Restart() Restart the bot python process; I ...
24.104167
89
0.640449
154
1,157
4.701299
0.5
0.038674
0.044199
0.063536
0.107735
0.107735
0.107735
0.107735
0
0
0
0.001144
0.244598
1,157
47
90
24.617021
0.827231
0.237684
0
0
0
0
0.049724
0
0
0
0
0
0
1
0.105263
false
0.052632
0.210526
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
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
30e94968db2242192ef6d7100f4410fa00a4184b
2,433
py
Python
webapp/models.py
JagerCox/InverseRelation
721c739e542ff26cd14e393227c2a5702a79093c
[ "MIT" ]
null
null
null
webapp/models.py
JagerCox/InverseRelation
721c739e542ff26cd14e393227c2a5702a79093c
[ "MIT" ]
null
null
null
webapp/models.py
JagerCox/InverseRelation
721c739e542ff26cd14e393227c2a5702a79093c
[ "MIT" ]
null
null
null
from django.db import models from phonenumber_field.modelfields import PhoneNumberField class Contact(models.Model): name = models.CharField(max_length=25, help_text="Example: John", null=False, blank=False) surname = models.CharField(max_length=100, help_text="Example: Doe", null=False, blank=False) nick...
65.756757
113
0.709001
324
2,433
5.148148
0.256173
0.095923
0.170863
0.16307
0.574341
0.515588
0.345923
0.326739
0.302158
0.248201
0
0.033873
0.162762
2,433
36
114
67.583333
0.784978
0
0
0.103448
0
0
0.183313
0.011097
0
0
0
0
0
1
0.034483
false
0
0.068966
0.034483
0.862069
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
30eaa2105d07e43d9a8ec898704e63e5994f330e
12,680
py
Python
MyUtils/ImageProcessing.py
mairob/Semantic-segmentation-and-Depth-estimation
d9624cdbde000a0c41e1025f89aa6edfdf947045
[ "MIT" ]
6
2018-06-15T21:18:58.000Z
2021-07-05T08:41:21.000Z
MyUtils/ImageProcessing.py
mairob/Semantic-segmentation-and-Depth-estimation
d9624cdbde000a0c41e1025f89aa6edfdf947045
[ "MIT" ]
null
null
null
MyUtils/ImageProcessing.py
mairob/Semantic-segmentation-and-Depth-estimation
d9624cdbde000a0c41e1025f89aa6edfdf947045
[ "MIT" ]
4
2018-06-15T21:19:08.000Z
2021-07-05T08:41:23.000Z
#! /usr/bin/python3 ############################################################# ### Helper File for TFRecords and Image manipulation ######## ############################################################# import tensorflow as tf import numpy as np ## Label mapping for Cityscapes (34 classes) Cityscapes34_I...
44.181185
133
0.593612
1,735
12,680
4.204035
0.217291
0.007952
0.034549
0.049356
0.539073
0.516041
0.506992
0.496298
0.470524
0.459145
0
0.074469
0.238565
12,680
287
134
44.181185
0.680994
0
0
0.43949
0
0
0.040866
0
0
0
0
0
0.012739
0
null
null
0
0.044586
null
null
0.012739
0
0
0
null
0
0
0
0
0
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
30ecb86d7b4b8c0041f3054b609592352ad97efe
9,468
py
Python
src/config/utilities.py
ionitadaniel19/testframeworksevolution
873b7d7e7de770b9407840f6ccd662929b5dd3b6
[ "MIT" ]
null
null
null
src/config/utilities.py
ionitadaniel19/testframeworksevolution
873b7d7e7de770b9407840f6ccd662929b5dd3b6
[ "MIT" ]
null
null
null
src/config/utilities.py
ionitadaniel19/testframeworksevolution
873b7d7e7de770b9407840f6ccd662929b5dd3b6
[ "MIT" ]
null
null
null
''' Created on 24.05.2014 @author: ionitadaniel19 ''' import logging.config import os import json from xlsmanager import easyExcel from constants import * import traceback import copy def setup_logging(default_path='logging.json', default_level=logging.INFO,env_key='LOG_CFG'): """Setup logging conf...
47.104478
123
0.649873
1,239
9,468
4.613398
0.121065
0.060182
0.071204
0.097096
0.703464
0.678272
0.646781
0.619314
0.554059
0.554059
0
0.007848
0.246303
9,468
200
124
47.34
0.793161
0.031052
0
0.475309
0
0.006173
0.073982
0.004299
0
0
0
0
0
0
null
null
0
0.04321
null
null
0.018519
0
0
0
null
0
0
0
0
0
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
30f171763de2f4636a1f96ffc3321d80779aff6d
670
py
Python
api/migrations/0001_initial.py
study-abacus/admin-site
045168cae3edcc95a3bb068d7b1ba19a87bf3070
[ "MIT" ]
1
2020-10-19T09:26:38.000Z
2020-10-19T09:26:38.000Z
api/migrations/0001_initial.py
study-abacus/admin-site
045168cae3edcc95a3bb068d7b1ba19a87bf3070
[ "MIT" ]
10
2018-10-25T21:06:12.000Z
2021-06-10T20:57:46.000Z
api/migrations/0001_initial.py
study-abacus/admin-site
045168cae3edcc95a3bb068d7b1ba19a87bf3070
[ "MIT" ]
1
2020-10-19T08:55:16.000Z
2020-10-19T08:55:16.000Z
# Generated by Django 2.1.2 on 2019-06-21 15:16 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ContactQuery', fields=[ ('id', models.AutoF...
26.8
114
0.567164
67
670
5.567164
0.701493
0.072386
0.096515
0.128686
0
0
0
0
0
0
0
0.049145
0.301493
670
24
115
27.916667
0.747863
0.067164
0
0
1
0
0.070626
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
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
30f24f3c782ca580ac6fe9778ca672c384b9687e
930
py
Python
helper.py
chin-gyou/lstm
087ae684e0f4fbd91d36140a20de2b8ce1e30790
[ "MIT" ]
null
null
null
helper.py
chin-gyou/lstm
087ae684e0f4fbd91d36140a20de2b8ce1e30790
[ "MIT" ]
null
null
null
helper.py
chin-gyou/lstm
087ae684e0f4fbd91d36140a20de2b8ce1e30790
[ "MIT" ]
null
null
null
def num_contain(f,token): with open(f) as fin: lines=fin.readlines() r=[l for l in lines if token not in l] print(len(r)) def combine(f1,f2,w): l1=open(f1).readlines() l2=open(f2).readlines() pair=zip(l1,l2) print(pair[0]) r=[lin1.strip()+" "+lin2.strip()+"\n" for lin1,lin2 in zip(l1,...
33.214286
112
0.627957
154
930
3.74026
0.311688
0.069444
0.104167
0.119792
0.503472
0.4375
0.4375
0.4375
0.4375
0.329861
0
0.056747
0.147312
930
27
113
34.444444
0.669609
0.173118
0
0.363636
0
0
0.121252
0.08605
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
0
0
0
null
0
0
0
0
0
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
a50a8c12b43e3147dc21fc80b072b9b3ccc322f0
583
py
Python
src/princeton_scraper_cos_courses/__init__.py
jlumbroso/princeton-scraper-cos-courses
9d666d827a75a60c95c713e101f45d8354e7b40f
[ "Unlicense" ]
1
2021-09-16T16:28:47.000Z
2021-09-16T16:28:47.000Z
src/princeton_scraper_cos_courses/__init__.py
jlumbroso/princeton-scraper-cos-courses
9d666d827a75a60c95c713e101f45d8354e7b40f
[ "Unlicense" ]
null
null
null
src/princeton_scraper_cos_courses/__init__.py
jlumbroso/princeton-scraper-cos-courses
9d666d827a75a60c95c713e101f45d8354e7b40f
[ "Unlicense" ]
null
null
null
""" Library to fetch and parse the public Princeton COS courses history as a Python dictionary or JSON data source. """ __version__ = '1.0.0' __author__ = "Jérémie Lumbroso <lumbroso@cs.princeton.edu>" __all__ = [ "CosCourseInstance", "CosCourseTerm", "fetch_cos_courses", ] from princeton_scraper_cos_...
23.32
82
0.778731
78
583
5.423077
0.564103
0.165485
0.141844
0.163121
0.274232
0.20331
0.20331
0
0
0
0
0.005964
0.137221
583
24
83
24.291667
0.83499
0.190395
0
0
0
0
0.209957
0.058442
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
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
a5109f1adc34ba30dd99b10be532856ef200eb92
268
py
Python
tests/test_print.py
syegulalp/myjit
7427fee86a871a9c3a45704839ef7d0249773fc0
[ "MIT" ]
11
2021-03-17T15:08:54.000Z
2022-02-21T18:31:25.000Z
tests/test_print.py
syegulalp/myjit
7427fee86a871a9c3a45704839ef7d0249773fc0
[ "MIT" ]
null
null
null
tests/test_print.py
syegulalp/myjit
7427fee86a871a9c3a45704839ef7d0249773fc0
[ "MIT" ]
null
null
null
import unittest from jit import jit from jit import j_types as j @jit def test_print(x: j.i64): return print(x) class Test(unittest.TestCase): def test_void_zero(self): self.assertEqual(test_print(8), 2) self.assertEqual(test_print(64), 3)
17.866667
43
0.697761
44
268
4.113636
0.522727
0.149171
0.143646
0.265193
0
0
0
0
0
0
0
0.03271
0.201493
268
14
44
19.142857
0.813084
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.3
0.1
0.7
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
a51178638a04068eaacf47738aff0a5fca5d3d5f
3,794
py
Python
lab.py
LiuDaveLiu/dj-spineimaging
ab7a18e8698a604dfb977def4a65f9c391389f83
[ "MIT" ]
null
null
null
lab.py
LiuDaveLiu/dj-spineimaging
ab7a18e8698a604dfb977def4a65f9c391389f83
[ "MIT" ]
null
null
null
lab.py
LiuDaveLiu/dj-spineimaging
ab7a18e8698a604dfb977def4a65f9c391389f83
[ "MIT" ]
1
2019-02-27T15:18:43.000Z
2019-02-27T15:18:43.000Z
import datajoint as dj schema = dj.schema('boazmohar_lab', locals()) @schema class Person(dj.Manual): definition = """ username : varchar(12) ---- fullname : varchar(60) """ contents = [('boazmohar', 'Boaz Mohar')] @schema class Rig(dj.Lookup): # This list will be everchanging and espandin...
24.960526
137
0.570374
417
3,794
5.122302
0.402878
0.061798
0.039794
0.037453
0.171348
0.171348
0.160581
0.136236
0.136236
0.136236
0
0.0292
0.304955
3,794
151
138
25.125828
0.780812
0.102003
0
0.442623
0
0
0.630697
0.013819
0
0
0
0
0
1
0
false
0
0.008197
0
0.295082
0
0
0
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
a516fe5403ac004bb7f05d5813cb02f12722720e
26,362
py
Python
files/spam-filter/tracspamfilter/admin.py
Puppet-Finland/puppet-trac
ffdf467ba80ff995778c30b0bdc6dc3e7d4e6cd3
[ "BSD-2-Clause" ]
null
null
null
files/spam-filter/tracspamfilter/admin.py
Puppet-Finland/puppet-trac
ffdf467ba80ff995778c30b0bdc6dc3e7d4e6cd3
[ "BSD-2-Clause" ]
null
null
null
files/spam-filter/tracspamfilter/admin.py
Puppet-Finland/puppet-trac
ffdf467ba80ff995778c30b0bdc6dc3e7d4e6cd3
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2015 Edgewall Software # Copyright (C) 2015 Dirk Stöcker <trac@dstoecker.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://tr...
43.573554
80
0.582278
2,720
26,362
5.373529
0.130882
0.027778
0.025794
0.012315
0.409962
0.302545
0.19636
0.134784
0.114874
0.082033
0
0.005462
0.326379
26,362
604
81
43.645695
0.817603
0.029778
0
0.210744
0
0
0.16048
0.021541
0
0
0
0
0
0
null
null
0
0.049587
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
a5179480fa77effa02a250c5278f91140c5e5c57
2,130
py
Python
bin/convert_to_wdiff.py
zerogerc/wikiedits
d9c91d448254ce6f43abb977d492b0d878f6aacc
[ "Apache-2.0" ]
null
null
null
bin/convert_to_wdiff.py
zerogerc/wikiedits
d9c91d448254ce6f43abb977d492b0d878f6aacc
[ "Apache-2.0" ]
null
null
null
bin/convert_to_wdiff.py
zerogerc/wikiedits
d9c91d448254ce6f43abb977d492b0d878f6aacc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys from difflib import SequenceMatcher SKIP_COMMENTS = False ONE_LINE_COMMENTS = False def main(): err = None cor = None comment = '' for line in sys.stdin: line = line.strip() if line.startswith('###'): if...
26.962025
186
0.480751
230
2,130
4.330435
0.33913
0.060241
0.075301
0.042169
0
0
0
0
0
0
0
0.006737
0.37277
2,130
78
187
27.307692
0.738772
0.044131
0
0.2
0
0.016667
0.142292
0.034585
0
0
0
0
0
0
null
null
0
0.05
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a5179f68c24505447773476e48e4e052fb2455ce
7,143
py
Python
apps/stock_members.py
ohjho/open_terminal
35e3fdc0db65a8f91c9e7d2a8685e23a59799f47
[ "Apache-2.0" ]
null
null
null
apps/stock_members.py
ohjho/open_terminal
35e3fdc0db65a8f91c9e7d2a8685e23a59799f47
[ "Apache-2.0" ]
3
2021-04-20T02:37:17.000Z
2021-08-24T07:24:53.000Z
apps/stock_members.py
ohjho/open_terminal
35e3fdc0db65a8f91c9e7d2a8685e23a59799f47
[ "Apache-2.0" ]
null
null
null
import os, sys, json, requests import streamlit as st from stqdm import stqdm import pandas as pd #Paths cwdir = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(1, os.path.join(cwdir, "../")) from toolbox.st_utils import show_plotly from toolbox.yf_utils import tickers_parser, get_stocks_obj, get_stocks_in...
42.266272
227
0.600308
854
7,143
4.85363
0.340749
0.016888
0.008685
0.01158
0.087334
0.043426
0.030398
0.01544
0
0
0
0.012624
0.268095
7,143
168
228
42.517857
0.780222
0.146997
0
0.132231
0
0.008264
0.217529
0.021121
0
0
0
0.017857
0
1
0.057851
false
0
0.057851
0
0.198347
0.008264
0
0
0
null
0
0
0
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
eb48ef960c6913ce20374139a49fb2f9e16ae84a
2,450
py
Python
accounts/forms.py
rijalanupraj/halkapan
a1b5964034a4086a890f839ba4d3d2885a54235f
[ "MIT" ]
null
null
null
accounts/forms.py
rijalanupraj/halkapan
a1b5964034a4086a890f839ba4d3d2885a54235f
[ "MIT" ]
null
null
null
accounts/forms.py
rijalanupraj/halkapan
a1b5964034a4086a890f839ba4d3d2885a54235f
[ "MIT" ]
null
null
null
# External Import from django.contrib.auth import get_user_model from django import forms from django.contrib.auth.forms import UserCreationForm, AuthenticationForm from django.core.exceptions import ValidationError from django.contrib import messages from django.urls import reverse from django.contrib.sites.shortcuts ...
38.888889
90
0.672245
259
2,450
6.297297
0.355212
0.04905
0.058246
0.05886
0.232986
0.232986
0.203556
0.203556
0.203556
0.203556
0
0.003568
0.199184
2,450
62
91
39.516129
0.827727
0.006122
0
0.040816
0
0
0.197287
0
0
0
0
0
0
1
0.040816
false
0.142857
0.163265
0
0.44898
0
0
0
0
null
0
0
0
0
0
0
0
0
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
eb4abce918b424db6423be51cf90882e0dc4decd
4,037
py
Python
umbra/common/protobuf/umbra_grpc.py
RafaelAPB/umbra
cf075bbe73e46540e9edee25f9ec3d0828620d5f
[ "Apache-2.0" ]
null
null
null
umbra/common/protobuf/umbra_grpc.py
RafaelAPB/umbra
cf075bbe73e46540e9edee25f9ec3d0828620d5f
[ "Apache-2.0" ]
null
null
null
umbra/common/protobuf/umbra_grpc.py
RafaelAPB/umbra
cf075bbe73e46540e9edee25f9ec3d0828620d5f
[ "Apache-2.0" ]
null
null
null
# Generated by the Protocol Buffers compiler. DO NOT EDIT! # source: umbra.proto # plugin: grpclib.plugin.main import abc import typing import grpclib.const import grpclib.client if typing.TYPE_CHECKING: import grpclib.server import google.protobuf.struct_pb2 import google.protobuf.timestamp_pb2 from umbra.common...
28.230769
111
0.600446
406
4,037
5.795567
0.179803
0.105397
0.072673
0.061198
0.684233
0.631959
0.487888
0.317042
0.317042
0.238844
0
0.011648
0.298241
4,037
142
112
28.429577
0.81892
0.025762
0
0.527778
1
0
0.131077
0.087809
0
0
0
0
0
1
0.074074
false
0.046296
0.074074
0.037037
0.259259
0
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
eb50c22d247814c193179eadb9b7153398a4d13c
1,086
py
Python
leetcode/2.Add_Two_Numbers/python/add_two_numbers_v2.py
realXuJiang/research_algorithms
8f2876288cb607b9eddb2aa75f51a1d574b51ec4
[ "Apache-2.0" ]
1
2019-08-12T09:32:30.000Z
2019-08-12T09:32:30.000Z
leetcode/2.Add_Two_Numbers/python/add_two_numbers_v2.py
realXuJiang/research_algorithms
8f2876288cb607b9eddb2aa75f51a1d574b51ec4
[ "Apache-2.0" ]
null
null
null
leetcode/2.Add_Two_Numbers/python/add_two_numbers_v2.py
realXuJiang/research_algorithms
8f2876288cb607b9eddb2aa75f51a1d574b51ec4
[ "Apache-2.0" ]
null
null
null
class ListNode(object): def __init__(self, x): self.val = x self.next = None def addTwoNumbers(l1, l2): carry = 0 root = n = ListNode(0) while l1 or l2 or carry: v1 = v2 = 0 if l1: v1 = l1.val l1 = l1.next i...
23.608696
44
0.483425
140
1,086
3.721429
0.314286
0.028791
0.065259
0.034549
0.049904
0
0
0
0
0
0
0.078221
0.399632
1,086
45
45
24.133333
0.720859
0.025783
0
0.05
0
0
0.023674
0
0
0
0
0
0
0
null
null
0
0
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
eb566541f6de184d1ac1cf427e1c154f7fe641b8
1,067
py
Python
setup.py
kain88-de/numkit
31b948b5d6f9093fbb35db98496dd69046511afe
[ "BSD-3-Clause" ]
null
null
null
setup.py
kain88-de/numkit
31b948b5d6f9093fbb35db98496dd69046511afe
[ "BSD-3-Clause" ]
null
null
null
setup.py
kain88-de/numkit
31b948b5d6f9093fbb35db98496dd69046511afe
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/python """Setuptools-based setup script for numkit. For a basic installation just type the command:: python setup.py install """ from setuptools import setup, find_packages setup(name='numkit', version='1.1.0-dev', description='numerical first aid kit', author='Oliver Beckstein', ...
29.638889
71
0.614808
113
1,067
5.743363
0.752212
0.03698
0.021572
0
0
0
0
0
0
0
0
0.009768
0.232427
1,067
35
72
30.485714
0.782662
0.12746
0
0
0
0
0.469122
0.023835
0
0
0
0
0
1
0
true
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
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
eb58292318b92d933a7b5900cc0d082100be1cdb
44,215
py
Python
Proj029Pipelines/PipelineMetaomics.py
CGATOxford/proj029
f0a8ea63b4f086e673aa3bf8b7d3b9749261b525
[ "BSD-3-Clause" ]
3
2016-04-04T22:54:14.000Z
2017-04-01T09:37:54.000Z
Proj029Pipelines/PipelineMetaomics.py
CGATOxford/proj029
f0a8ea63b4f086e673aa3bf8b7d3b9749261b525
[ "BSD-3-Clause" ]
null
null
null
Proj029Pipelines/PipelineMetaomics.py
CGATOxford/proj029
f0a8ea63b4f086e673aa3bf8b7d3b9749261b525
[ "BSD-3-Clause" ]
null
null
null
#################################################### #################################################### # functions and classes used in conjunction with # pipeline_metaomics.py #################################################### #################################################### # import libraries import sys impo...
39.690305
140
0.455728
4,861
44,215
4.11582
0.141329
0.009397
0.008997
0.023092
0.350927
0.308692
0.282851
0.25636
0.253061
0.237117
0
0.018031
0.254913
44,215
1,113
141
39.725966
0.589273
0.122379
0
0.239234
0
0.130782
0.626881
0.104157
0.004785
0
0
0
0
1
0.038278
false
0
0.017544
0
0.055821
0.009569
0
0
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
eb6d0eb419a5d2952ce72fb2728210efca01373f
956
py
Python
setup.py
breathe/NotebookScripter
ecdc9b0842e88179df76f96e4fbcf93032effaa5
[ "MIT" ]
23
2018-11-20T16:50:20.000Z
2021-11-16T11:36:43.000Z
setup.py
breathe/NotebookScripter
ecdc9b0842e88179df76f96e4fbcf93032effaa5
[ "MIT" ]
5
2018-11-21T10:57:30.000Z
2019-12-20T21:53:36.000Z
setup.py
breathe/NotebookScripter
ecdc9b0842e88179df76f96e4fbcf93032effaa5
[ "MIT" ]
1
2019-06-13T04:32:13.000Z
2019-06-13T04:32:13.000Z
from setuptools import setup setup( name='NotebookScripter', version='6.0.0', packages=('NotebookScripter',), url='https://github.com/breathe/NotebookScripter', license='MIT', author='N. Ben Cohen', author_email='breathevalue@icloud.com', install_requires=( "ipython", "n...
32.965517
139
0.64749
93
956
6.612903
0.580645
0.053659
0.068293
0.102439
0.411382
0.35122
0.35122
0.35122
0.35122
0.35122
0
0.008086
0.223849
956
28
140
34.142857
0.820755
0
0
0.074074
0
0
0.59205
0.024059
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
0
0
0
0
null
0
0
0
0
0
0
0
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
eb70ba677dc1dd7a466c342944b35d0477841536
3,244
py
Python
thejoker/distributions.py
adrn/thejoker
e77182bdb368e20127a17cc76ba1083ab77746ea
[ "MIT" ]
22
2016-09-05T00:01:14.000Z
2021-05-14T19:28:23.000Z
thejoker/distributions.py
adrn/thejoker
e77182bdb368e20127a17cc76ba1083ab77746ea
[ "MIT" ]
111
2016-09-04T18:21:00.000Z
2022-03-13T06:38:27.000Z
thejoker/distributions.py
adrn/thejoker
e77182bdb368e20127a17cc76ba1083ab77746ea
[ "MIT" ]
8
2016-09-04T17:12:34.000Z
2022-02-18T13:12:09.000Z
# Third-party import astropy.units as u import numpy as np import pymc3 as pm from pymc3.distributions import generate_samples import aesara_theano_fallback.tensor as tt import exoplanet.units as xu __all__ = ['UniformLog', 'FixedCompanionMass'] class UniformLog(pm.Continuous): def __init__(self, a, b, **kwargs...
28.964286
80
0.589088
467
3,244
3.877944
0.299786
0.042518
0.03037
0.008283
0.220872
0.156267
0.156267
0.135284
0
0
0
0.034702
0.271578
3,244
111
81
29.225225
0.731697
0.241985
0
0.048387
1
0
0.020294
0
0
0
0
0
0.016129
1
0.129032
false
0
0.096774
0.032258
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb72965a0a45325849d4f2b7f020b22ca5abd6a7
1,369
py
Python
pythonUtils/reptile/produce_name.py
MarcWong/matlabTools
183b437707e2a9ddf7a8b5be0a4e874109fcfaa7
[ "MIT" ]
null
null
null
pythonUtils/reptile/produce_name.py
MarcWong/matlabTools
183b437707e2a9ddf7a8b5be0a4e874109fcfaa7
[ "MIT" ]
null
null
null
pythonUtils/reptile/produce_name.py
MarcWong/matlabTools
183b437707e2a9ddf7a8b5be0a4e874109fcfaa7
[ "MIT" ]
null
null
null
#usage: python produce_name.py yourpath file_type #coding=utf8 import sys reload(sys) sys.setdefaultencoding('utf8') import os import shutil def md5(str): import hashlib m = hashlib.md5() m.update(str) return m.hexdigest() if __name__ == '__main__': fp_write = open('index.txt','w') file_path = sys.argv[1...
31.837209
79
0.582177
182
1,369
4.175824
0.379121
0.046053
0.057895
0.059211
0.255263
0.255263
0.194737
0.194737
0.194737
0.194737
0
0.00924
0.288532
1,369
42
80
32.595238
0.771047
0.107378
0
0.057143
0
0.028571
0.139573
0
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eb73a3b7734e41fc3fe55a18a60b1a2823f19e7c
2,649
py
Python
demo/cheeseboard/app.py
dw/acid
3aabb3940f23c052ed7a009cff5d84cc50b099fb
[ "Apache-2.0" ]
15
2015-09-24T03:57:49.000Z
2020-08-25T22:44:20.000Z
demo/cheeseboard/app.py
dw/acid
3aabb3940f23c052ed7a009cff5d84cc50b099fb
[ "Apache-2.0" ]
2
2015-06-21T02:06:20.000Z
2019-11-14T14:02:39.000Z
demo/cheeseboard/app.py
dw/acid
3aabb3940f23c052ed7a009cff5d84cc50b099fb
[ "Apache-2.0" ]
1
2019-09-11T03:13:52.000Z
2019-09-11T03:13:52.000Z
# # Copyright 2013, David Wilson. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
27.309278
74
0.659117
359
2,649
4.846797
0.43454
0.034483
0.006897
0.018391
0.026437
0
0
0
0
0
0
0.019552
0.208381
2,649
96
75
27.59375
0.810205
0.231408
0
0.0625
0
0
0.05894
0
0
0
0
0
0
0
null
null
0
0.171875
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
eb7ce2e0e0ccae64594656f88ac709f3c1f99613
13,011
py
Python
aadcUser/frAIburg_ThriftFacenet/python/gen-py/ExtIf/ttypes.py
PhilJd/frAIburg
7585999953486bceb945f1eb7a96cbe94ea72186
[ "BSD-3-Clause" ]
10
2017-11-21T09:34:36.000Z
2021-07-06T21:15:28.000Z
aadcUser/frAIburg_ThriftFacenet/python/gen-py/ExtIf/ttypes.py
PhilJd/frAIburg
7585999953486bceb945f1eb7a96cbe94ea72186
[ "BSD-3-Clause" ]
null
null
null
aadcUser/frAIburg_ThriftFacenet/python/gen-py/ExtIf/ttypes.py
PhilJd/frAIburg
7585999953486bceb945f1eb7a96cbe94ea72186
[ "BSD-3-Clause" ]
null
null
null
# # Autogenerated by Thrift Compiler (0.9.1) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol, TProtocol tr...
31.503632
188
0.648067
1,535
13,011
5.286645
0.09316
0.017868
0.032163
0.037708
0.708318
0.631423
0.580776
0.570795
0.499692
0.460382
0
0.009441
0.226578
13,011
412
189
31.580097
0.796979
0.043194
0
0.569231
1
0
0.058843
0
0
0
0
0
0
1
0.089231
false
0
0.012308
0.030769
0.218462
0
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
eb7ea27d449cd305cfd059a8b717ab286d3a4004
1,005
py
Python
hwtHls/netlist/dumpStreamNodes.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
8
2018-09-25T03:28:11.000Z
2021-12-15T07:44:38.000Z
hwtHls/netlist/dumpStreamNodes.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
1
2020-12-21T10:56:44.000Z
2020-12-21T10:56:44.000Z
hwtHls/netlist/dumpStreamNodes.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
2
2018-09-25T03:28:18.000Z
2021-12-15T10:28:35.000Z
from io import StringIO from hwtHls.netlist.transformations.rtlNetlistPass import RtlNetlistPass from hwtHls.allocator.allocator import ConnectionsOfStage class RtlNetlistPassDumpStreamNodes(RtlNetlistPass): def __init__(self, out: StringIO, close=False): self.out = out self.close = close de...
33.5
77
0.59403
120
1,005
4.833333
0.391667
0.12069
0.144828
0.067241
0.1
0.1
0.1
0
0
0
0
0
0.265672
1,005
29
78
34.655172
0.785908
0
0
0.136364
0
0
0.108458
0.021891
0
0
0
0
0
1
0.090909
false
0.090909
0.136364
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
eb873ee05f656225ec226d30c33f22616f66c979
2,924
py
Python
sites/mysites/models.py
cmwaura/Final_Red_Scrap
6b1b78de7d1129cda787e9f4688ddd409af39eb5
[ "MIT" ]
null
null
null
sites/mysites/models.py
cmwaura/Final_Red_Scrap
6b1b78de7d1129cda787e9f4688ddd409af39eb5
[ "MIT" ]
null
null
null
sites/mysites/models.py
cmwaura/Final_Red_Scrap
6b1b78de7d1129cda787e9f4688ddd409af39eb5
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models from django.db.models.signals import pre_delete from scrapy_djangoitem import DjangoItem from dynamic_scraper.models import Scraper, SchedulerRuntime from django.dispatch import receiver # Create your models here. class JobWebsite(models.Model): ...
38.473684
131
0.793434
427
2,924
5.34192
0.40281
0.019728
0.031565
0.042087
0.14292
0.127137
0.127137
0.127137
0.127137
0.067514
0
0.007217
0.147059
2,924
75
132
38.986667
0.907378
0.516416
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.1875
0.03125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eb8b1a7716dbcc642fea899106feb3ac86d6cd27
194
py
Python
src/__init__.py
ukc-co663/dependency-solver-2019-ds576
a4b029ff53d87ee5e0f58f3f8f431b48410d2de0
[ "MIT" ]
1
2019-03-05T15:15:11.000Z
2019-03-05T15:15:11.000Z
src/__init__.py
ukc-co663/dependency-solver-2019-ds576
a4b029ff53d87ee5e0f58f3f8f431b48410d2de0
[ "MIT" ]
null
null
null
src/__init__.py
ukc-co663/dependency-solver-2019-ds576
a4b029ff53d87ee5e0f58f3f8f431b48410d2de0
[ "MIT" ]
null
null
null
__all__ = [ 'cyclic', 'dep_expander', 'dep_manager', 'logger', 'package_filter', 'package', 'parse_input', 'sat_solver_satispy', 'topo_packages', 'util' ]
16.166667
25
0.561856
18
194
5.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.273196
194
12
26
16.166667
0.695035
0
0
0
0
0
0.523077
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
eb8b58946c79e1e6114e3885fd5783239dfde293
1,979
py
Python
tags-to-csv.py
just-trees/ec2-tags-to-csv
c0f1db7087b07282390abc9725868bf03ed7f20b
[ "MIT" ]
9
2016-08-24T13:22:52.000Z
2021-04-26T22:31:36.000Z
tags-to-csv.py
just-trees/ec2-tags-to-csv
c0f1db7087b07282390abc9725868bf03ed7f20b
[ "MIT" ]
null
null
null
tags-to-csv.py
just-trees/ec2-tags-to-csv
c0f1db7087b07282390abc9725868bf03ed7f20b
[ "MIT" ]
7
2016-08-24T06:16:21.000Z
2021-04-26T22:31:26.000Z
#!/usr/bin/env python import boto3 import botocore import argparse import csv # parse command line argumetns def parse_args(): parser = argparse.ArgumentParser(prog='tags-to-csv', description='Get instance tags in CSV format.') # required parser.add_argument('-o', '--out', required=True, action='store', d...
28.271429
150
0.618494
236
1,979
5.072034
0.411017
0.025063
0.042607
0.030075
0.063492
0.038429
0
0
0
0
0
0.005984
0.24002
1,979
69
151
28.681159
0.789894
0.036382
0
0.083333
0
0
0.146316
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.020833
0
0
0
null
0
0
0
0
0
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
ebac4bfc3e33998220d5884f2925dfb01805bca2
30,104
py
Python
pyVHDLModel/VHDLModel.py
Xiretza/pyVHDLModel
2301a2fa79b737852e6c53ed77f376b958371810
[ "Apache-2.0" ]
null
null
null
pyVHDLModel/VHDLModel.py
Xiretza/pyVHDLModel
2301a2fa79b737852e6c53ed77f376b958371810
[ "Apache-2.0" ]
null
null
null
pyVHDLModel/VHDLModel.py
Xiretza/pyVHDLModel
2301a2fa79b737852e6c53ed77f376b958371810
[ "Apache-2.0" ]
null
null
null
# ============================================================================= # __ ___ _ ____ _ __ __ _ _ # _ __ _ \ \ / / | | | _ \| | | \/ | ___ __| | ___| | # | '_ \| | | \ \ / /| |_| | | | | | | |\/| |/ _ \ / _` |/ _ \ | # | |_) | |_| |\ V / | _ | |_| | |...
20.244788
101
0.710171
3,182
30,104
6.384978
0.118793
0.06497
0.041689
0.022887
0.484668
0.453463
0.428607
0.391249
0.356647
0.336319
0
0.001886
0.172137
30,104
1,486
102
20.258412
0.813338
0.198811
0
0.688161
0
0
0.020302
0
0
0
0
0.002019
0.005285
1
0.184989
false
0.048626
0.004228
0.090909
0.553911
0
0
0
0
null
0
0
0
0
0
0
0
0
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
ebb13a34f8127fcf23ca00f30833fd6aeea18caf
7,778
py
Python
dabble/nn.py
bibarz/bibarz.github.io
354f9dc8484a745737230f59524966d5452dd818
[ "MIT" ]
null
null
null
dabble/nn.py
bibarz/bibarz.github.io
354f9dc8484a745737230f59524966d5452dd818
[ "MIT" ]
null
null
null
dabble/nn.py
bibarz/bibarz.github.io
354f9dc8484a745737230f59524966d5452dd818
[ "MIT" ]
null
null
null
import collections import math import cv2 import scipy.weave import numpy as np import time import os import random class Atan(object): @classmethod def fwd(cls, x): return np.arctan(x) @classmethod def derivative(cls, x): return 1./ (1 + x ** 2.) class Tanh(object): @classmethod ...
38.315271
120
0.564027
1,216
7,778
3.421875
0.143092
0.033646
0.043259
0.023552
0.57318
0.502043
0.465032
0.376352
0.327085
0.298005
0
0.033418
0.292106
7,778
202
121
38.504951
0.722303
0.084469
0
0.297619
0
0
0.00352
0
0
0
0
0
0.065476
0
null
null
0.005952
0.047619
null
null
0.005952
0
0
0
null
0
0
0
0
0
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
ebb3d6fab765a0117b5d480ea9aba0880f2a0728
4,900
py
Python
api/robot_abstract.py
alexisvincent/downy
55f18e603c387dbd543f85eb07098e8f170fc93c
[ "Apache-2.0" ]
null
null
null
api/robot_abstract.py
alexisvincent/downy
55f18e603c387dbd543f85eb07098e8f170fc93c
[ "Apache-2.0" ]
null
null
null
api/robot_abstract.py
alexisvincent/downy
55f18e603c387dbd543f85eb07098e8f170fc93c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.4 # # Copyright 2009 Google Inc. All Rights Reserved. """Defines the generic robot classes. This module provides the Robot class and RobotListener interface, as well as some helper functions for web requests and responses. """ __author__ = 'davidbyttow@google.com (David Byttow)' import events imp...
33.793103
80
0.686939
639
4,900
5.173709
0.319249
0.019056
0.025408
0.015124
0.058681
0.039322
0.024803
0.024803
0
0
0
0.00256
0.202857
4,900
144
81
34.027778
0.84383
0.375714
0
0.027778
0
0.013889
0.148416
0.036501
0
0
0
0.020833
0
1
0.125
false
0
0.069444
0
0.263889
0
0
0
0
null
0
0
0
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
ebc3f12d5c99d4e6a1f3086f75aadcab92ac7ac3
357
py
Python
setup.py
tradr-project/doxygen_catkin
12e5592b62830ddc6c4a4ca8612310f55ac97e4e
[ "BSD-3-Clause" ]
5
2018-01-15T08:25:39.000Z
2022-03-07T01:03:50.000Z
setup.py
jackiecx/doxygen_catkin
12e5592b62830ddc6c4a4ca8612310f55ac97e4e
[ "BSD-3-Clause" ]
1
2021-08-31T04:00:09.000Z
2021-08-31T04:00:09.000Z
setup.py
jackiecx/doxygen_catkin
12e5592b62830ddc6c4a4ca8612310f55ac97e4e
[ "BSD-3-Clause" ]
14
2015-08-11T07:29:20.000Z
2022-03-24T08:30:05.000Z
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( packages=['doxygen_catkin'], package_dir={'':'bin'}, scripts=['bin/doxygen-cat...
23.8
61
0.756303
48
357
5.416667
0.583333
0.130769
0.169231
0
0
0
0
0
0
0
0
0
0.134454
357
14
62
25.5
0.841424
0.246499
0
0
1
0
0.162879
0.098485
0
0
0
0
0
1
0
false
0
0.25
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
ebca78cf85e23623d8ce8975f718a8c0042b6089
1,030
py
Python
setup.py
garethtilley/referredby
5c6a52f17efc7ffd618078458844d456eb8b6683
[ "0BSD" ]
null
null
null
setup.py
garethtilley/referredby
5c6a52f17efc7ffd618078458844d456eb8b6683
[ "0BSD" ]
null
null
null
setup.py
garethtilley/referredby
5c6a52f17efc7ffd618078458844d456eb8b6683
[ "0BSD" ]
null
null
null
# -*- coding: utf-8 -*- # # setup.py # referredby # """ Packaging for the referredby project. """ from setuptools import setup VERSION = '0.1.3' setup( name='referredby', description="Parsing referrer URLS for common search engines.", url="http://github.com/larsyencken/referredby/", version=VERSIO...
25.121951
67
0.6
105
1,030
5.847619
0.609524
0.185668
0.2443
0.127036
0.087948
0
0
0
0
0
0
0.01928
0.24466
1,030
40
68
25.75
0.769923
0.079612
0
0.071429
0
0
0.556624
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
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
ebcc6309f0776662cef038525e082e3a9f063621
2,795
py
Python
handlers/admins_tools_handl.py
bbt-t/Yuuko
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
handlers/admins_tools_handl.py
bbt-t/Yuuko
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
handlers/admins_tools_handl.py
bbt-t/Yuuko
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
from aiogram.dispatcher import FSMContext from aiogram.dispatcher.filters import Command from aiogram.types import Message, CallbackQuery from sqlalchemy.exc import NoResultFound from loader import dp, logger_guru from utils.database_manage.sql.sql_commands import DB_USERS from utils.keyboards.admins_tools_kb import t...
40.507246
110
0.703041
390
2,795
4.841026
0.323077
0.022246
0.029661
0.044492
0.242055
0.18697
0.115466
0.115466
0.115466
0.115466
0
0
0.186404
2,795
68
111
41.102941
0.830255
0
0
0.2
0
0
0.176029
0.015742
0
0
0
0
0
1
0
true
0.036364
0.145455
0
0.145455
0
0
0
0
null
0
0
0
0
0
0
0
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
ebce968d2e85b503c8dd92b078bf65aef8b7b726
384
py
Python
accounts/migrations/0004_auto_20200102_1952.py
venieri/cancan
5a10d6aa9911733e78eee062025a7b1af96e6167
[ "CC0-1.0" ]
null
null
null
accounts/migrations/0004_auto_20200102_1952.py
venieri/cancan
5a10d6aa9911733e78eee062025a7b1af96e6167
[ "CC0-1.0" ]
null
null
null
accounts/migrations/0004_auto_20200102_1952.py
venieri/cancan
5a10d6aa9911733e78eee062025a7b1af96e6167
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.0.1 on 2020-01-02 19:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20200102_1847'), ] operations = [ migrations.RenameField( model_name='account', old_name='addreed_to_r...
20.210526
48
0.606771
43
384
5.186047
0.813953
0.06278
0
0
0
0
0
0
0
0
0
0.113139
0.286458
384
18
49
21.333333
0.70073
0.117188
0
0
1
0
0.204748
0.068249
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ebd0e053d31d6fa50f5235449f18875a98067924
1,225
py
Python
lixian_commands/readd.py
ntkrnl/xunlei-lixian
ea418bf58671d727a66bc395f9407233b8346d4a
[ "MIT" ]
1
2021-01-26T17:28:36.000Z
2021-01-26T17:28:36.000Z
lixian_commands/readd.py
ntkrnl/xunlei-lixian
ea418bf58671d727a66bc395f9407233b8346d4a
[ "MIT" ]
null
null
null
lixian_commands/readd.py
ntkrnl/xunlei-lixian
ea418bf58671d727a66bc395f9407233b8346d4a
[ "MIT" ]
null
null
null
from lixian_commands.util import * from lixian_cli_parser import * from lixian_encoding import default_encoding import lixian_help import lixian_query @command_line_parser(help=lixian_help.readd) @with_parser(parse_login) @with_parser(parse_logging) @command_line_option('deleted') @command_line_option('expired') @com...
29.878049
70
0.66449
171
1,225
4.502924
0.421053
0.057143
0.066234
0
0
0
0
0
0
0
0
0.001047
0.220408
1,225
40
71
30.625
0.805236
0
0
0.052632
0
0
0.115102
0
0
0
0
0
0
0
null
null
0
0.131579
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ebd1ec0dc2b71198cfd1f63f4c0430eed11130da
8,438
py
Python
CalculationUI.py
atharvaagrawal/analysis-of-NSE
578020878f66478967dd91782fb9f4f01c815431
[ "MIT" ]
4
2019-07-04T16:34:15.000Z
2021-11-23T03:15:35.000Z
CalculationUI.py
atharvaagrawal/analysis-of-NSE
578020878f66478967dd91782fb9f4f01c815431
[ "MIT" ]
null
null
null
CalculationUI.py
atharvaagrawal/analysis-of-NSE
578020878f66478967dd91782fb9f4f01c815431
[ "MIT" ]
2
2021-07-04T15:09:29.000Z
2021-11-12T04:06:21.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Calculation.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from Calculation.CalculatingLast5Days import CalculatingLast5Days from PyQt5 import QtCore, QtGui, QtWidgets ...
49.05814
109
0.702892
756
8,438
7.767196
0.190476
0.061308
0.054326
0.021458
0.439884
0.384026
0.366996
0.358651
0.358651
0.342302
0
0.028567
0.199336
8,438
171
110
49.345029
0.840586
0.023821
0
0.354839
1
0
0.060817
0.005709
0
0
0
0
0
1
0.012903
false
0
0.019355
0
0.03871
0
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
ebd43551b7fa5af4e421313a7473ebde193df318
1,094
py
Python
cute.py
eight04/node_vm2
08e7655b477f95cac67edb8c7e510cfd0b533f5a
[ "MIT" ]
42
2017-07-11T16:25:35.000Z
2022-03-25T04:22:08.000Z
cute.py
eight04/node_vm2
08e7655b477f95cac67edb8c7e510cfd0b533f5a
[ "MIT" ]
34
2017-10-16T12:50:55.000Z
2022-03-28T17:26:00.000Z
cute.py
eight04/node_vm2
08e7655b477f95cac67edb8c7e510cfd0b533f5a
[ "MIT" ]
6
2019-03-05T06:52:16.000Z
2021-12-01T09:35:28.000Z
#! python3 from xcute import cute, LiveReload cute( pkg_name = "node_vm2", lint = [ 'cd node_vm2/vm-server && npm test && cd ..', 'pylint {pkg_name}' ], test = ['lint', 'python test.py', 'readme_build'], bump_pre = 'test', bump_post = ['dist', 'release', 'publish', 'install'], dist_pre = 'x-clean build di...
28.789474
71
0.645338
153
1,094
4.48366
0.457516
0.080175
0.069971
0.046647
0
0
0
0
0
0
0
0.006529
0.159963
1,094
37
72
29.567568
0.739935
0.008227
0
0.117647
0
0
0.594096
0.061808
0
0
0
0
0
1
0
true
0
0.029412
0
0.029412
0
0
0
0
null
0
0
0
0
0
0
0
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
ebd79d4bda2a0d97bcf4306ed7b808cf533646e1
931
py
Python
ex17.py
mparikh15/python_exercises
a1b19aa772eab1f88b756557b66830c15481c7cc
[ "MIT" ]
null
null
null
ex17.py
mparikh15/python_exercises
a1b19aa772eab1f88b756557b66830c15481c7cc
[ "MIT" ]
null
null
null
ex17.py
mparikh15/python_exercises
a1b19aa772eab1f88b756557b66830c15481c7cc
[ "MIT" ]
null
null
null
from sys import argv from os.path import exists script, from_file, to_file = argv # takes script, origin and export file as inputs print "Copying from %s to %s" % (from_file, to_file) # Just saying what's going on # we could do these two on one line, how? indata = open(from_file).read() # Made it shorteer, b...
38.791667
111
0.716434
159
931
4.113208
0.566038
0.045872
0.030581
0.042813
0
0
0
0
0
0
0
0
0.196563
931
23
112
40.478261
0.874332
0.464017
0
0
0
0
0.319654
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.384615
0
0
0
null
0
0
0
0
0
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
ebdad1427769475e77d3e3d80ead6f03cbd6c8f1
7,122
py
Python
InstagramAPIApplication/datasetcrawler.py
SocioRecSys/FashionRec_DataCollection
8bb97beda01b34fa1eaab06d003faa95b2b2808f
[ "RSA-MD" ]
2
2020-05-03T00:51:41.000Z
2020-08-23T17:19:59.000Z
InstagramAPIApplication/datasetcrawler.py
SocioRecSys/FashionRec_DataCollection
8bb97beda01b34fa1eaab06d003faa95b2b2808f
[ "RSA-MD" ]
5
2021-06-08T22:55:28.000Z
2022-03-12T00:33:42.000Z
InstagramAPIApplication/datasetcrawler.py
SocioRecSys/FashionRec_DataCollection
8bb97beda01b34fa1eaab06d003faa95b2b2808f
[ "RSA-MD" ]
null
null
null
#from app import app import os from flask import Flask,render_template,request, url_for, redirect,session from constant import * from storeDataToDB import InstagramDataStore import json,ast import requests import urllib import urllib2 global accessToken_gl from pymongo import MongoClient app = Flask(__name__) client =...
32.081081
176
0.656276
840
7,122
5.366667
0.192857
0.036602
0.024845
0.033718
0.523957
0.478705
0.449867
0.44299
0.430124
0.380878
0
0.024275
0.224937
7,122
221
177
32.226244
0.792391
0.082982
0
0.421053
0
0
0.189031
0.024495
0
0
0
0
0
0
null
null
0.006579
0.059211
null
null
0.131579
0
0
0
null
0
0
0
0
0
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
ebdd311d83a28a33b9ca97f008b55de04389e5d0
4,930
py
Python
library(data.table).py
edward-jiang3649/data_project
110789e6db9fd27c284861b8b0da532c78949191
[ "MIT" ]
null
null
null
library(data.table).py
edward-jiang3649/data_project
110789e6db9fd27c284861b8b0da532c78949191
[ "MIT" ]
null
null
null
library(data.table).py
edward-jiang3649/data_project
110789e6db9fd27c284861b8b0da532c78949191
[ "MIT" ]
null
null
null
# Which city has the most traffic? Which city has the least? # What month is the most busiest in the year? # Which airport route has the busiest one? library(data.table) library(tidyverse) library(stringr) library(plotly) library(readr) library(xml2) # ---------------------------------------------------------------...
41.779661
109
0.602434
632
4,930
4.631329
0.401899
0.030065
0.035531
0.046464
0.185856
0.148275
0.108644
0.084728
0.061496
0.037581
0
0.116074
0.196146
4,930
117
110
42.136752
0.622508
0.345639
0
0
0
0
0.222536
0.031387
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
ebe066301f9db184fccc963e211e96a39a32434b
1,852
py
Python
src/incognita/preprocessing/setup_district_boundaries.py
the-scouts/incognita
f0634f3d812b816ad3d46f55e88d7524ebf81d32
[ "MIT" ]
2
2019-06-14T08:05:24.000Z
2021-01-03T00:18:07.000Z
src/incognita/preprocessing/setup_district_boundaries.py
the-scouts/geo_mapping
f0634f3d812b816ad3d46f55e88d7524ebf81d32
[ "MIT" ]
47
2019-06-17T21:27:57.000Z
2021-03-11T00:27:47.000Z
src/incognita/preprocessing/setup_district_boundaries.py
the-scouts/incognita
f0634f3d812b816ad3d46f55e88d7524ebf81d32
[ "MIT" ]
null
null
null
import time import geopandas as gpd import pandas as pd from incognita.data.scout_census import load_census_data from incognita.geographies import district_boundaries from incognita.logger import logger from incognita.utility import config from incognita.utility import filter from incognita.utility import timing if ...
46.3
137
0.75378
260
1,852
5.134615
0.453846
0.067416
0.044944
0.058427
0.058427
0.058427
0.058427
0
0
0
0
0.004329
0.12689
1,852
39
138
47.487179
0.821274
0.142009
0
0
0
0
0.231838
0.0518
0
0
0
0
0
1
0
false
0
0.346154
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
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
ebe0c716c2fa3c66d4bdfcd4205a4e9c067dbd26
471
py
Python
setup.py
drolando/pyramid_zipkin-example
a377b84912a8e8b5c2a6a5f50d8406e06cbda53f
[ "Apache-2.0" ]
11
2016-10-14T03:23:10.000Z
2021-06-19T09:13:22.000Z
setup.py
drolando/pyramid_zipkin-example
a377b84912a8e8b5c2a6a5f50d8406e06cbda53f
[ "Apache-2.0" ]
4
2016-10-13T11:21:48.000Z
2019-02-26T01:55:31.000Z
setup.py
drolando/pyramid_zipkin-example
a377b84912a8e8b5c2a6a5f50d8406e06cbda53f
[ "Apache-2.0" ]
6
2016-12-01T07:53:33.000Z
2021-06-23T01:10:57.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup setup( name='pyramid_zipkin-example', version='0.1', author='OpenZipkin', author_email='zipkin-user@googlegroups.com', license='Apache 2.0', url='https://github.com/openzipkin/pyramid_zipkin-example', description='See ho...
24.789474
77
0.649682
56
471
5.375
0.767857
0.129568
0.13289
0
0
0
0
0
0
0
0
0.013333
0.203822
471
18
78
26.166667
0.789333
0.080679
0
0
0
0
0.491879
0.116009
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ebe3cdd5919b1539b46ad13dc42c9b3bad8c9f65
280
py
Python
10. File Name/main.py
MahmudX/Algorithms
df498929b5d3fc0f0d558b3369c2aa9804c292f1
[ "MIT" ]
null
null
null
10. File Name/main.py
MahmudX/Algorithms
df498929b5d3fc0f0d558b3369c2aa9804c292f1
[ "MIT" ]
null
null
null
10. File Name/main.py
MahmudX/Algorithms
df498929b5d3fc0f0d558b3369c2aa9804c292f1
[ "MIT" ]
null
null
null
n = int(input()) s = str(input()) removal = 0 counter = 0 for x in s: if x != 'x': if counter >= 3: removal += counter - 2 counter = 0 elif x == 'x': counter += 1 if counter >= 3: removal += counter - 2 print(removal)
18.666667
35
0.460714
38
280
3.394737
0.447368
0.124031
0.155039
0.263566
0.387597
0.387597
0
0
0
0
0
0.047337
0.396429
280
14
36
20
0.715976
0
0
0.428571
0
0
0.007519
0
0
0
0
0
0
1
0
false
0
0
0
0
0.071429
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
ccda408a9fc107d667abef139bfbc493590b5a5a
2,205
py
Python
tests/unit-tests/test_pkg_configs_devmode.py
releng-tool/releng-tool
cd8728f35a7bdaf6ef90fd019e8c33bc5da8b265
[ "BSD-2-Clause" ]
7
2019-04-06T21:21:22.000Z
2021-12-10T04:07:20.000Z
tests/unit-tests/test_pkg_configs_devmode.py
releng-tool/releng-tool
cd8728f35a7bdaf6ef90fd019e8c33bc5da8b265
[ "BSD-2-Clause" ]
1
2019-10-01T20:03:10.000Z
2019-10-02T20:28:00.000Z
tests/unit-tests/test_pkg_configs_devmode.py
releng-tool/releng-tool
cd8728f35a7bdaf6ef90fd019e8c33bc5da8b265
[ "BSD-2-Clause" ]
1
2021-07-23T17:00:57.000Z
2021-07-23T17:00:57.000Z
# -*- coding: utf-8 -*- # Copyright 2021 releng-tool from releng_tool.opts import RelengEngineOptions from releng_tool.packages.exceptions import RelengToolInvalidPackageKeyValue from releng_tool.packages.manager import RelengPackageManager from releng_tool.registry import RelengRegistry from tests.support.pkg_config_...
41.603774
76
0.739683
243
2,205
6.432099
0.242798
0.083173
0.115163
0.117722
0.525912
0.457454
0.254639
0.170186
0.170186
0.070377
0
0.002729
0.169161
2,205
52
77
42.403846
0.850437
0.045805
0
0.157895
0
0
0.104762
0.075238
0
0
0
0
0.315789
1
0.210526
false
0
0.131579
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
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
cce30443f995ba90a50489c29b9243eb7d862590
4,392
py
Python
newpriority.py
NathanZabriskie/microfiction
65de5de8749abf26a48598edf07732d0f3468ac2
[ "MIT" ]
1
2020-11-15T03:34:14.000Z
2020-11-15T03:34:14.000Z
newpriority.py
NathanZabriskie/microfiction
65de5de8749abf26a48598edf07732d0f3468ac2
[ "MIT" ]
null
null
null
newpriority.py
NathanZabriskie/microfiction
65de5de8749abf26a48598edf07732d0f3468ac2
[ "MIT" ]
1
2020-11-15T03:35:02.000Z
2020-11-15T03:35:02.000Z
import helpers as h import random import heapq as hq numChildren = 4 strikes = 3 maxSpecies = 10 class Species: def __init__(self,s,node): self.seed = s self.isDead = False self.heap = [] self.stale = 0 self.lowsc = node.score self.bestsc = node.score self.bestch = node self.secondch = None self.pu...
24.4
171
0.664845
680
4,392
4.275
0.275
0.01376
0.011352
0.008256
0.050912
0.03096
0.019952
0
0
0
0
0.009119
0.201047
4,392
179
172
24.536313
0.819322
0.213798
0
0.158621
0
0
0.009615
0
0
0
0
0.005587
0.006897
0
null
null
0
0.02069
null
null
0.013793
0
0
0
null
0
0
0
0
0
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
cce35f5232bb1193dda86864eb9f31fbad3e7841
7,005
py
Python
test_right_product.py
mirrkka/seleniumcourse
d2c2aea82896009a697bb523153182dfc2f0e6fd
[ "Apache-2.0" ]
null
null
null
test_right_product.py
mirrkka/seleniumcourse
d2c2aea82896009a697bb523153182dfc2f0e6fd
[ "Apache-2.0" ]
null
null
null
test_right_product.py
mirrkka/seleniumcourse
d2c2aea82896009a697bb523153182dfc2f0e6fd
[ "Apache-2.0" ]
null
null
null
import pytest import time from selenium import webdriver from driver_fixture import * import re import ast #а) на главной странице и на странице товара совпадает текст названия товара #б) на главной странице и на странице товара совпадают цены (обычная и акционная) #в) обычная цена зачёркнутая и серая (можно считать, ...
52.276119
170
0.740757
988
7,005
4.919028
0.163968
0.08642
0.073457
0.077778
0.76893
0.714403
0.617284
0.50535
0.480658
0.445679
0
0.012282
0.1399
7,005
133
171
52.669173
0.794357
0.190578
0
0.086957
0
0
0.200497
0.117031
0
0
0
0
0.152174
1
0.021739
false
0
0.065217
0
0.086957
0.217391
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cce77b6ce1740e65f98b8582e1e1fc207488ea4d
1,085
py
Python
geotrek/outdoor/urls.py
IdrissaD/Geotrek-admin
c5aba155d5665fdccdde0620a1024e02ebe71a7c
[ "BSD-2-Clause" ]
null
null
null
geotrek/outdoor/urls.py
IdrissaD/Geotrek-admin
c5aba155d5665fdccdde0620a1024e02ebe71a7c
[ "BSD-2-Clause" ]
null
null
null
geotrek/outdoor/urls.py
IdrissaD/Geotrek-admin
c5aba155d5665fdccdde0620a1024e02ebe71a7c
[ "BSD-2-Clause" ]
null
null
null
from django.conf import settings from geotrek.common.urls import PublishableEntityOptions from geotrek.outdoor import models as outdoor_models from geotrek.outdoor import views as outdoor_views # noqa Fix an import loop from mapentity.registry import registry app_name = 'outdoor' urlpatterns = [] class SiteEntityO...
38.75
77
0.799078
109
1,085
7.688073
0.385321
0.100239
0.114558
0.105012
0.379475
0.217184
0
0
0
0
0
0
0.153917
1,085
27
78
40.185185
0.912854
0.021198
0
0
0
0
0.006604
0
0
0
0
0
0
1
0
false
0
0.263158
0
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
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
ccee05b4c0934983fd14692e6ee9512161f8e6e7
1,697
py
Python
tripleo_ansible/tests/plugins/filter/test_range_list.py
beagles/tripleo-ansible
7faddd87cffc8903a9cdedc7a6454cdf44aeed67
[ "Apache-2.0" ]
22
2018-08-29T12:33:15.000Z
2022-03-30T00:17:25.000Z
tripleo_ansible/tests/plugins/filter/test_range_list.py
beagles/tripleo-ansible
7faddd87cffc8903a9cdedc7a6454cdf44aeed67
[ "Apache-2.0" ]
1
2020-02-07T20:54:34.000Z
2020-02-07T20:54:34.000Z
tripleo_ansible/tests/plugins/filter/test_range_list.py
beagles/tripleo-ansible
7faddd87cffc8903a9cdedc7a6454cdf44aeed67
[ "Apache-2.0" ]
19
2019-07-16T04:42:00.000Z
2022-03-30T00:17:29.000Z
# Copyright 2020 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
36.106383
78
0.685916
238
1,697
4.731092
0.453782
0.049734
0.071048
0.08881
0.314387
0.262877
0.248668
0.248668
0.248668
0.156306
0
0.044207
0.226871
1,697
46
79
36.891304
0.814024
0.352976
0
0.333333
0
0
0.069252
0.023084
0
0
0
0
0.166667
1
0.208333
false
0
0.083333
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
1
0
0
0
0
0
0
0
1
ccf9a7fee215cd56c5d2c27aaa915471648ac3e0
773
py
Python
examples/tutorial_python/1_extract_pose.py
shalalalatuzki/openpose
896167d317f328343d3694dba9f5b4640de61d84
[ "DOC", "MIT-CMU" ]
null
null
null
examples/tutorial_python/1_extract_pose.py
shalalalatuzki/openpose
896167d317f328343d3694dba9f5b4640de61d84
[ "DOC", "MIT-CMU" ]
null
null
null
examples/tutorial_python/1_extract_pose.py
shalalalatuzki/openpose
896167d317f328343d3694dba9f5b4640de61d84
[ "DOC", "MIT-CMU" ]
1
2020-01-06T08:16:01.000Z
2020-01-06T08:16:01.000Z
import sys import cv2 import os dir_path = os.path.dirname(os.path.realpath(__file__)) sys.path.append('../../python') from openpose import * params = dict() params["logging_level"] = 3 params["output_resolution"] = "-1x-1" params["net_resolution"] = "-1x368" params["model_pose"] = "COCO" params["alpha_pose"] = 0.6 pa...
27.607143
85
0.706339
109
773
4.788991
0.559633
0.04023
0
0
0
0
0
0
0
0
0
0.05644
0.10608
773
27
86
28.62963
0.698987
0
0
0
0
0
0.32859
0.069858
0
0
0
0
0
0
null
null
0
0.16
null
null
0.04
0
0
0
null
0
0
0
0
0
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
ccff523cb93eee5f10b99246d2750d49d4b60abb
261
py
Python
forloops/07.py
mallimuondu/python-homworks
352721a8e77d0b3bdb7a8a54197b6a04e1aec3c0
[ "MIT" ]
null
null
null
forloops/07.py
mallimuondu/python-homworks
352721a8e77d0b3bdb7a8a54197b6a04e1aec3c0
[ "MIT" ]
null
null
null
forloops/07.py
mallimuondu/python-homworks
352721a8e77d0b3bdb7a8a54197b6a04e1aec3c0
[ "MIT" ]
null
null
null
cars= { "bugati":1000$, "ferari":9000$ } b = int(input("whow m any are you printing: ")) c = list() for b in range(d): f = cars[input ("write what you want to select: ")] g = e.append(f) print("total amount is " + str(total))
21.75
56
0.54023
40
261
3.525
0.85
0
0
0
0
0
0
0
0
0
0
0.043011
0.287356
261
12
57
21.75
0.715054
0
0
0
0
0
0.343511
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
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
690ad0e7658ae07f293da3ae6c500805b40500c0
1,040
py
Python
Data Preprocessing/Manual Method.py
roupenminassian/UTS-DSI-x-Disability-Research-Network
e08378594f09560a477521f22f62a47622e07cdd
[ "MIT" ]
null
null
null
Data Preprocessing/Manual Method.py
roupenminassian/UTS-DSI-x-Disability-Research-Network
e08378594f09560a477521f22f62a47622e07cdd
[ "MIT" ]
null
null
null
Data Preprocessing/Manual Method.py
roupenminassian/UTS-DSI-x-Disability-Research-Network
e08378594f09560a477521f22f62a47622e07cdd
[ "MIT" ]
null
null
null
# These lines of code allow for manually chunking sentences or paragraphs of extracted information to a list # The string that is defined for 'A' will be manually updated each time the previous string has been added to GovList # This means that we are incrementaly adding sentences and paragraphs to this list # This par...
47.272727
138
0.761538
177
1,040
4.474576
0.514124
0.035354
0.05303
0
0
0
0
0
0
0
0
0.002336
0.176923
1,040
21
139
49.52381
0.922897
0.749038
0
0
0
0
0.245968
0.125
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
69170f355d442cc7becc20e80a9796b70651f43b
663
py
Python
views/terminal_view.py
rbenamotz/LEMPA
eab84e2494aac0d1461582c7f83405cb4ab7c16e
[ "MIT" ]
83
2020-08-11T21:03:21.000Z
2022-02-27T17:52:31.000Z
views/terminal_view.py
rbenamotz/LEMPA
eab84e2494aac0d1461582c7f83405cb4ab7c16e
[ "MIT" ]
7
2020-09-06T17:10:04.000Z
2021-05-25T11:53:18.000Z
views/terminal_view.py
rbenamotz/LEMPA
eab84e2494aac0d1461582c7f83405cb4ab7c16e
[ "MIT" ]
6
2020-09-05T23:42:01.000Z
2021-06-21T04:09:03.000Z
from views import View HEADER_LEN = 70 class TerminalView(View): def __init__(self, app): super().__init__(app) def cleanup(self): print("Goodbye") def print(self, txt): if (txt): print("\033[92m{}\033[39m".format(txt)) def detail(self, txt): print(txt) ...
22.862069
87
0.544495
92
663
3.771739
0.380435
0.103746
0.069164
0.086455
0
0
0
0
0
0
0
0.063025
0.282051
663
28
88
23.678571
0.665966
0
0
0
0
0
0.11463
0.037707
0
0
0
0
0
1
0.285714
false
0
0.047619
0
0.428571
0.380952
0
0
0
null
0
0
0
0
0
0
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
691e359bcb9bd3066852922dd6dc0c8be344038f
699
py
Python
hello_world_cpp/launch/server.launch.py
fjnkt98/hello_world
095301082410a73ebee4a38970d04a2b9fcccae4
[ "BSD-2-Clause" ]
null
null
null
hello_world_cpp/launch/server.launch.py
fjnkt98/hello_world
095301082410a73ebee4a38970d04a2b9fcccae4
[ "BSD-2-Clause" ]
null
null
null
hello_world_cpp/launch/server.launch.py
fjnkt98/hello_world
095301082410a73ebee4a38970d04a2b9fcccae4
[ "BSD-2-Clause" ]
null
null
null
import launch import launch_ros def generate_launch_description(): server_node_container = launch_ros.actions.ComposableNodeContainer( node_name='server_node_container', node_namespace='', package='rclcpp_components', node_executable='component_container', ...
33.285714
71
0.595136
58
699
6.758621
0.5
0.102041
0.145408
0
0
0
0
0
0
0
0
0
0.329041
699
20
72
34.95
0.835821
0
0
0
1
0
0.153076
0.062947
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
69211ba2113bac15f1fed9f83d65445f94323e53
2,198
py
Python
todobackend/todobackend/settings.py
Grox-Ni/todoapp
7a68c5a7c6384085eeba4b3fc29ae44e20c098a6
[ "MIT" ]
null
null
null
todobackend/todobackend/settings.py
Grox-Ni/todoapp
7a68c5a7c6384085eeba4b3fc29ae44e20c098a6
[ "MIT" ]
null
null
null
todobackend/todobackend/settings.py
Grox-Ni/todoapp
7a68c5a7c6384085eeba4b3fc29ae44e20c098a6
[ "MIT" ]
null
null
null
import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = '_6872wmne5+gnr6x9f&$js=)c12f+kn*#p35o-ou3^qy5h3^ab' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = ( 'django.contrib.admi...
23.634409
70
0.67061
218
2,198
6.633028
0.559633
0.107884
0.047026
0.020747
0.062241
0.040111
0.040111
0
0
0
0
0.016844
0.189718
2,198
92
71
23.891304
0.795059
0.116015
0
0
0
0
0.558884
0.458161
0
0
0
0
0
1
0
false
0.016393
0.016393
0
0.016393
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
693a0199dc8894a4cfdc4a4894ca98fde9d509ce
404
py
Python
is_cuda_available.py
chumingqian/Model_Compression_For_YOLOV4
3bc803ff6ebb4000bf1f2cafc61c7711fea7a2ab
[ "Apache-2.0" ]
13
2020-12-14T02:22:47.000Z
2021-08-07T09:58:09.000Z
is_cuda_available.py
chumingqian/Model_Compression_For_YOLOV4
3bc803ff6ebb4000bf1f2cafc61c7711fea7a2ab
[ "Apache-2.0" ]
2
2021-02-02T17:37:40.000Z
2021-02-10T01:40:11.000Z
is_cuda_available.py
chumingqian/Model_Compression_For_YOLOV3-V4
e4a6c51084e55c18ad51e854fafccb90c7e9f2dc
[ "Apache-2.0" ]
3
2021-12-08T17:20:32.000Z
2022-01-06T06:55:21.000Z
import os # os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" # os.environ["CUDA_VISIBLE_DEVICES"] = "0" import torch flag = torch.cuda.is_available() print(flag) ngpu= 1 # Decide which device we want to run on device = torch.device("cuda:0" if (torch.cuda.is_available() and ngpu > 0) else "cpu") print(device) print("\...
23.764706
86
0.710396
69
404
4.014493
0.507246
0.097473
0.093863
0.144404
0
0
0
0
0
0
0
0.019553
0.113861
404
17
87
23.764706
0.75419
0.339109
0
0
0
0
0.041825
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.5
0
0
0
null
0
0
0
0
0
0
0
0
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
693b7325f433bc079a0e3cb877d5731a3566eef2
6,542
py
Python
codegen/codegen/host_codegen.py
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
68
2019-02-07T21:30:21.000Z
2022-02-16T20:09:27.000Z
codegen/codegen/host_codegen.py
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
2
2019-03-15T17:49:03.000Z
2019-07-24T14:05:35.000Z
codegen/codegen/host_codegen.py
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
25
2019-03-15T03:00:15.000Z
2021-08-04T10:21:43.000Z
import json from codegen import json_definitions as jd from codegen import json_writer as jw from codegen import fblas_routine from codegen import fblas_types import codegen.generator_definitions as gd from codegen.fblas_helper import FBLASHelper import logging import os import jinja2 from typing import List class Ho...
43.324503
141
0.684653
869
6,542
4.741082
0.127733
0.058252
0.032039
0.037864
0.645631
0.629126
0.629126
0.629126
0.629126
0.604854
0
0.001779
0.226842
6,542
150
142
43.613333
0.812772
0.032712
0
0.407767
0
0
0.061205
0.003666
0
0
0
0
0
1
0.058252
false
0
0.106796
0
0.213592
0.019417
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
693d4412ea5398c8c6577225252aaea517df327c
5,221
py
Python
test/test_vehicle.py
pchevallier/bimmer_connected
7cfeced15b8db1970761ca8345408b7f839bb085
[ "Apache-2.0" ]
141
2019-08-28T06:23:37.000Z
2022-03-31T08:30:33.000Z
test/test_vehicle.py
pchevallier/bimmer_connected
7cfeced15b8db1970761ca8345408b7f839bb085
[ "Apache-2.0" ]
344
2019-08-06T01:35:44.000Z
2022-03-31T20:19:21.000Z
test/test_vehicle.py
EddyK69/bimmer_connected
809b3725423af0b43aed1b4a68bc76f4713f8130
[ "Apache-2.0" ]
44
2019-09-13T17:48:48.000Z
2022-03-11T20:24:28.000Z
"""Tests for ConnectedDriveVehicle.""" import unittest from unittest import mock from test import load_response_json, BackendMock, TEST_USERNAME, TEST_PASSWORD, TEST_REGION, \ G31_VIN, F48_VIN, I01_VIN, I01_NOREX_VIN, F15_VIN, F45_VIN, F31_VIN, TEST_VEHICLE_DATA, \ ATTRIBUTE_MAPPING, MISSING_ATTRIBUTES, ADDITIO...
48.794393
117
0.690864
575
5,221
5.993043
0.2
0.031921
0.07545
0.041788
0.513639
0.402786
0.354034
0.308474
0.308474
0.308474
0
0.010924
0.2285
5,221
106
118
49.254717
0.844588
0.078529
0
0.269231
0
0
0.055136
0.034591
0
0
0
0
0.205128
1
0.076923
false
0.076923
0.064103
0
0.153846
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
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
69487310ad1cbe8b3580ebe35ae8596a6868c8cd
2,364
py
Python
keynote-export.py
jmckind/keynote-export
405443a7734b87397f062526da9d7b7fe54f080a
[ "MIT" ]
1
2015-11-19T02:59:05.000Z
2015-11-19T02:59:05.000Z
keynote-export.py
jmckind/keynote-export
405443a7734b87397f062526da9d7b7fe54f080a
[ "MIT" ]
null
null
null
keynote-export.py
jmckind/keynote-export
405443a7734b87397f062526da9d7b7fe54f080a
[ "MIT" ]
null
null
null
#!/usr/bin/env python from AppKit import NSURL, NSMutableDictionary from ScriptingBridge import SBApplication import sys DEBUG = False BUNDLE = 'com.apple.iWork.Keynote' SAVING_OPTIONS = { 'yes': 0x79657320, # 'yes ' 'no': 0x6E6F2020, # 'no ' 'ask': 0x61736B20, # 'ask ' } EXPORT_FORMAT = { 'Kht...
27.811765
75
0.678511
273
2,364
5.74359
0.578755
0.049107
0.015306
0.022959
0
0
0
0
0
0
0
0.131027
0.192893
2,364
84
76
28.142857
0.690776
0.226734
0
0
0
0
0.14222
0.012828
0
0
0.167317
0
0
0
null
null
0
0.046154
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
69517993578b4ee9869a253cdcca60e4b9c8c7b3
7,072
py
Python
pomade/assertions.py
saucelabs/pomade
3be5f9910ed3678e32d2efb174a13087930ed68f
[ "Apache-2.0" ]
null
null
null
pomade/assertions.py
saucelabs/pomade
3be5f9910ed3678e32d2efb174a13087930ed68f
[ "Apache-2.0" ]
1
2016-03-08T16:02:03.000Z
2016-03-09T10:22:07.000Z
pomade/assertions.py
saucelabs/pomade
3be5f9910ed3678e32d2efb174a13087930ed68f
[ "Apache-2.0" ]
null
null
null
from pprint import pformat import json import time import traceback import sys from config import SPIN_TIMEOUT class FailTestException(Exception): pass def spinAssert(msg, test, timeout=None, args=[]): timeout = timeout or SPIN_TIMEOUT name = getattr(test, '__name__', 'unknown') last_e = None fo...
36.453608
79
0.609729
868
7,072
4.890553
0.184332
0.044523
0.067845
0.081272
0.58775
0.534982
0.438398
0.389164
0.389164
0.365135
0
0.003774
0.288179
7,072
194
80
36.453608
0.839491
0.024604
0
0.227273
0
0
0.111095
0
0
0
0
0
0.383117
0
null
null
0.019481
0.038961
null
null
0.064935
0
0
0
null
0
0
0
0
0
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
69578623cdda52681346851eaabb75c2b5fbaa8b
1,739
py
Python
src/mlregression/mlreg.py
muhlbach/ml-regression
59dfa5acc9841729d632030492e029bb329ce3ed
[ "MIT" ]
1
2021-11-12T22:45:32.000Z
2021-11-12T22:45:32.000Z
src/mlregression/mlreg.py
muhlbach/ml-regression
59dfa5acc9841729d632030492e029bb329ce3ed
[ "MIT" ]
1
2021-11-15T22:14:10.000Z
2021-11-16T15:56:14.000Z
src/mlregression/mlreg.py
muhlbach/ml-regression
59dfa5acc9841729d632030492e029bb329ce3ed
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------ # Libraries #------------------------------------------------------------------------------ # Standard import numpy as np # User from .base.base_mlreg import BaseMLRegressor #---------------------------------------------------------------...
35.489796
79
0.343301
120
1,739
4.6
0.475
0.048913
0.043478
0
0
0
0
0
0
0
0
0.005177
0.333525
1,739
48
80
36.229167
0.471096
0.320299
0
0
0
0
0.068339
0
0
0
0
0
0
1
0.03125
false
0
0.0625
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6958db9fdde1fe0bbdc0e41e1041c7e74f35fc42
818
py
Python
code_soup/common/vision/models/__init__.py
gchhablani/code-soup
eec666b6cd76bad9c7133a185bb85021b4a390f0
[ "MIT" ]
18
2021-07-29T16:21:02.000Z
2021-12-13T12:58:15.000Z
code_soup/common/vision/models/__init__.py
gchhablani/code-soup
eec666b6cd76bad9c7133a185bb85021b4a390f0
[ "MIT" ]
93
2021-08-04T02:48:15.000Z
2022-01-16T04:58:51.000Z
code_soup/common/vision/models/__init__.py
gchhablani/code-soup
eec666b6cd76bad9c7133a185bb85021b4a390f0
[ "MIT" ]
27
2021-08-06T06:51:34.000Z
2021-11-02T05:47:18.000Z
from torchvision.models import ( alexnet, densenet121, densenet161, densenet169, densenet201, googlenet, inception_v3, mnasnet0_5, mnasnet0_75, mnasnet1_0, mnasnet1_3, mobilenet_v2, mobilenet_v3_large, mobilenet_v3_small, resnet18, resnet34, resnet50, ...
20.45
84
0.717604
96
818
5.75
0.552083
0.086957
0.065217
0.097826
0.163043
0.163043
0
0
0
0
0
0.124409
0.223716
818
39
85
20.974359
0.744882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
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
6958fc1c0934f28a0597e1de1f9bbf912390777b
4,198
py
Python
desktop/core/ext-py/django-celery-beat-1.4.0/django_celery_beat/migrations/0005_add_solarschedule_events_choices_squashed_0009_merge_20181012_1416.py
maulikjs/hue
59ac879b55bb6fb26ecb4e85f4c70836fc21173f
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/django-celery-beat-1.4.0/django_celery_beat/migrations/0005_add_solarschedule_events_choices_squashed_0009_merge_20181012_1416.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/django-celery-beat-1.4.0/django_celery_beat/migrations/0005_add_solarschedule_events_choices_squashed_0009_merge_20181012_1416.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
# Generated by Django 2.1.2 on 2018-10-12 14:18 from __future__ import absolute_import, unicode_literals from django.db import migrations, models import django_celery_beat.validators import timezone_field.fields class Migration(migrations.Migration): replaces = [ ('django_celery_beat', '0005_add_solarsch...
40.365385
78
0.557408
372
4,198
5.951613
0.27957
0.065041
0.086721
0.070461
0.506775
0.429991
0.277326
0.256549
0.208672
0.208672
0
0.039873
0.324917
4,198
103
79
40.757282
0.741355
0.010719
0
0.43299
1
0
0.239942
0.036618
0
0
0
0
0
1
0
false
0
0.041237
0
0.082474
0
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
695a62db915f9a1f77713cced18912c22747ce67
1,253
py
Python
python/cracking_codes_with_python/k_columnar_transposition_cipher_hack.py
MerrybyPractice/book-challanges-and-tutorials
f2d3e07c673fb6e3244e164f4fb03f80b8ec781b
[ "MIT" ]
null
null
null
python/cracking_codes_with_python/k_columnar_transposition_cipher_hack.py
MerrybyPractice/book-challanges-and-tutorials
f2d3e07c673fb6e3244e164f4fb03f80b8ec781b
[ "MIT" ]
null
null
null
python/cracking_codes_with_python/k_columnar_transposition_cipher_hack.py
MerrybyPractice/book-challanges-and-tutorials
f2d3e07c673fb6e3244e164f4fb03f80b8ec781b
[ "MIT" ]
null
null
null
# Columnar Transposition Hack per Cracking Codes with Python # https://www.nostarch.com/crackingcodes/ (BSD Licensed) import pyperclip from j_detect_english import is_english from g_decrypt_columnar_transposition_cipher import decrypt_message as decrypt def hack_transposition(text): print('Press Ctrl-C to quit a...
24.568627
79
0.667199
161
1,253
5.024845
0.484472
0.044499
0.051916
0
0
0
0
0
0
0
0
0.00404
0.209896
1,253
50
80
25.06
0.813131
0.090184
0
0.176471
0
0
0.248021
0
0
0
0
0
0
1
0.058824
false
0
0.088235
0
0.205882
0.441176
0
0
0
null
0
0
0
0
0
0
0
0
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
695d84e2cab5875c13913366e8fd2643e1ba6224
498
py
Python
tasks.py
larsbutler/celery-examples
52682891d245e7ada9c6c0584267489aac55a9e7
[ "BSD-3-Clause" ]
19
2015-06-26T09:24:37.000Z
2020-05-11T01:58:57.000Z
tasks.py
Stackato-Apps/celery-examples
34ee4eea3a0b37cb12485a77f2ec75447abc5f31
[ "BSD-3-Clause" ]
null
null
null
tasks.py
Stackato-Apps/celery-examples
34ee4eea3a0b37cb12485a77f2ec75447abc5f31
[ "BSD-3-Clause" ]
8
2015-06-26T09:24:38.000Z
2018-07-24T10:03:41.000Z
from celery.decorators import task @task def make_pi(num_calcs): """ Simple pi approximation based on the Leibniz formula for pi. http://en.wikipedia.org/wiki/Leibniz_formula_for_pi :param num_calcs: defines the length of the sequence :type num_calcs: positive int :returns: an approximation o...
26.210526
64
0.654618
76
498
4.171053
0.605263
0.126183
0.107256
0.119874
0
0
0
0
0
0
0
0.018519
0.240964
498
18
65
27.666667
0.820106
0
0
0
0
0
0.148305
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
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
695f3000e009b77a96dbba802da859035c0c537e
474
py
Python
tests/test_datareactor.py
data-dev/DataReactor
26cd08129d348cf5ff3596c3e509619c59e300b8
[ "MIT" ]
1
2022-02-08T11:10:08.000Z
2022-02-08T11:10:08.000Z
tests/test_datareactor.py
data-dev/DataReactor
26cd08129d348cf5ff3596c3e509619c59e300b8
[ "MIT" ]
null
null
null
tests/test_datareactor.py
data-dev/DataReactor
26cd08129d348cf5ff3596c3e509619c59e300b8
[ "MIT" ]
null
null
null
import tempfile import unittest from glob import glob from parameterized import parameterized from datareactor import DataReactor class TestDataReactor(unittest.TestCase): @parameterized.expand(glob("datasets/**/")) def test_datasets(self, path_to_example): reactor = DataReactor() with temp...
23.7
61
0.685654
48
474
6.583333
0.5
0.075949
0.082278
0
0
0
0
0
0
0
0
0
0.248945
474
19
62
24.947368
0.88764
0
0
0
0
0
0.025316
0
0
0
0
0
0
1
0.071429
false
0
0.357143
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
69647d7ac20b03e313df97bd4c323fc9f26c4caa
707
py
Python
packages/M2Crypto-0.21.1/demo/ssl/xmlrpc_cli.py
RaphaelPrevost/Back2Shops
5f2d369e82fe2a7b9b3a6c55782319b23d142dfd
[ "CECILL-B" ]
null
null
null
packages/M2Crypto-0.21.1/demo/ssl/xmlrpc_cli.py
RaphaelPrevost/Back2Shops
5f2d369e82fe2a7b9b3a6c55782319b23d142dfd
[ "CECILL-B" ]
6
2021-03-31T19:21:50.000Z
2022-01-13T01:46:09.000Z
packages/M2Crypto-0.21.1/demo/ssl/xmlrpc_cli.py
RaphaelPrevost/Back2Shops
5f2d369e82fe2a7b9b3a6c55782319b23d142dfd
[ "CECILL-B" ]
null
null
null
#!/usr/bin/env python """Demonstration of M2Crypto.xmlrpclib2. Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved.""" from M2Crypto import Rand from M2Crypto.m2xmlrpclib import Server, SSL_Transport def ZServerSSL(): # Server is Zope-2.6.4 on ZServerSSL/0.12. zs = Server('https://127.0.0.1:8443/', ...
26.185185
63
0.671853
104
707
4.403846
0.576923
0.078603
0.056769
0.069869
0.082969
0.082969
0.082969
0
0
0
0
0.074324
0.162659
707
26
64
27.192308
0.699324
0.181047
0
0
0
0
0.187633
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.230769
0
0
0
null
0
0
0
0
0
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
15ce0be79bed3abf0dae31bdcec96b21cba4ea89
1,621
py
Python
Utilities/CPUmining.py
C3ald/Token-Project
278938978d3d198c28502d7cfde5b18c3479ed27
[ "MIT" ]
1
2022-01-19T14:46:58.000Z
2022-01-19T14:46:58.000Z
Utilities/CPUmining.py
C3ald/Token-Project
278938978d3d198c28502d7cfde5b18c3479ed27
[ "MIT" ]
6
2022-01-19T15:14:55.000Z
2022-03-18T22:51:15.000Z
Utilities/CPUmining.py
C3ald/Token-Project
278938978d3d198c28502d7cfde5b18c3479ed27
[ "MIT" ]
null
null
null
import time as t import hashlib class Calibrate: """ Calibration class for CPU mining """ def __init__(self): pass def calibrate(self): """ Calibrates the cpu power """ time_started = t.time() for x in range(10000000): hashlib.sha512('hash'.encode()) hashlib.blake2b('hash'.encode()) time_finished ...
21.051948
80
0.675509
212
1,621
4.976415
0.358491
0.047393
0.052133
0.080569
0.085308
0.083412
0
0
0
0
0
0.075443
0.198643
1,621
77
81
21.051948
0.736721
0.115978
0
0.037736
0
0
0.06776
0
0
0
0
0
0
1
0.113208
false
0.09434
0.037736
0
0.301887
0.09434
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
15ce533fbe73c6678aa437ad3be6859922a5ef65
23,147
py
Python
Assignment 1/problem1/route.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
null
null
null
Assignment 1/problem1/route.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
null
null
null
Assignment 1/problem1/route.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
2
2021-12-01T20:38:02.000Z
2021-12-01T22:42:38.000Z
#!/usr/bin/env python #Assignment 1 ; Question1 #Team: Apurva Gupta, Anshul Jain, Chirag Gilani #To find good driving directions between pair of cities given by the user using four algorithms. #We have included our observations in readme file of question1. import sys import Queue import pandas import numpy import mat...
33.497829
225
0.669763
3,440
23,147
4.347384
0.089244
0.056503
0.034102
0.021665
0.704647
0.682915
0.648679
0.628017
0.608158
0.589435
0
0.023929
0.214628
23,147
690
226
33.546377
0.798724
0.1538
0
0.681979
0
0.001767
0.030013
0.003329
0
0
0
0
0
0
null
null
0
0.008834
null
null
0.028269
0
0
0
null
0
0
0
0
0
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
15e87b87619b41df7d75ea8b043b7dbd742c2cb3
1,929
py
Python
api_lambda_function.py
yuyasugano/defi-test
959cded7440058e12aeaf9e8c75e06394f450332
[ "MIT" ]
3
2020-04-06T11:41:06.000Z
2021-06-04T21:45:36.000Z
api_lambda_function.py
yuyasugano/defi-test
959cded7440058e12aeaf9e8c75e06394f450332
[ "MIT" ]
null
null
null
api_lambda_function.py
yuyasugano/defi-test
959cded7440058e12aeaf9e8c75e06394f450332
[ "MIT" ]
null
null
null
#!/usr/bin/python import json import boto3 import decimal from decimal import Decimal from boto3.dynamodb.conditions import Key, Attr TABLE = 'Tokens' dynamodb = boto3.resource('dynamodb', region_name='ap-northeast-1') table = dynamodb.Table(TABLE_NAME) # Helper class to convert a DynamoDB item to JSON class Decimal...
28.791045
71
0.585796
207
1,929
5.415459
0.454106
0.018733
0.069581
0.096343
0
0
0
0
0
0
0
0.015373
0.291861
1,929
66
72
29.227273
0.805271
0
0
0.245614
0
0
0.153506
0.023192
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
15ed3c737319751d6781c65bc474c7c96a12786a
12,148
py
Python
tests/broker/test_refresh_user.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
7
2015-07-31T05:57:30.000Z
2021-09-07T15:18:56.000Z
tests/broker/test_refresh_user.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
115
2015-03-03T13:11:46.000Z
2021-09-20T12:42:24.000Z
tests/broker/test_refresh_user.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
13
2015-03-03T11:17:59.000Z
2021-09-09T09:16:41.000Z
#!/usr/bin/env python # -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2014-2018 Contributor # # 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 co...
44.014493
79
0.608166
1,361
12,148
5.296841
0.166789
0.135802
0.159523
0.18033
0.729089
0.694271
0.653766
0.621029
0.606464
0.58746
0
0.029919
0.259878
12,148
275
80
44.174545
0.771883
0.060257
0
0.599099
0
0
0.23486
0.003686
0
0
0
0
0
1
0.117117
false
0
0.027027
0
0.148649
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
15f09f466f08acc7d158d1e5f5bf092afb8c1bc3
642
py
Python
temp-down/application.py
scavicchio/easyWaltonTracker
05fd5b12e9e6d9e21f7209baca3b8137c013f002
[ "MIT" ]
2
2018-05-10T04:50:11.000Z
2018-05-10T04:50:13.000Z
temp-down/application.py
scavicchio/easyWaltonTracker
05fd5b12e9e6d9e21f7209baca3b8137c013f002
[ "MIT" ]
5
2018-06-11T22:23:06.000Z
2020-02-28T02:20:52.000Z
temp-down/application.py
scavicchio/easyWaltonTracker
05fd5b12e9e6d9e21f7209baca3b8137c013f002
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, url_for, redirect application = app = Flask(__name__) @app.before_request def check_for_maintenance(): if request.path != url_for('maintenance'): return redirect(url_for('maintenance')) # Or alternatively, dont redirect # return 'Sorry, ...
30.571429
69
0.707165
85
642
5.105882
0.564706
0.129032
0.078341
0
0
0
0
0
0
0
0
0.020952
0.182243
642
21
70
30.571429
0.805714
0.302181
0
0
0
0
0.124154
0
0
0
0
0
0
0
null
null
0
0.090909
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
15f5866d34b5d50188b37efacae2ab46191d04ac
1,231
py
Python
services/twilio.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
null
null
null
services/twilio.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
null
null
null
services/twilio.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
2
2016-09-03T09:12:17.000Z
2020-03-03T11:58:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Jan-Piet Mens <jpmens()gmail.com>' __copyright__ = 'Copyright 2014 Jan-Piet Mens' __license__ = """Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html)""" HAVE_TWILIO=True try: from twilio.rest import TwilioRestClient except Im...
28.627907
98
0.62632
155
1,231
4.793548
0.522581
0.067295
0.056528
0.080754
0
0
0
0
0
0
0
0.00974
0.249391
1,231
42
99
29.309524
0.794372
0.034119
0
0.2
0
0.033333
0.242478
0
0
0
0
0
0
0
null
null
0
0.066667
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
c603335b3b633aab6abb9698186f5935369ba9de
1,805
py
Python
big_o.py
IanDCarroll/BigO
ed9af977a96df88c60e5eca3fb541416db91ee30
[ "MIT" ]
1
2019-09-07T21:18:40.000Z
2019-09-07T21:18:40.000Z
big_o.py
IanDCarroll/BigO
ed9af977a96df88c60e5eca3fb541416db91ee30
[ "MIT" ]
1
2016-11-15T16:53:14.000Z
2016-11-16T22:26:26.000Z
big_o.py
IanDCarroll/BigO
ed9af977a96df88c60e5eca3fb541416db91ee30
[ "MIT" ]
null
null
null
class BigO_of_1(object): def check_index_0_is_int(self, value_list): if value_list[0] == int(value_list[0]): return True class BigO_of_N(object): def double_values(self, value_list): for i in range(0, len(value_list)): value_list[i] *= 2 return value_list class B...
33.425926
64
0.572853
262
1,805
3.664122
0.183206
0.309375
0.083333
0.114583
0.56875
0.56875
0.56875
0.540625
0.503125
0.438542
0
0.016221
0.316898
1,805
53
65
34.056604
0.762368
0
0
0.382979
0
0
0.006648
0
0
0
0
0
0
1
0.148936
false
0
0
0.021277
0.468085
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6045bad43e4ebedcf50caee95ac7467f2df8e94
429
py
Python
renamedb.py
mochisoft/OC_Offline
058b129a8b221f46a3fcbe3fccd36e9983eac2ff
[ "MIT" ]
null
null
null
renamedb.py
mochisoft/OC_Offline
058b129a8b221f46a3fcbe3fccd36e9983eac2ff
[ "MIT" ]
null
null
null
renamedb.py
mochisoft/OC_Offline
058b129a8b221f46a3fcbe3fccd36e9983eac2ff
[ "MIT" ]
null
null
null
import glob, os def rename(dir, pattern): for pathAndFilename in glob.iglob(os.path.join(dir, pattern)): print pathAndFilename title, ext = os.path.splitext(os.path.basename(pathAndFilename)) print title print ext os.rename(pathAndFilename,os.path.join(dir, 'study_name_to_be...
35.75
89
0.717949
61
429
4.836066
0.540984
0.081356
0.067797
0.088136
0
0
0
0
0
0
0
0
0.170163
429
11
90
39
0.828652
0
0
0
0
0
0.226107
0.207459
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c60e6d500a7f4402b2213e04baa96746a9880683
723
py
Python
gui/profile/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
gui/profile/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
gui/profile/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
from django.conf.urls import patterns, url urlpatterns = patterns( 'gui.profile.views', # Profile pages, with url prefix: accounts/profile url(r'^$', 'index', name='profile'), url(r'^api_keys/$', 'apikeys', name='profile_apikeys'), url(r'^update/$', 'update', name='profile_update'), url(r'^pas...
45.1875
115
0.665284
90
723
5.2
0.488889
0.068376
0.047009
0
0
0
0
0
0
0
0
0.003125
0.114799
723
15
116
48.2
0.728125
0.06639
0
0
0
0
0.554235
0.156018
0
0
0
0
0
1
0
false
0.083333
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
0
1
0
0
0
0
0
1
c614e8587dd436a8c02676924e1ca14eecbd8b56
1,009
py
Python
debug/deploy_zipped.py
micprog/SystemVerilog
7eca705e87f87b94478fe222fc91d54d488cc8e3
[ "Apache-2.0" ]
29
2017-09-25T20:33:29.000Z
2022-03-15T17:57:45.000Z
debug/deploy_zipped.py
micprog/SystemVerilog
7eca705e87f87b94478fe222fc91d54d488cc8e3
[ "Apache-2.0" ]
50
2019-09-26T20:58:35.000Z
2022-03-31T20:30:00.000Z
debug/deploy_zipped.py
micprog/SystemVerilog
7eca705e87f87b94478fe222fc91d54d488cc8e3
[ "Apache-2.0" ]
15
2018-11-21T11:36:18.000Z
2022-03-15T17:58:18.000Z
import util from deploy_config import PACKAGE_CONTROL_SETTINGS_FILE, SUBLIME_SETTINGS_FILE, PACKAGE_NAME, SRC, DST_ZIPPED, IGNORE_DIRS import time print('[deploy] Deployment to Installed Packages ...') util.change_settings(PACKAGE_CONTROL_SETTINGS_FILE, "auto_upgrade_ignore", PACKAGE_NAME, a...
40.36
123
0.723489
122
1,009
5.614754
0.295082
0.122628
0.131387
0.151825
0.656934
0.643796
0.527007
0.429197
0.429197
0.429197
0
0.00243
0.184341
1,009
24
124
42.041667
0.829891
0
0
0.277778
0
0
0.205285
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
1
0
0
0
0
0
0
1