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
1b18622eafedd5518564e3002df72bcc43626932
1,006
py
Python
geolucidate/links/yahoo.py
kurtraschke/geolucidate
827195a90d972fa5efce5a03bdbe53d8395d94ba
[ "MIT" ]
3
2015-09-17T01:01:53.000Z
2019-09-10T14:30:43.000Z
geolucidate/links/yahoo.py
kurtraschke/geolucidate
827195a90d972fa5efce5a03bdbe53d8395d94ba
[ "MIT" ]
null
null
null
geolucidate/links/yahoo.py
kurtraschke/geolucidate
827195a90d972fa5efce5a03bdbe53d8395d94ba
[ "MIT" ]
5
2018-09-11T21:54:36.000Z
2020-06-25T19:05:45.000Z
from geolucidate.links.tools import default_link def yahoo_maps_link(type='hybrid', link=default_link): ''' Returns a function for generating links to Yahoo Maps. :param type: map type, one of 'map', 'satellite', or 'hybrid' :param link: Link-generating function; defaults to :func:`~.default_link` ...
37.259259
149
0.593439
135
1,006
4.340741
0.407407
0.075085
0.044369
0.044369
0.064846
0.064846
0
0
0
0
0
0.070968
0.229622
1,006
26
150
38.692308
0.685161
0.4334
0
0
0
0
0.127341
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b1be0edc4e55b6e8f3880be837ef0d3a77f96c8
4,056
py
Python
config/settings/common.py
cni-iisc/campus-rakshak-simulator-app
ef30a1fb57b72d25534945526fdb77d158ad16c1
[ "Apache-2.0" ]
1
2021-07-29T10:33:26.000Z
2021-07-29T10:33:26.000Z
config/settings/common.py
cni-iisc/campus-rakshak-simulator-app
ef30a1fb57b72d25534945526fdb77d158ad16c1
[ "Apache-2.0" ]
null
null
null
config/settings/common.py
cni-iisc/campus-rakshak-simulator-app
ef30a1fb57b72d25534945526fdb77d158ad16c1
[ "Apache-2.0" ]
null
null
null
""" Common Django settings for campussim project. """ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent.parent # Application definition INSTALLED_APPS = [ ### Django apps for core functionalitites and packages for static fi...
27.221477
99
0.664201
403
4,056
6.51861
0.511166
0.059383
0.031976
0.029692
0.044538
0.032737
0.032737
0
0
0
0
0.005311
0.210799
4,056
148
100
27.405405
0.81537
0.175542
0
0.046296
0
0
0.483998
0.307065
0
0
0
0
0
1
0
false
0
0.018519
0
0.018519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b1be2d213dcec1a57e7aabc55b73fed9c642944
4,784
py
Python
Scenarii/S_Bargaining.py
lesyk/Evolife
8e3dd1aab84061f7ce082f3a4b1bac0b2e31bc4a
[ "MIT" ]
null
null
null
Scenarii/S_Bargaining.py
lesyk/Evolife
8e3dd1aab84061f7ce082f3a4b1bac0b2e31bc4a
[ "MIT" ]
null
null
null
Scenarii/S_Bargaining.py
lesyk/Evolife
8e3dd1aab84061f7ce082f3a4b1bac0b2e31bc4a
[ "MIT" ]
null
null
null
############################################################################## # EVOLIFE www.dessalles.fr/Evolife Jean-Louis Dessalles # # Telecom ParisTech 2014 www.dessalles.fr # ############################################################################## ...
36.8
129
0.569607
547
4,784
4.897623
0.413163
0.053378
0.053751
0.034341
0.167227
0.120194
0.097051
0.068682
0.039567
0.039567
0
0.013797
0.212166
4,784
129
130
37.085271
0.697002
0.166179
0
0.151515
0
0
0.104334
0
0
0
0
0
0
0
null
null
0
0.121212
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1b1c2c85a3b57a89a03330a9170df389c8a29620
5,562
py
Python
Mp3Processing.py
yNeshy/voice-change
2535351bcd8a9f2d58fcbff81a2051c4f6ac6ab4
[ "MIT" ]
null
null
null
Mp3Processing.py
yNeshy/voice-change
2535351bcd8a9f2d58fcbff81a2051c4f6ac6ab4
[ "MIT" ]
null
null
null
Mp3Processing.py
yNeshy/voice-change
2535351bcd8a9f2d58fcbff81a2051c4f6ac6ab4
[ "MIT" ]
null
null
null
# Aziz Nechi # If you have any trouble with submitting to S3, please contact me. This part is on me. # As for the conversion, the fetching from url and the sound editing, I have made sure # of its veracity. # Please make sure the url you provide is correct, and doesn't block downloads from # unknown sources. # Your ...
29.903226
102
0.613448
783
5,562
4.218391
0.268199
0.065395
0.09446
0.029064
0.246443
0.222525
0.201635
0.153497
0.129882
0.109295
0
0.018896
0.286408
5,562
185
103
30.064865
0.813303
0.265013
0
0.267327
0
0
0.014876
0
0
0
0
0
0
1
0.128713
false
0
0.079208
0
0.29703
0.009901
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b1c52e5ecdb923c41a018a6b3a02d0c6487f70d
16,783
py
Python
pysnmp-with-texts/GUDEADS-EPC2X6-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/GUDEADS-EPC2X6-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/GUDEADS-EPC2X6-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module GUDEADS-EPC2X6-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GUDEADS-EPC2X6-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:20:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
123.404412
1,509
0.771018
1,883
16,783
6.870951
0.153478
0.065853
0.115242
0.013294
0.509584
0.314809
0.303447
0.269593
0.254367
0.214716
0
0.103678
0.079902
16,783
135
1,510
124.318519
0.734167
0.019663
0
0.023622
0
0.023622
0.286974
0.024629
0
0
0
0
0
1
0
false
0
0.047244
0
0.047244
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1b1ea6c3e05799e453822258bb77692c266ee6a2
5,343
py
Python
jsonwspclient/jsonwspresponse.py
ellethee/jsonwspclient
cafd6d5ee27d686329338bd861ae85a69eeaeb4b
[ "MIT" ]
2
2018-03-22T10:29:46.000Z
2019-09-26T16:58:20.000Z
jsonwspclient/jsonwspresponse.py
ellethee/jsonwspclient
cafd6d5ee27d686329338bd861ae85a69eeaeb4b
[ "MIT" ]
null
null
null
jsonwspclient/jsonwspresponse.py
ellethee/jsonwspclient
cafd6d5ee27d686329338bd861ae85a69eeaeb4b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ==================================================== Jsonwspresponse :mod:`jsonwspclient.jsonwspresponse` ==================================================== """ import logging from . import jsonwspexceptions as excs from . import jsonwsputils as utils from .jsonwspmultipart import MultiPa...
33.186335
84
0.588059
587
5,343
5.153322
0.267462
0.05157
0.042314
0.017851
0.057521
0.035702
0
0
0
0
0
0.000524
0.285607
5,343
160
85
33.39375
0.791983
0.195957
0
0.094737
0
0
0.040707
0
0
0
0
0
0
1
0.168421
false
0
0.042105
0.042105
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b1ea87d3f6b885e2e8969541f99adfc341e78c0
503
py
Python
src/ResNeXt/filterPath.py
willyspinner/High-Performance-Face-Recognition
c5caad61be97fd20f9c47a727278ff938dc5cc8f
[ "MIT" ]
300
2019-01-28T07:37:53.000Z
2022-03-09T02:17:28.000Z
src/ResNeXt/filterPath.py
willyspinner/High-Performance-Face-Recognition
c5caad61be97fd20f9c47a727278ff938dc5cc8f
[ "MIT" ]
15
2019-04-22T14:23:01.000Z
2021-11-24T09:52:32.000Z
src/ResNeXt/filterPath.py
willyspinner/High-Performance-Face-Recognition
c5caad61be97fd20f9c47a727278ff938dc5cc8f
[ "MIT" ]
67
2019-01-29T05:42:09.000Z
2021-12-28T11:09:44.000Z
# /Volumes/usb1/ms2/ # # /media/usbstick/MS_challenge1_train_data # # def writeToFile(content): with open('MStrainFloat2.lst', 'a') as f: f.write(content) with open('MStrainFloat.lst', 'r') as f: lines = f.readlines() counter = 0 content = "" for line in lines: line = line.replace("/Volumes/usb1/ms2/", "/media/...
20.12
87
0.675944
69
503
4.84058
0.521739
0.065868
0.083832
0.113772
0.287425
0.287425
0.287425
0.287425
0.287425
0
0
0.030516
0.153082
503
24
88
20.958333
0.753521
0.117296
0
0.125
0
0
0.232877
0.093607
0
0
0
0
0
0
null
null
0
0
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1b26031be43a4955c5bab323a43414cfbaa1a9e0
8,986
py
Python
onir/pipelines/catfog.py
tgeral68/OpenNIR
225b26185bd67fdc00f24de3ef70d35768e22243
[ "MIT" ]
3
2021-01-07T15:44:38.000Z
2021-08-23T03:44:47.000Z
onir/pipelines/catfog.py
tgeral68/OpenNIR
225b26185bd67fdc00f24de3ef70d35768e22243
[ "MIT" ]
null
null
null
onir/pipelines/catfog.py
tgeral68/OpenNIR
225b26185bd67fdc00f24de3ef70d35768e22243
[ "MIT" ]
1
2021-11-16T09:10:47.000Z
2021-11-16T09:10:47.000Z
import os import json from onir import util, pipelines import onir import pickle @pipelines.register('catfog') class CatfogPipeline(pipelines.BasePipeline): name = None @staticmethod def default_config(): return { 'max_epoch': 1000, 'early_stop': 20, 'warmup': -...
41.795349
130
0.565546
1,070
8,986
4.504673
0.158879
0.06722
0.042324
0.026556
0.351245
0.2361
0.146058
0.115768
0.0639
0.055602
0
0.003829
0.302471
8,986
214
131
41.990654
0.765156
0.060316
0
0.197605
0
0
0.175362
0.008537
0
0
0
0
0
1
0.041916
false
0
0.02994
0.005988
0.101796
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b2697174f5d2dc5ca43b4d1d3656b250a65909a
6,514
py
Python
web/libraries/StoryMapJS/s3analysis/s3analysis.py
cainaru/d8-digital-stlawu
ad60dae2b9ce2bd51a6b7a96173c7139149dad2f
[ "MIT" ]
null
null
null
web/libraries/StoryMapJS/s3analysis/s3analysis.py
cainaru/d8-digital-stlawu
ad60dae2b9ce2bd51a6b7a96173c7139149dad2f
[ "MIT" ]
4
2020-03-31T18:38:08.000Z
2021-04-30T21:08:46.000Z
web/libraries/StoryMapJS/s3analysis/s3analysis.py
cainaru/d8-digital-stlawu
ad60dae2b9ce2bd51a6b7a96173c7139149dad2f
[ "MIT" ]
null
null
null
import importlib import os import sys try: import unicodecsv as csv except ImportError: print "warning: unicodecsv not found. Please install it" import csv from urlparse import urlparse import json settings_module = os.environ.setdefault('FLASK_SETTINGS_MODULE', 'core.settings.loc') # other StoryMap code ex...
37.011364
136
0.610071
891
6,514
4.309764
0.280584
0.044531
0.03724
0.0125
0.095573
0.060417
0.060417
0.015104
0.015104
0
0
0.007998
0.270648
6,514
175
137
37.222857
0.800253
0.06724
0
0.155556
0
0
0.179632
0.017663
0
0
0
0
0
0
null
null
0.007407
0.096296
null
null
0.051852
0
0
0
null
0
0
0
0
0
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
1b27721ad20a6f967e898161ac04a023ab310d6a
339
py
Python
Part 1/Chapter 3/exercise_3.9.py
kg55555/pypractice
1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef
[ "MIT" ]
null
null
null
Part 1/Chapter 3/exercise_3.9.py
kg55555/pypractice
1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef
[ "MIT" ]
null
null
null
Part 1/Chapter 3/exercise_3.9.py
kg55555/pypractice
1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef
[ "MIT" ]
null
null
null
famous = ['steve jobs','bill gates', 'gandhi'] print(f"Hello {famous[0].title()}, I'd like to invite you to dinner with me!") print(f"Hello {famous[1].title()}, I'd like to invite you to dinner with me!") print(f"Hello {famous[2].title()}, I'd like to invite you to dinner with me!") print("I'm inviting",len(famous), "p...
56.5
78
0.678466
63
339
3.650794
0.412698
0.13913
0.143478
0.221739
0.63913
0.63913
0.63913
0.63913
0.63913
0.63913
0
0.010169
0.129794
339
5
79
67.8
0.769492
0
0
0
0
0
0.764012
0
0
0
0
0
0
1
0
false
0
0
0
0
0.8
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
1b2813992eae1e2879e14dffe5915bc48353325b
291
py
Python
measure_mate/tests/docs/test_docs.py
niche-tester/measure-mate
c3acba57747bcb89fe0c6b9509ec90f04a581506
[ "MIT" ]
15
2015-12-14T02:20:31.000Z
2022-01-30T04:36:39.000Z
measure_mate/tests/docs/test_docs.py
rloomans/measure-mate
e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2
[ "MIT" ]
1,403
2017-02-16T01:00:04.000Z
2022-03-15T21:12:13.000Z
measure_mate/tests/docs/test_docs.py
rloomans/measure-mate
e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2
[ "MIT" ]
10
2015-12-18T01:30:46.000Z
2022-01-30T04:36:41.000Z
from django.test import TestCase from django.urls import reverse from rest_framework import status class SchemaViewTestCases(TestCase): def test_schema_view(self): response = self.client.get(reverse('schema')) self.assertEqual(response.status_code, status.HTTP_200_OK)
29.1
66
0.773196
38
291
5.763158
0.631579
0.091324
0
0
0
0
0
0
0
0
0
0.012097
0.147766
291
9
67
32.333333
0.870968
0
0
0
0
0
0.020619
0
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1b286add96d725a4355a582d1095f8902eb24f33
1,425
py
Python
launch/no_roof_small_warehouse.launch.py
ros2-gbp/aws_robomaker_small_warehouse_world-release
6c3f0c113772b0148e1b50dcdd45269869622d5d
[ "MIT-0" ]
1
2022-02-24T21:33:26.000Z
2022-02-24T21:33:26.000Z
launch/no_roof_small_warehouse.launch.py
ros2-gbp/aws_robomaker_small_warehouse_world-release
6c3f0c113772b0148e1b50dcdd45269869622d5d
[ "MIT-0" ]
1
2022-03-31T00:36:19.000Z
2022-03-31T00:36:19.000Z
launch/no_roof_small_warehouse.launch.py
ros2-gbp/aws_robomaker_small_warehouse_world-release
6c3f0c113772b0148e1b50dcdd45269869622d5d
[ "MIT-0" ]
1
2022-03-11T05:24:38.000Z
2022-03-11T05:24:38.000Z
# Copyright (c) 2018 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.513514
175
0.739649
174
1,425
5.867816
0.568966
0.058766
0.044074
0.070519
0.107738
0.107738
0.107738
0.107738
0.107738
0
0
0.006932
0.190175
1,425
36
176
39.583333
0.877816
0.391579
0
0
0
0
0.194607
0.181712
0
0
0
0
0
1
0.055556
false
0
0.277778
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b28b59d6ecded6cdbfbf6ca62928fab85bd51f4
2,028
py
Python
analysis/att_weights.py
sagarika1101/twitter_abusive_behavior_detection
edf90364d10f44aa6ace4d54ef9ed1f9bf495c0c
[ "Apache-2.0" ]
1
2021-09-24T08:51:38.000Z
2021-09-24T08:51:38.000Z
analysis/att_weights.py
sagarika1101/twitter_abusive_behavior_detection
edf90364d10f44aa6ace4d54ef9ed1f9bf495c0c
[ "Apache-2.0" ]
null
null
null
analysis/att_weights.py
sagarika1101/twitter_abusive_behavior_detection
edf90364d10f44aa6ace4d54ef9ed1f9bf495c0c
[ "Apache-2.0" ]
null
null
null
from keras.models import model_from_json from sklearn.metrics import classification_report from load_data import read_file, preprocess_doc, \ pad_sequences, build_input_data_rnn, build_vocab from model import AttentionWithContext, dot_product # load json and create model json_file = open('model.json', 'r') loaded...
28.971429
74
0.727811
321
2,028
4.367601
0.342679
0.078459
0.008559
0.024251
0.015692
0
0
0
0
0
0
0.00576
0.143984
2,028
69
75
29.391304
0.801843
0.038462
0
0
0
0
0.107914
0
0
0
0
0
0
1
0.020833
false
0
0.125
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b2c3495062849e7ab61a70eaff4509c4559a318
879
py
Python
examples/examples.py
benjaminkrenn/perpetual
b8925636391baf5a96daa20adf8741f4fd965f30
[ "MIT" ]
null
null
null
examples/examples.py
benjaminkrenn/perpetual
b8925636391baf5a96daa20adf8741f4fd965f30
[ "MIT" ]
null
null
null
examples/examples.py
benjaminkrenn/perpetual
b8925636391baf5a96daa20adf8741f4fd965f30
[ "MIT" ]
1
2019-12-20T08:33:54.000Z
2019-12-20T08:33:54.000Z
# A simple example # Author: Martin Lackner from __future__ import print_function import sys sys.path.insert(0, '..') import profiles import perpetual_rules as perpetual apprsets1 = {1: [1], 2: [1], 3: [2], 4: [3]} apprsets2 = {1: [1], 2: [2], 3: [2], 4: [3]} apprsets3 = {1: [1], 2: [1], 3: [2], 4: [3]} voters = [1...
28.354839
72
0.709898
121
879
5.066116
0.338843
0.016313
0.014682
0.019576
0.261011
0.261011
0.261011
0.261011
0
0
0
0.057292
0.12628
879
30
73
29.3
0.740885
0.044369
0
0
0
0
0.139785
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.35
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b2c403fc778412b306d10be87e5d0448be413c4
424
py
Python
database.py
dwang/discord-logger
db476659265ee24fa97c5ba3d6cde65192214ab7
[ "MIT" ]
null
null
null
database.py
dwang/discord-logger
db476659265ee24fa97c5ba3d6cde65192214ab7
[ "MIT" ]
null
null
null
database.py
dwang/discord-logger
db476659265ee24fa97c5ba3d6cde65192214ab7
[ "MIT" ]
null
null
null
import os from pymongo import MongoClient client = MongoClient(os.getenv("MONGODB_IP", "127.0.0.1"), 27017) db = client.discord_logger def add_message(guild, message_id, time, content, author, channel): post = { "message_id": str(message_id), "time": str(time), "content": str(content), ...
23.555556
67
0.632075
55
424
4.745455
0.527273
0.103448
0.099617
0
0
0
0
0
0
0
0
0.033133
0.216981
424
17
68
24.941176
0.753012
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b2c5562aee4802c9392f1d199a158fa1f1ff402
1,337
py
Python
azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
1
2021-09-07T18:36:04.000Z
2021-09-07T18:36:04.000Z
azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
2
2019-10-02T23:37:38.000Z
2020-10-02T01:17:31.000Z
azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/sql_data_directory.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
1
2019-06-17T22:18:23.000Z
2019-06-17T22:18:23.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
34.282051
76
0.586387
145
1,337
5.303448
0.558621
0.085826
0.028609
0
0
0
0
0
0
0
0
0.000922
0.188482
1,337
38
77
35.184211
0.707834
0.572177
0
0
0
0
0.171154
0
0
0
0
0
0
1
0.083333
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
0
0
0
0
0
0
0
1
0
1b2d742a0714e44102b52b79bd7b5c21748364f9
182
py
Python
iostream/__init__.py
revival0728/py-iostream
5fe441e13f7054d091a4215ab23655a9b7d5eeac
[ "MIT" ]
null
null
null
iostream/__init__.py
revival0728/py-iostream
5fe441e13f7054d091a4215ab23655a9b7d5eeac
[ "MIT" ]
null
null
null
iostream/__init__.py
revival0728/py-iostream
5fe441e13f7054d091a4215ab23655a9b7d5eeac
[ "MIT" ]
null
null
null
import sys from .istream import istream from .ostream import ostream from .io import pin from .io import pout from .io import perr sys.settrace(io.__iostream_checker__) # need fix
20.222222
49
0.791209
29
182
4.793103
0.482759
0.129496
0.258993
0
0
0
0
0
0
0
0
0
0.153846
182
9
49
20.222222
0.902597
0.043956
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.857143
0
0.857143
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1b30e9bcb03004d191594b655b0f016407530407
5,278
py
Python
functions_ordered.py
mpleung/equil_compute
13c5d6488f894c1b2e7b539780dfa1c69e6e8133
[ "MIT" ]
null
null
null
functions_ordered.py
mpleung/equil_compute
13c5d6488f894c1b2e7b539780dfa1c69e6e8133
[ "MIT" ]
null
null
null
functions_ordered.py
mpleung/equil_compute
13c5d6488f894c1b2e7b539780dfa1c69e6e8133
[ "MIT" ]
null
null
null
import numpy as np, pandas as pd, networkx as nx, itertools, sys, traceback def assemble_data(data_folder): """ We don't include a dummy for missings for data.church because Card and Guiliano do not report its coefficient. We don't include a dummy for missings for data.parent_HS, data.parent_college because Ca...
49.327103
359
0.650057
852
5,278
3.916667
0.284038
0.059934
0.02727
0.019479
0.213965
0.172011
0.106083
0.031166
0.031166
0.022176
0
0.042157
0.195529
5,278
106
360
49.792453
0.743759
0.268473
0
0
0
0.030769
0.170479
0
0
0
0
0
0
1
0.061538
false
0
0.015385
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b31b9d96e061908cd3c5890a8759f6fcf9c8be8
14,428
py
Python
cottonformation/res/sso.py
MacHu-GWU/cottonformation-project
23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b
[ "BSD-2-Clause" ]
5
2021-07-22T03:45:59.000Z
2021-12-17T21:07:14.000Z
cottonformation/res/sso.py
MacHu-GWU/cottonformation-project
23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b
[ "BSD-2-Clause" ]
1
2021-06-25T18:01:31.000Z
2021-06-25T18:01:31.000Z
cottonformation/res/sso.py
MacHu-GWU/cottonformation-project
23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b
[ "BSD-2-Clause" ]
2
2021-06-27T03:08:21.000Z
2021-06-28T22:15:51.000Z
# -*- coding: utf-8 -*- """ This module """ import attr import typing from ..core.model import ( Property, Resource, Tag, GetAtt, TypeHint, TypeCheck, ) from ..core.constant import AttrMeta #--- Property declaration --- @attr.s class PropInstanceAccessControlAttributeConfigurationAccessControlAttributeValue(Pr...
61.65812
265
0.7771
1,471
14,428
7.518695
0.059143
0.031826
0.043761
0.067631
0.878571
0.875226
0.842676
0.809946
0.809946
0.809946
0
0.000077
0.099875
14,428
233
266
61.922747
0.851544
0.329775
0
0.352459
0
0
0.097095
0.062993
0
0
0
0
0
1
0.008197
false
0
0.032787
0
0.286885
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1b32180c77f0ecbaa74ea5dff4762e2a920c7894
299
py
Python
P1365.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
P1365.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
P1365.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
class Solution: def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]: result = {} for index, number in enumerate(sorted(nums)): if number not in result: result[number] = index return [result[number] for number in nums]
27.181818
70
0.578595
33
299
5.242424
0.545455
0.080925
0
0
0
0
0
0
0
0
0
0
0.324415
299
10
71
29.9
0.856436
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b3291fd4770bd69c2af0fd2c1b2340f6739c8dc
1,184
py
Python
ee/models/dashboard_privilege.py
msnitish/posthog
cb86113f568e72eedcb64b5fd00c313d21e72f90
[ "MIT" ]
null
null
null
ee/models/dashboard_privilege.py
msnitish/posthog
cb86113f568e72eedcb64b5fd00c313d21e72f90
[ "MIT" ]
null
null
null
ee/models/dashboard_privilege.py
msnitish/posthog
cb86113f568e72eedcb64b5fd00c313d21e72f90
[ "MIT" ]
null
null
null
from django.db import models from posthog.models.dashboard import Dashboard from posthog.models.utils import UUIDModel, sane_repr # We call models that grant a user access to some resource (which isn't a grouping of users) a "privilege" class DashboardPrivilege(UUIDModel): dashboard: models.ForeignKey = models.F...
39.466667
113
0.735642
129
1,184
6.550388
0.434109
0.07574
0.040237
0.07574
0.27929
0.186982
0.111243
0
0
0
0
0
0.170608
1,184
29
114
40.827586
0.860489
0.087838
0
0
0
0
0.158627
0.085343
0
0
0
0
0
1
0
false
0
0.130435
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b33c63a9914002051440cf798e5f124574105d1
3,496
py
Python
niphlem/report/html_report.py
CoAxLab/brainhack-physio-project
b87cd6c6db486639f271b786ca1cf4aa27a70fad
[ "BSD-3-Clause" ]
1
2022-03-13T14:33:44.000Z
2022-03-13T14:33:44.000Z
niphlem/report/html_report.py
CoAxLab/niphlem
a275cfe0b6286fcb8a60a2d999354453804dd5d2
[ "BSD-3-Clause" ]
11
2021-12-07T03:33:13.000Z
2022-02-28T20:41:12.000Z
niphlem/report/html_report.py
CoAxLab/brainhack-physio-project
b87cd6c6db486639f271b786ca1cf4aa27a70fad
[ "BSD-3-Clause" ]
null
null
null
import weakref from html import escape import warnings MAX_IMG_VIEWS_BEFORE_WARNING = 10 class HTMLDocument(object): """ Embeds a plot in a web page. If you are running a Jupyter notebook, the plot will be displayed inline if this object is the output of a cell. Otherwise, use open_in_browser() t...
32.672897
78
0.606407
467
3,496
4.344754
0.316916
0.029571
0.027107
0.041893
0.210941
0.114342
0.088714
0.088714
0.088714
0.088714
0
0.004965
0.308638
3,496
106
79
32.981132
0.834506
0.300915
0
0.178571
0
0
0.095559
0.011216
0
0
0
0
0
1
0.196429
false
0
0.053571
0.035714
0.464286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b33d7ab4bd7f7cef81cb68e4a2eedff151354aa
1,244
py
Python
onegram/utils/validation.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
150
2018-03-17T20:38:43.000Z
2020-11-18T14:08:06.000Z
onegram/utils/validation.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
14
2018-04-08T11:39:59.000Z
2019-08-10T14:16:23.000Z
onegram/utils/validation.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
11
2018-03-22T04:34:29.000Z
2021-06-10T10:55:35.000Z
import json from ..exceptions import AuthFailed, AuthUserError from ..exceptions import RequestFailed, RateLimitedError def validate_response(session, response, auth=False): try: try: js_response = json.loads(response.text) except: response.raise_for_status() if...
26.468085
57
0.611736
130
1,244
5.723077
0.346154
0.053763
0.053763
0.05914
0
0
0
0
0
0
0
0
0.292605
1,244
46
58
27.043478
0.845455
0
0
0.263158
0
0
0.098875
0
0
0
0
0
0
1
0.078947
false
0
0.078947
0
0.184211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b33e3d9d852feb57054b91aa6e7e0dcf90b25fb
4,640
py
Python
evil-dir/actual_sploit.py
nxkennedy/shakedown
280a466582bb8009d96dda5a69cbf296a11709c5
[ "MIT" ]
null
null
null
evil-dir/actual_sploit.py
nxkennedy/shakedown
280a466582bb8009d96dda5a69cbf296a11709c5
[ "MIT" ]
null
null
null
evil-dir/actual_sploit.py
nxkennedy/shakedown
280a466582bb8009d96dda5a69cbf296a11709c5
[ "MIT" ]
null
null
null
!/usr/bin/python # Exploit Title: FTPGetter 5.89.0.85 Remote SEH Buffer Overflow # Date: 07/14/2017 # Exploit Author: Paul Purcell # Contact: ptpxploit at gmail # Vendor Homepage: https://www.ftpgetter.com/ # Vulnerable Version Download: Available for 30 days here: (https://ufile.io/2celn) I can upload again upon requ...
46.4
147
0.694397
899
4,640
3.581758
0.299221
0.052174
0.067081
0.074534
0.120497
0.095031
0.095031
0.095031
0.095031
0.095031
0
0.239062
0.108405
4,640
99
148
46.868687
0.53928
0.293534
0
0
0
0.567164
0.717492
0.628343
0
0
0
0
0
0
null
null
0
0.014925
null
null
0.074627
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
1b34f890df60f44c950ca436484410e7cfce1929
882
py
Python
models/convnet.py
nitesh4146/bumblebee
808261c44c0a5470fc0e969c2fda7c2a3fd2088e
[ "MIT" ]
null
null
null
models/convnet.py
nitesh4146/bumblebee
808261c44c0a5470fc0e969c2fda7c2a3fd2088e
[ "MIT" ]
null
null
null
models/convnet.py
nitesh4146/bumblebee
808261c44c0a5470fc0e969c2fda7c2a3fd2088e
[ "MIT" ]
null
null
null
from keras import models, optimizers from keras.layers import Input, Dense, Activation, Flatten, Conv2D, Lambda, MaxPooling2D, Dropout def Convnet(): # Model architecture model = models.Sequential() model.add(Conv2D(16, (3, 3), input_shape=(66, 200, 3), activation='relu')) model.add(MaxPooling...
33.923077
98
0.6678
121
882
4.818182
0.396694
0.178388
0.19554
0.226415
0.396226
0.296741
0.296741
0.296741
0.296741
0.296741
0
0.063428
0.159864
882
25
99
35.28
0.723347
0.10771
0
0.166667
0
0
0.030651
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1b352ccb19fe75f43dea62f1c3041514829e96c3
5,233
py
Python
sdk/python/tests/unit/test_proto_json.py
achals/feast
ce3ad0332edd6507e63fb80310c13d24952100d4
[ "Apache-2.0" ]
2,258
2020-05-17T02:41:07.000Z
2022-03-31T22:30:57.000Z
sdk/python/tests/unit/test_proto_json.py
achals/feast
ce3ad0332edd6507e63fb80310c13d24952100d4
[ "Apache-2.0" ]
1,768
2020-05-16T05:37:28.000Z
2022-03-31T23:30:05.000Z
sdk/python/tests/unit/test_proto_json.py
achals/feast
ce3ad0332edd6507e63fb80310c13d24952100d4
[ "Apache-2.0" ]
415
2020-05-16T18:21:27.000Z
2022-03-31T09:59:10.000Z
import assertpy import pytest from google.protobuf.json_format import MessageToDict, Parse from feast import proto_json from feast.protos.feast.serving.ServingService_pb2 import ( FeatureList, GetOnlineFeaturesResponse, ) from feast.protos.feast.types.Value_pb2 import RepeatedValue FieldValues = GetOnlineFeat...
45.112069
106
0.68928
787
5,233
4.287166
0.125794
0.13278
0.170717
0.14997
0.679016
0.63278
0.547421
0.468287
0.397747
0.255483
0
0.020838
0.156316
5,233
115
107
45.504348
0.743375
0.155742
0
0.065217
0
0
0.121907
0
0
0
0
0
0.358696
1
0.043478
false
0
0.065217
0
0.108696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b38ff047687aae355024d77f7e305c5f8f0b8c3
1,584
py
Python
tests/test_models.py
andleb/rule-vetting
57330c4e59affc89d6ae0ab5e619adb88e17c51e
[ "MIT" ]
null
null
null
tests/test_models.py
andleb/rule-vetting
57330c4e59affc89d6ae0ab5e619adb88e17c51e
[ "MIT" ]
null
null
null
tests/test_models.py
andleb/rule-vetting
57330c4e59affc89d6ae0ab5e619adb88e17c51e
[ "MIT" ]
1
2021-11-16T22:03:58.000Z
2021-11-16T22:03:58.000Z
from os.path import join as oj import importlib import numpy as np import os import rulevetting import rulevetting.api.util DATA_PATH = oj(os.path.dirname(os.path.abspath(__file__)), '..', 'data') def test_models(project): """Check that each baseline is implemented properly """ if not project == 'None'...
36.837209
93
0.688131
221
1,584
4.701357
0.357466
0.046198
0.031761
0.034649
0.147257
0.109721
0.075072
0
0
0
0
0.011155
0.207702
1,584
42
94
37.714286
0.816733
0.039773
0
0
0
0
0.163696
0.054785
0
0
0
0
0.3
1
0.033333
false
0
0.266667
0
0.3
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b39de458bf4415b36a9987b04619b2b42b5117d
634
py
Python
ut_engine/start.py
justpic/ut_ali
5173011c735cdbd4b1cb9becad3b69675993225a
[ "MIT" ]
1
2021-07-08T01:30:07.000Z
2021-07-08T01:30:07.000Z
ut_engine/start.py
justpic/ut_ali
5173011c735cdbd4b1cb9becad3b69675993225a
[ "MIT" ]
null
null
null
ut_engine/start.py
justpic/ut_ali
5173011c735cdbd4b1cb9becad3b69675993225a
[ "MIT" ]
null
null
null
#/usr/bin/python #-*- coding: utf-8 -*- #system modules import sys #add root path into the sys.path # sys.path.append('./') #custom modules from Model.model import Model if __name__ == "__main__": if len(sys.argv)>1: cmd=sys.argv[1] if cmd=='score': from evaluate import score ...
21.133333
59
0.536278
79
634
4.202532
0.518987
0.045181
0.048193
0.072289
0
0
0
0
0
0
0
0.014252
0.335962
634
29
60
21.862069
0.774347
0.205047
0
0.157895
0
0
0.134809
0
0
0
0
0
0
0
null
null
0.052632
0.157895
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
1b3a078d3c031de0b5f904e504751cabdb4ea3b8
3,295
py
Python
backend/core/tests.py
fabiomsrs/vinta_teste
c05ab993ae20f4c7a8df9e1fce2ac1ba5ce1f150
[ "MIT" ]
null
null
null
backend/core/tests.py
fabiomsrs/vinta_teste
c05ab993ae20f4c7a8df9e1fce2ac1ba5ce1f150
[ "MIT" ]
3
2021-04-08T21:57:14.000Z
2021-06-10T20:30:28.000Z
backend/core/tests.py
fabiomsrs/vinta_teste
c05ab993ae20f4c7a8df9e1fce2ac1ba5ce1f150
[ "MIT" ]
null
null
null
from django.test import Client, RequestFactory, TestCase from django.contrib.sessions.middleware import SessionMiddleware from core.serializers import RepoSerializer from core.models import Repo from .views import * import datetime # Create your tests here. class RepoSerializerTestCase(TestCase): def setUp(self):...
33.622449
118
0.630046
368
3,295
5.505435
0.285326
0.043435
0.071076
0.076012
0.365252
0.350444
0.305035
0.231491
0.204837
0.204837
0
0.010417
0.242489
3,295
98
119
33.622449
0.801282
0.055539
0
0.257143
0
0
0.090763
0.012552
0
0
0
0
0.142857
1
0.171429
false
0
0.085714
0
0.285714
0.014286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b3b3a87bbd82bb7b65edd23db6d4c072bb7d617
1,910
py
Python
examples/sunflower_callback.py
neurophysik/jitcdde
44d7ed6ad187d3591407155b6eeb063f73e462cd
[ "BSD-3-Clause" ]
49
2016-10-24T10:00:33.000Z
2022-03-27T11:03:51.000Z
examples/sunflower_callback.py
neurophysik/jitcdde
44d7ed6ad187d3591407155b6eeb063f73e462cd
[ "BSD-3-Clause" ]
45
2016-11-20T22:05:07.000Z
2022-03-29T07:13:25.000Z
examples/sunflower_callback.py
neurophysik/jitcdde
44d7ed6ad187d3591407155b6eeb063f73e462cd
[ "BSD-3-Clause" ]
11
2016-11-14T07:19:16.000Z
2022-03-16T14:27:06.000Z
# In this example, we implement the sunflower equation. First, we do it regularly, then we repeat the process using callbacks. from jitcdde import jitcdde, y, t import numpy as np a = 4.8 b = 0.186 tau = 40 # Regular implementation # ---------------------- # To implement the sine function, we use SymEngine’s sine. T...
33.508772
274
0.727749
323
1,910
4.213622
0.390093
0.03086
0.022043
0.038207
0.11903
0.11903
0.11903
0.11903
0.036738
0.036738
0
0.022291
0.15445
1,910
56
275
34.107143
0.820433
0.536649
0
0.0625
0
0
0.057405
0
0
0
0
0
0.0625
1
0.03125
false
0
0.125
0
0.1875
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b3bea91a0d8eade96c2b7f6b821f5c913db2dcb
3,249
py
Python
examples/correct_nlg.py
drahnr/nlprule
ae208aa911cf46c96731ed4012aba9b03fa6242e
[ "Apache-2.0", "MIT" ]
412
2020-12-28T19:00:53.000Z
2022-03-29T18:11:15.000Z
examples/correct_nlg.py
drahnr/nlprule
ae208aa911cf46c96731ed4012aba9b03fa6242e
[ "Apache-2.0", "MIT" ]
65
2021-01-01T19:24:39.000Z
2022-02-04T11:05:42.000Z
examples/correct_nlg.py
drahnr/nlprule
ae208aa911cf46c96731ed4012aba9b03fa6242e
[ "Apache-2.0", "MIT" ]
35
2021-01-18T17:51:43.000Z
2022-02-16T04:58:31.000Z
from collections import Counter from datasets import load_dataset from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline from nlprule import Rules, Tokenizer, SplitOn from argparse import ArgumentParser # gets a window from start - offset to end + offset or until a newline character is reached def win...
30.942857
91
0.615266
389
3,249
4.958869
0.344473
0.024883
0.044064
0.015552
0.107828
0.029031
0
0
0
0
0
0.016488
0.253309
3,249
104
92
31.240385
0.778648
0.055709
0
0.038961
0
0.012987
0.09889
0
0
0
0
0
0
1
0.025974
false
0
0.064935
0
0.116883
0.103896
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b3ce1736d1cfa9705fe8c6171cbc3a878c29378
3,541
py
Python
__main__.py
TatianaPorras/MNIG_to_FMMSP
1a62884237a4133f1417982d88f8a1421a972a08
[ "MIT" ]
null
null
null
__main__.py
TatianaPorras/MNIG_to_FMMSP
1a62884237a4133f1417982d88f8a1421a972a08
[ "MIT" ]
null
null
null
__main__.py
TatianaPorras/MNIG_to_FMMSP
1a62884237a4133f1417982d88f8a1421a972a08
[ "MIT" ]
2
2021-05-24T03:25:26.000Z
2022-01-27T23:59:03.000Z
from algorithms import DNEH_SMR, destruction_reconstruction, local_search from API.functions import PT, c_range, makespan import numpy as np import random import math # Soluciones probadas: # Makespan: (36, 44, 52) # Secuencias: # [7, 8, 6, 10, 1, 9, 5, 4, 2, 3] # [7, 8, 6, 10, 5, 9, 1, 4, 2, 3] # [6, 1, 9, 7, 8, 10,...
24.253425
214
0.558882
678
3,541
2.823009
0.231563
0.015674
0.025078
0.034483
0.171891
0.134274
0.100836
0.064786
0.064786
0.064786
0
0.150223
0.238633
3,541
146
215
24.253425
0.559718
0.333522
0
0.037736
0
0
0.026701
0
0
0
0
0
0
1
0
false
0
0.113208
0
0.113208
0.037736
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b3ce8d134ce6dee1a002a8a874aee781ed519d6
12,614
py
Python
venv/lib/python3.6/site-packages/ansible_collections/community/fortios/plugins/modules/fmgr_secprof_proxy.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/community/fortios/plugins/modules/fmgr_secprof_proxy.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/community/fortios/plugins/modules/fmgr_secprof_proxy.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distribut...
37.87988
118
0.679483
1,542
12,614
5.435798
0.196498
0.041756
0.037223
0.033405
0.483894
0.42806
0.407421
0.361966
0.319852
0.286805
0
0.000706
0.213731
12,614
332
119
37.993976
0.844424
0.080545
0
0.301205
0
0.040161
0.624869
0.06078
0
0
0
0
0
1
0.008032
false
0.124498
0.040161
0
0.056225
0.004016
0
0
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
1
0
0
0
0
0
2
1b4132a4baf2057e36f2ecc28e51f495bb745ea5
904
py
Python
test.py
pibara-utopian/pycarvpath
0c6f11888e1ee945714caf9a8c0d58759790b241
[ "BSD-2-Clause" ]
null
null
null
test.py
pibara-utopian/pycarvpath
0c6f11888e1ee945714caf9a8c0d58759790b241
[ "BSD-2-Clause" ]
null
null
null
test.py
pibara-utopian/pycarvpath
0c6f11888e1ee945714caf9a8c0d58759790b241
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 from carvpath import CarvPath,SparseFragment,BaseFragment import unittest class carvpathTest(unittest.TestCase): # Positive test 1 def testsparse1(self): cp1 = CarvPath([SparseFragment(1000)]) cp2 = CarvPath([SparseFragment(234)]) cp3 = cp1 + cp2 self.asse...
31.172414
71
0.641593
102
904
5.598039
0.480392
0.049037
0.105079
0.070053
0
0
0
0
0
0
0
0.136812
0.215708
904
28
72
32.285714
0.668547
0.040929
0
0
0
0
0.084589
0
0
0
0
0
0.227273
1
0.227273
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1b42e7aeafd8cdab87dd69ce4daa80913528aad1
250
py
Python
docs/manual/gears/examples/serialize_array_active.py
bogdanvuk/pygears
a0b21d445e1d5c89ad66751447b8253536b835ee
[ "MIT" ]
120
2018-04-23T08:29:04.000Z
2022-03-30T14:41:52.000Z
docs/manual/gears/examples/serialize_array_active.py
FZP1607152286/pygears
a0b21d445e1d5c89ad66751447b8253536b835ee
[ "MIT" ]
12
2019-07-09T17:12:58.000Z
2022-03-18T09:05:10.000Z
docs/manual/gears/examples/serialize_array_active.py
FZP1607152286/pygears
a0b21d445e1d5c89ad66751447b8253536b835ee
[ "MIT" ]
12
2019-05-10T19:42:08.000Z
2022-03-28T18:26:44.000Z
from pygears.lib import check, drv, serialize from pygears.typing import Uint, Array din = drv(t=Array[Uint[8], 4], seq=[(1, 2, 3, 4), (5, 6, 7, 8)]) active = drv(t=Uint[2], seq=[2, 3]) serialize(din, active) \ | check(ref=[[1, 2], [5, 6, 7]])
27.777778
64
0.596
47
250
3.170213
0.489362
0.147651
0.040268
0
0
0
0
0
0
0
0
0.086957
0.172
250
8
65
31.25
0.63285
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1b443c2b930af2451df3f82a9a3ab6cc53195965
10,087
py
Python
Prescient.py
mpolatcan/prescient
b9fbee679e6c370d14deda5e88cd4f1cc5965d78
[ "Apache-2.0" ]
1
2018-09-08T15:07:52.000Z
2018-09-08T15:07:52.000Z
Prescient.py
mpolatcan/prescient
b9fbee679e6c370d14deda5e88cd4f1cc5965d78
[ "Apache-2.0" ]
null
null
null
Prescient.py
mpolatcan/prescient
b9fbee679e6c370d14deda5e88cd4f1cc5965d78
[ "Apache-2.0" ]
1
2018-12-10T16:51:30.000Z
2018-12-10T16:51:30.000Z
''' _______ _______ _______ _______ ________ ___ _______ __ __ ___________ / __ / / ___ \ / ____/ / _____/ / ______\ / / / ____/ / \ / / /____ _____/ / /__/ / / |__| | / /___ / /____ / / / / / /___ / \ / / / / / ______/ / __ ___/ / ____/ /___...
47.805687
166
0.603747
1,042
10,087
5.380038
0.239923
0.079201
0.071174
0.046379
0.326971
0.26436
0.2137
0.116661
0.116661
0.097752
0
0.006042
0.245167
10,087
210
167
48.033333
0.730234
0.195697
0
0.045802
0
0
0.168505
0.106802
0
0
0
0.004762
0
1
0.038168
false
0
0.099237
0
0.137405
0.007634
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b458cdaf161556fb4cbf9570138d9627368aeef
184
py
Python
HW8/SoKKoS/CW_8_1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW8/SoKKoS/CW_8_1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW8/SoKKoS/CW_8_1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
6
2022-02-22T22:30:49.000Z
2022-03-28T12:51:19.000Z
def summation(num): return int(num * (num+1) / 2) number = int(input('The number will always be a positive integer greater than 0.')) print(f'summation = {summation(number)}')
20.444444
83
0.679348
28
184
4.464286
0.75
0
0
0
0
0
0
0
0
0
0
0.019737
0.173913
184
8
84
23
0.802632
0
0
0
0
0
0.497268
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
1b4b3e39f0ad43f972262fa6b24bdff4b514234e
1,848
py
Python
python/forgetting_hash_map/forgetting_hash_map.py
cob16/forgetting_hash_map
b3bd608384d7c8c0a0a484fbb6cdedd7ccc37564
[ "MIT" ]
null
null
null
python/forgetting_hash_map/forgetting_hash_map.py
cob16/forgetting_hash_map
b3bd608384d7c8c0a0a484fbb6cdedd7ccc37564
[ "MIT" ]
1
2020-09-24T05:41:09.000Z
2020-09-28T05:47:41.000Z
python/forgetting_hash_map/forgetting_hash_map.py
cob16/forgetting_hash_map
b3bd608384d7c8c0a0a484fbb6cdedd7ccc37564
[ "MIT" ]
1
2017-03-23T15:56:34.000Z
2017-03-23T15:56:34.000Z
class ForgettingHash: """A fixed size hash that deletes the least used elements when full. max_len must be more than 0 Uses a second dict with the same keys to record usage Value is refereed to as 'content' """ def __init__(self, max_len, items=None): # type: int, list if max_len <= ...
33
113
0.604978
266
1,848
4.071429
0.364662
0.060942
0.062789
0.025854
0
0
0
0
0
0
0
0.00468
0.306277
1,848
55
114
33.6
0.840094
0.323593
0
0
0
0
0.079352
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b4b9a8046d58983325c38030899fb910322ffb2
552
py
Python
tagset/__init__.py
gxrzangdan/pyci
ece985a9d4d8c10e4aac079a2ff85bd5144523f1
[ "BSD-3-Clause" ]
null
null
null
tagset/__init__.py
gxrzangdan/pyci
ece985a9d4d8c10e4aac079a2ff85bd5144523f1
[ "BSD-3-Clause" ]
null
null
null
tagset/__init__.py
gxrzangdan/pyci
ece985a9d4d8c10e4aac079a2ff85bd5144523f1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # PyCi # # Copyright (c) 2009, The PyCi Project # Authors: Wu Ke <ngu.kho@gmail.com> # Chen Xing <cxcxcxcx@gmail.com> # URL: <http://code.google.com/p/pyci> # For license information, see COPYING """TagSet package. Contains several tag set used for tagging segmentation like CRF. """...
17.806452
64
0.653986
74
552
4.77027
0.702703
0.045326
0
0
0
0
0
0
0
0
0
0.011468
0.210145
552
30
65
18.4
0.798165
0.384058
0
0
0
0
0.152263
0
0
0
0
0
0
0
null
null
0
0.4
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
1
0
0
0
0
2
1b4d2979efd4bf450ecdffaf76ebf2999530bf76
4,281
py
Python
elasticdl/python/tests/checkpoint_test.py
chunyang-wen/elasticdl
7b16b44f5314507494a552c11caaf3b2bce6d209
[ "MIT" ]
null
null
null
elasticdl/python/tests/checkpoint_test.py
chunyang-wen/elasticdl
7b16b44f5314507494a552c11caaf3b2bce6d209
[ "MIT" ]
null
null
null
elasticdl/python/tests/checkpoint_test.py
chunyang-wen/elasticdl
7b16b44f5314507494a552c11caaf3b2bce6d209
[ "MIT" ]
null
null
null
import os import tempfile import unittest from elasticdl.proto import elasticdl_pb2 from elasticdl.python.common.model_utils import ( get_module_file_path, load_module, ) from elasticdl.python.master.checkpoint_service import CheckpointService from elasticdl.python.master.servicer import MasterServicer _model...
37.226087
79
0.6057
417
4,281
5.93765
0.218225
0.028271
0.043619
0.067851
0.511712
0.483441
0.351777
0.342084
0.342084
0.342084
0
0.014291
0.313478
4,281
114
80
37.552632
0.828173
0.022658
0
0.47
0
0
0.023918
0.016264
0
0
0
0
0.13
1
0.03
false
0
0.07
0
0.11
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b4d3c8d19bc7d13fb4f64e67ea67e871925032b
534
py
Python
web/app.py
matesmajda/smart-home
4cb23b3be1609f2d424931aa9add8466c08514cd
[ "Apache-2.0" ]
null
null
null
web/app.py
matesmajda/smart-home
4cb23b3be1609f2d424931aa9add8466c08514cd
[ "Apache-2.0" ]
null
null
null
web/app.py
matesmajda/smart-home
4cb23b3be1609f2d424931aa9add8466c08514cd
[ "Apache-2.0" ]
null
null
null
from flask import Flask from service import light_controller as light_service app = Flask('Smart Home') RESPONSE_OK = ("", 200) @app.route('/api/light/<room>/<type>/<command>', methods=['GET']) def control_light(room, type, command): light_service.control_light(room, type, command) return RESPONSE_...
25.428571
77
0.670412
75
534
4.533333
0.56
0.079412
0.114706
0.176471
0.158824
0
0
0
0
0
0
0.024554
0.161049
534
20
78
26.7
0.734375
0
0
0
0
0
0.155642
0.066148
0
0
0
0
0
1
0.153846
false
0
0.153846
0.076923
0.461538
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
1b4d531c59a83982bb5c89cb4e755707e96fcd9f
3,525
py
Python
geometry/d2/circle.py
TheBiggerFish/fishpy
632a7c603a33ad694650aa2bed058931775a4259
[ "MIT" ]
null
null
null
geometry/d2/circle.py
TheBiggerFish/fishpy
632a7c603a33ad694650aa2bed058931775a4259
[ "MIT" ]
null
null
null
geometry/d2/circle.py
TheBiggerFish/fishpy
632a7c603a33ad694650aa2bed058931775a4259
[ "MIT" ]
null
null
null
"""This module provides a class for storing and evaluating circles""" from functools import cached_property from math import pi from typing import Optional, Tuple from .point2d import Point2D from .vector2d import Vector2D class Circle: """This class stores and provides methods for evaluating circles""" de...
31.473214
94
0.604539
442
3,525
4.753394
0.255656
0.066635
0.030462
0.039981
0.187054
0.097097
0.066635
0.066635
0.066635
0.066635
0
0.021523
0.288227
3,525
111
95
31.756757
0.815863
0.207376
0
0.2
0
0.014286
0.059235
0.027594
0
0
0
0
0
1
0.142857
false
0.042857
0.071429
0.028571
0.414286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b4db3051a9f498462a0d0231b6db704dbce3464
3,742
py
Python
base/db.py
stockminer/storm
cda77e4525a39381c590a7d7e828bb3cb2b923f1
[ "Apache-2.0" ]
2
2015-09-18T04:48:20.000Z
2015-10-26T07:38:27.000Z
base/db.py
stockminer/storm
cda77e4525a39381c590a7d7e828bb3cb2b923f1
[ "Apache-2.0" ]
null
null
null
base/db.py
stockminer/storm
cda77e4525a39381c590a7d7e828bb3cb2b923f1
[ "Apache-2.0" ]
null
null
null
#!encoding=utf-8 ''' Created on 2015年10月12日 @author: Yafei ''' import MySQLdb import sys class DB(object): ''' classdocs ''' def __init__(self, conf): ''' Constructor ''' self.db_host = conf.db_host self.db_port = conf.db_port self.db_user = conf.db_us...
24.618421
121
0.62667
471
3,742
4.92569
0.339703
0.031034
0.046552
0.056897
0.318966
0.30819
0.272845
0.255172
0.255172
0.255172
0
0.017032
0.23116
3,742
152
122
24.618421
0.789364
0.004009
0
0.08
0
0
0.020408
0
0
0
0
0
0
0
null
null
0.04
0.08
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
1b4e05d442af93fd1b1c73d6a850c32f7feea2c9
565
py
Python
raspberry-pi/fabfile.py
xnnyygn/auto-camera
5f183832ce2559ed992a1c55daa5f6939b47d381
[ "MIT" ]
null
null
null
raspberry-pi/fabfile.py
xnnyygn/auto-camera
5f183832ce2559ed992a1c55daa5f6939b47d381
[ "MIT" ]
null
null
null
raspberry-pi/fabfile.py
xnnyygn/auto-camera
5f183832ce2559ed992a1c55daa5f6939b47d381
[ "MIT" ]
null
null
null
from fabric.api import run, cd from fabric.operations import put, prompt CODE_DIR = '~/camera-agent' PHOTO_DIR = '~/photos' CONFIG_PATH = '~/settings.ini' def deploy(): # TODO kill camera-agent process # delete directory 'camera-agent' run('rm -rf ' + CODE_DIR) # TODO copy raspberry-pi files to 'camera-agent'...
24.565217
61
0.647788
83
565
4.313253
0.554217
0.153631
0
0
0
0
0
0
0
0
0
0
0.180531
565
23
62
24.565217
0.773218
0.20708
0
0
0
0
0.238739
0
0
0
0
0.043478
0
1
0.2
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1b4e18ba3244b9b98d1cb28cf0261abcf12e670b
3,464
py
Python
stamps/config.py
ignacionf/stamps
2d1e37f5acb5b4be62e815e640248c8a7fe71ca6
[ "BSD-3-Clause" ]
null
null
null
stamps/config.py
ignacionf/stamps
2d1e37f5acb5b4be62e815e640248c8a7fe71ca6
[ "BSD-3-Clause" ]
null
null
null
stamps/config.py
ignacionf/stamps
2d1e37f5acb5b4be62e815e640248c8a7fe71ca6
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ stamps.config ~~~~~~~~~~~~~ Stamps.com configuration. :copyright: 2014 by Jonathan Zempel. :license: BSD, see LICENSE for more details. """ from configparser import NoOptionError, NoSectionError, SafeConfigParser from urllib.request import pathname2url from urllib.pars...
34.989899
79
0.635104
403
3,464
5.379653
0.327543
0.041974
0.051661
0.055351
0
0
0
0
0
0
0
0.009835
0.266166
3,464
98
80
35.346939
0.843037
0.422055
0
0.066667
0
0
0.083784
0.012973
0
0
0
0
0.111111
1
0.044444
false
0.066667
0.088889
0
0.177778
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1b4f6ccef0c1d6b2b1fa0a7bb0b5e40174688ca4
108
py
Python
flaim/product_search/apps.py
bfssi-forest-dussault/flaime
7c898f07e0d7c16b63a59d2c0c56290e32a2df47
[ "MIT" ]
null
null
null
flaim/product_search/apps.py
bfssi-forest-dussault/flaime
7c898f07e0d7c16b63a59d2c0c56290e32a2df47
[ "MIT" ]
11
2020-11-09T19:55:58.000Z
2022-02-13T19:43:03.000Z
flaim/product_search/apps.py
BFSSI-Bioinformatics-Lab/flaime
1feedf3974114c16724bfbd235ce4637983a3f5e
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ProductSearchConfig(AppConfig): name = 'flaim.product_search'
18
37
0.787037
12
108
7
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.138889
108
5
38
21.6
0.903226
0
0
0
0
0
0.185185
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1b519a77db4799ab628dbd803d76bfec3ce31a64
9,134
py
Python
analyze_model_results.py
awwong1/topic-traceability
60d6fd8b52855d1e5faeaec3c160f2541e3ec0ca
[ "MIT" ]
2
2019-04-28T09:13:14.000Z
2019-11-19T02:49:30.000Z
analyze_model_results.py
awwong1/topic-traceability
60d6fd8b52855d1e5faeaec3c160f2541e3ec0ca
[ "MIT" ]
1
2021-06-01T23:40:18.000Z
2021-06-01T23:40:18.000Z
analyze_model_results.py
awwong1/topic-traceability
60d6fd8b52855d1e5faeaec3c160f2541e3ec0ca
[ "MIT" ]
1
2019-04-28T09:13:25.000Z
2019-04-28T09:13:25.000Z
#!/usr/bin/env python3 """Calculate distances using the topic models on the course material/discussion posts feature vectors. """ import os import numpy as np from datetime import datetime from numpy import ravel from pickle import load from json import dump from scipy.spatial.distance import cosine, euclidean from gen...
36.979757
101
0.639041
1,127
9,134
4.843833
0.176575
0.039568
0.02015
0.02473
0.412713
0.386884
0.299139
0.254809
0.254809
0.218905
0
0.002177
0.245676
9,134
246
102
37.130081
0.790131
0.133676
0
0.146739
0
0
0.126429
0.048412
0
0
0
0
0
1
0.027174
false
0
0.048913
0
0.092391
0.027174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b55c6de90397835acdc52e5f1e0da9fa1f29285
7,555
py
Python
TCCDjango/app/views.py
hkirschke/App-Web-TCC
7cb8eecff6f5afe4c996c8a424358de099faefd0
[ "MIT" ]
null
null
null
TCCDjango/app/views.py
hkirschke/App-Web-TCC
7cb8eecff6f5afe4c996c8a424358de099faefd0
[ "MIT" ]
null
null
null
TCCDjango/app/views.py
hkirschke/App-Web-TCC
7cb8eecff6f5afe4c996c8a424358de099faefd0
[ "MIT" ]
null
null
null
""" Definition of views. """ from datetime import datetime from django.shortcuts import render from django.http import HttpRequest from .graficoLinhaTempo import GraficoLT as graphLT from .graficoBarra import GraficoBarra as graphBar from .graficoScatter import GraficoScatter as grapScatter import plotly as pl def ...
26.232639
73
0.611383
688
7,555
6.710756
0.122093
0.072775
0.104613
0.154646
0.670782
0.670782
0.659519
0.455924
0.455924
0.421702
0
0.001438
0.263799
7,555
288
74
26.232639
0.828659
0.01231
0
0.552529
0
0
0.13629
0
0
0
0
0
0.081712
1
0.081712
false
0
0.027237
0
0.190661
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b57f40012ee74179621d2d5c1a27c6037745bba
862
py
Python
setup.py
yacchin1205/Jupyter-LC_nblineage
1b105540c5ff2b0dfd749fb73f2f6c896d6c422e
[ "BSD-3-Clause" ]
3
2017-06-11T11:07:08.000Z
2019-03-25T03:21:56.000Z
setup.py
yacchin1205/Jupyter-LC_nblineage
1b105540c5ff2b0dfd749fb73f2f6c896d6c422e
[ "BSD-3-Clause" ]
11
2017-05-27T09:51:51.000Z
2020-07-20T04:41:49.000Z
setup.py
yacchin1205/Jupyter-LC_nblineage
1b105540c5ff2b0dfd749fb73f2f6c896d6c422e
[ "BSD-3-Clause" ]
3
2017-05-27T07:00:18.000Z
2019-12-22T14:57:20.000Z
#!/usr/bin/env python from setuptools import setup import os import sys HERE = os.path.abspath(os.path.dirname(__file__)) VERSION_NS = {} with open(os.path.join(HERE, 'nblineage', '_version.py')) as f: exec(f.read(), {}, VERSION_NS) setup_args = dict (name='lc-nblineage', version=VERSION_NS['__version__'],...
26.121212
63
0.62645
98
862
5.204082
0.612245
0.035294
0.039216
0
0
0
0
0
0
0
0
0.00744
0.220418
862
32
64
26.9375
0.751488
0.023202
0
0
0
0
0.281807
0.032105
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b5832d9eb1333c10d47499797f086c5fa200f38
1,868
py
Python
projects/vdk-control-cli/tests/vdk/internal/control/utils/cli_utils_test.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
100
2021-10-04T09:32:04.000Z
2022-03-30T11:23:53.000Z
projects/vdk-control-cli/tests/vdk/internal/control/utils/cli_utils_test.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
208
2021-10-04T16:56:40.000Z
2022-03-31T10:41:44.000Z
projects/vdk-control-cli/tests/vdk/internal/control/utils/cli_utils_test.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
14
2021-10-11T14:15:13.000Z
2022-03-11T13:39:17.000Z
# Copyright 2021 VMware, Inc. # SPDX-License-Identifier: Apache-2.0 from vdk.internal.control.utils.cli_utils import GqlQueryBuilder from vdk.internal.control.utils.cli_utils import QueryField def test_query_builder_simple(): jobs_builder = GqlQueryBuilder() jobs_builder.start().add_return_new("jobs").add_ret...
35.923077
88
0.667024
212
1,868
5.627358
0.235849
0.07544
0.100587
0.070411
0.576697
0.487008
0.487008
0.430847
0.295054
0.295054
0
0.011928
0.192184
1,868
51
89
36.627451
0.778661
0.033726
0
0.317073
0
0
0.27303
0
0
0
0
0
0.073171
1
0.073171
false
0
0.04878
0
0.121951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b5897b0cc420dcb769d89ae266c357d767d113c
955
py
Python
src/routers/homeworks.py
er5bus/apollo-back
0a50a07917d08b176ee94c33419f10cb2a7d6fb0
[ "MIT" ]
null
null
null
src/routers/homeworks.py
er5bus/apollo-back
0a50a07917d08b176ee94c33419f10cb2a7d6fb0
[ "MIT" ]
null
null
null
src/routers/homeworks.py
er5bus/apollo-back
0a50a07917d08b176ee94c33419f10cb2a7d6fb0
[ "MIT" ]
null
null
null
from fastapi import APIRouter, Depends from typing import List from src.utils.crud_router import include_generic_collection_document_router from src.dependencies import current_active_user from src.services.homeworks import HomeworkService, HomeworkCompletedService dependencies: List[Depends] = [Depends(current_activ...
43.409091
97
0.810471
94
955
7.925532
0.319149
0.075168
0.096644
0.128859
0.351678
0.300671
0.177181
0.177181
0
0
0
0
0.122513
955
21
98
45.47619
0.889021
0
0
0
0
0
0.066038
0.025157
0
0
0
0
0
1
0
true
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
1b5bb0fda021f40d200c9ae75d3e1552f6c0651f
1,357
py
Python
accounts/migrations/0004_auto_20210121_2059.py
itsmegarvi/Inscribe
8f0dcec4aced953bfc0e222dbe4fa1c88a9e60f1
[ "Apache-2.0" ]
1
2021-02-17T16:00:32.000Z
2021-02-17T16:00:32.000Z
accounts/migrations/0004_auto_20210121_2059.py
itsmegarvi/Inscribe
8f0dcec4aced953bfc0e222dbe4fa1c88a9e60f1
[ "Apache-2.0" ]
1
2021-02-15T09:46:11.000Z
2021-02-15T09:46:11.000Z
accounts/migrations/0004_auto_20210121_2059.py
itsmegarvi/Inscribe
8f0dcec4aced953bfc0e222dbe4fa1c88a9e60f1
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-21 15:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20210121_2039'), ] operations = [ migrations.CreateM...
38.771429
198
0.632277
142
1,357
5.894366
0.514085
0.038232
0.050179
0.078853
0.258065
0.203106
0.203106
0.203106
0.114695
0
0
0.030214
0.24392
1,357
34
199
39.911765
0.785575
0.033161
0
0.107143
1
0
0.178626
0.017557
0
0
0
0
0
1
0
false
0
0.107143
0
0.214286
0
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
1b5eace6e429e47060d59111f3679d7cdade0999
573
py
Python
exps/grid.py
jeromedockes/cogspaces
43ec3bc8daaa6b5d825527c0665bd12cb5e46618
[ "BSD-2-Clause" ]
null
null
null
exps/grid.py
jeromedockes/cogspaces
43ec3bc8daaa6b5d825527c0665bd12cb5e46618
[ "BSD-2-Clause" ]
null
null
null
exps/grid.py
jeromedockes/cogspaces
43ec3bc8daaa6b5d825527c0665bd12cb5e46618
[ "BSD-2-Clause" ]
null
null
null
from joblib import Parallel, delayed from sklearn.utils import check_random_state from exps.train import run seeds = check_random_state(42).randint(0, 100000, size=20).tolist() # Takes 15 minutes on a 40 CPU computer Parallel(n_jobs=40, verbose=10)(delayed(run)(estimator, seed) for es...
35.8125
78
0.671902
85
573
4.447059
0.6
0.058201
0.084656
0.042328
0.084656
0
0
0
0
0
0
0.059497
0.237347
573
15
79
38.2
0.805492
0.198953
0
0
0
0
0.059211
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1b5f0887853abb3afaca7a9088409bbdada5a133
742
py
Python
src/scripts/copy_bug_classes.py
ucd-plse/eesi
aacbcecbb8c1f1d2e152ee4a0aa417ac92ae74bb
[ "BSD-3-Clause" ]
5
2019-07-01T09:05:32.000Z
2019-09-03T17:36:26.000Z
src/scripts/copy_bug_classes.py
defreez-ucd/eesi-doi
49b51f9a01b8c1dbbe110898c27ec714034132aa
[ "CC-BY-4.0" ]
3
2019-08-01T03:14:48.000Z
2019-09-03T20:40:52.000Z
src/scripts/copy_bug_classes.py
defreez-ucd/eesi-doi
49b51f9a01b8c1dbbe110898c27ec714034132aa
[ "CC-BY-4.0" ]
2
2019-06-10T23:08:27.000Z
2020-09-29T01:20:49.000Z
import argparse parser = argparse.ArgumentParser() parser.add_argument('fromcsv', help="Path to classified bug csv") parser.add_argument('tocsv', help="Path to new csv") args = parser.parse_args() fromcsv = open(args.fromcsv) tocsv = open(args.tocsv) from_lines = [x.strip() for x in fromcsv.readlines()] to_lines = [...
27.481481
66
0.650943
108
742
4.324074
0.37037
0.117773
0.077088
0.059957
0.171306
0.171306
0
0
0
0
0
0.006536
0.175202
742
26
67
28.538462
0.756536
0
0
0.095238
0
0
0.086253
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b5f7954aad61486e350eecf97b6bdff9243ba31
3,053
py
Python
src/dcm/agent/plugins/builtin/add_user.py
JPWKU/unix-agent
8f1278fc8c2768a8d4d54af642a881bace43652f
[ "Apache-2.0" ]
null
null
null
src/dcm/agent/plugins/builtin/add_user.py
JPWKU/unix-agent
8f1278fc8c2768a8d4d54af642a881bace43652f
[ "Apache-2.0" ]
22
2015-09-15T20:52:34.000Z
2016-03-11T22:44:24.000Z
src/dcm/agent/plugins/builtin/add_user.py
JPWKU/unix-agent
8f1278fc8c2768a8d4d54af642a881bace43652f
[ "Apache-2.0" ]
3
2015-09-11T20:21:33.000Z
2016-09-30T08:30:19.000Z
# # Copyright (C) 2014 Dell, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
38.64557
76
0.613167
393
3,053
4.597964
0.394402
0.0487
0.046486
0.030991
0.199225
0.130603
0.130603
0.064195
0.064195
0.064195
0
0.003704
0.292499
3,053
78
77
39.141026
0.83287
0.180478
0
0.081633
0
0
0.125553
0
0
0
0
0
0
1
0.061224
false
0
0.081633
0.020408
0.22449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b5fd3a5f2909fd769f16c7c3cdc54935db82b2c
1,980
py
Python
src/gui/dev/pkg1/faceDetectionImageTest2.py
chaitanyasanoriya/Unified-Machine-Learning-Tool
d88b60ee11a9a0bd203fa52d344263d64cfeaff4
[ "Apache-2.0" ]
null
null
null
src/gui/dev/pkg1/faceDetectionImageTest2.py
chaitanyasanoriya/Unified-Machine-Learning-Tool
d88b60ee11a9a0bd203fa52d344263d64cfeaff4
[ "Apache-2.0" ]
null
null
null
src/gui/dev/pkg1/faceDetectionImageTest2.py
chaitanyasanoriya/Unified-Machine-Learning-Tool
d88b60ee11a9a0bd203fa52d344263d64cfeaff4
[ "Apache-2.0" ]
null
null
null
import cv2 import os import sys import shutil import subprocess face_cascade = cv2.CascadeClassifier('Face_cascade.xml') original_path = sys.argv #original_path = "D:\College Stuff\Machine Learning\Tests\Minor Project\Test 1 - without ED\data\Anne" #new_path = original_path + "1" #os.rename(original_path,new_path) i=0 ...
34.137931
137
0.621717
312
1,980
3.733974
0.301282
0.06867
0.038627
0.034335
0.260086
0.16309
0.16309
0.16309
0.16309
0.16309
0
0.044371
0.237374
1,980
58
137
34.137931
0.727152
0.263636
0
0.090909
0
0
0.019337
0
0
0
0
0
0
1
0
false
0
0.113636
0
0.113636
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b6165f24d43dbdd11df9d5296ecf6c542bdc293
3,763
py
Python
hangman.py
Telluu/hangman-game
994e930244c90cf18c0f0eba4afafb0af21081a1
[ "MIT" ]
null
null
null
hangman.py
Telluu/hangman-game
994e930244c90cf18c0f0eba4afafb0af21081a1
[ "MIT" ]
null
null
null
hangman.py
Telluu/hangman-game
994e930244c90cf18c0f0eba4afafb0af21081a1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import string import random import os import sys import time import json def main(): lives = 8 guessed = set() # Opening words database try: words = open('words.json') except IOError: print('Can\'t locate words.json in local directory.') time.sleep...
30.346774
78
0.495615
414
3,763
4.434783
0.342995
0.038126
0.017974
0.018519
0.115468
0.115468
0.075163
0.075163
0.075163
0.075163
0
0.007243
0.376296
3,763
123
79
30.593496
0.775032
0.130481
0
0.309524
0
0
0.164005
0.041462
0
0
0
0
0
1
0.02381
false
0
0.071429
0
0.095238
0.238095
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b61c820e0f0f7acfbc1fcc581af507b2141814b
421
py
Python
reverse.py
Estheryu991/CodinGamez
e653a891792278d7d6961194aa831cf447d3aba7
[ "MIT" ]
null
null
null
reverse.py
Estheryu991/CodinGamez
e653a891792278d7d6961194aa831cf447d3aba7
[ "MIT" ]
null
null
null
reverse.py
Estheryu991/CodinGamez
e653a891792278d7d6961194aa831cf447d3aba7
[ "MIT" ]
null
null
null
# The game mode is REVERSE: You do not have access to the statement. You have to guess what to do by observing the following set of tests: # 01 Test 1 # Input # Expected output # +-+--+-+++--+ # 1 # 02 Test 2 # Input # Expected output # +++++++--- # 4 # 03 Test 3 # Input # Expected output # -+-+-+-+-+-+ # 0 # 04 Test 4...
16.84
138
0.567696
62
421
3.854839
0.596774
0.217573
0.317992
0
0
0
0
0
0
0
0
0.050595
0.2019
421
24
139
17.541667
0.660714
0.788599
0
0
0
0
0.029851
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1b65190211132ca843abf01b535bda46f144ac3f
6,593
py
Python
libraries/mosek/9.3/tools/examples/python/concurrent1.py
TimDSF/SBSOS_ShapeSegmentation
e30495dcf71dc63d1d54f3b73132fcfa75d7647e
[ "MIT" ]
null
null
null
libraries/mosek/9.3/tools/examples/python/concurrent1.py
TimDSF/SBSOS_ShapeSegmentation
e30495dcf71dc63d1d54f3b73132fcfa75d7647e
[ "MIT" ]
null
null
null
libraries/mosek/9.3/tools/examples/python/concurrent1.py
TimDSF/SBSOS_ShapeSegmentation
e30495dcf71dc63d1d54f3b73132fcfa75d7647e
[ "MIT" ]
null
null
null
# # Copyright: Copyright (c) MOSEK ApS, Denmark. All rights reserved. # # File: concurrent1.py # # Purpose: Demonstrates a simple implementation of a concurrent optimizer. # # The concurrent optimizer starts a few parallel optimizations # of the same problem using different algori...
32.160976
94
0.66965
924
6,593
4.754329
0.288961
0.012292
0.014569
0.015024
0.297291
0.252675
0.208514
0.190303
0.140223
0.112907
0
0.011422
0.229789
6,593
205
95
32.160976
0.853683
0.440012
0
0.193878
0
0
0.04124
0
0
0
0
0
0
1
0.071429
false
0
0.020408
0.010204
0.153061
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b65f8081e606fde6bf7b481f98d9364e284f66a
243
py
Python
lino_xl/lib/statbel/countries/fixtures/__init__.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
1
2018-01-12T14:09:48.000Z
2018-01-12T14:09:48.000Z
lino_xl/lib/statbel/countries/fixtures/__init__.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
1
2019-09-10T05:03:47.000Z
2019-09-10T05:03:47.000Z
lino_xl/lib/statbel/countries/fixtures/__init__.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
null
null
null
"""The fixtures for `lino_xl.lib.statbel.countries`. These are just wrappers to those in :mod:`lino_xl.lib.countries.fixtures`. .. autosummary:: :toctree: all_countries be demo eesti few_cities few_countries """
15.1875
74
0.674897
32
243
4.96875
0.75
0.075472
0.113208
0
0
0
0
0
0
0
0
0
0.218107
243
15
75
16.2
0.836842
0.962963
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1b667310870a44c3110e0f14c6b16c80d33dbbc0
640
py
Python
routeutils/Utils/utils.py
techlabklabin/route-utils
4c34eb955e8a06b6fe4177803e8ea87ea76e6318
[ "MIT" ]
null
null
null
routeutils/Utils/utils.py
techlabklabin/route-utils
4c34eb955e8a06b6fe4177803e8ea87ea76e6318
[ "MIT" ]
null
null
null
routeutils/Utils/utils.py
techlabklabin/route-utils
4c34eb955e8a06b6fe4177803e8ea87ea76e6318
[ "MIT" ]
null
null
null
import geopy.distance from math import degrees import numpy as np def makeNewPoint(geoJsonPoint): return (geoJsonPoint[1], geoJsonPoint[0]) def makeVector(pointA, pointB): return [pointB[0] - pointA[0], pointB[1] - pointA[1]] def distanceMeteres(point1, point2): return geopy.distance.geodesic(point1, poi...
29.090909
60
0.734375
84
640
5.47619
0.440476
0.086957
0.047826
0
0
0
0
0
0
0
0
0.044693
0.160938
640
21
61
30.47619
0.811918
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1875
0.1875
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1b68acd893556c56e8228f18fad448a6adc7cbed
2,886
py
Python
build/util/lastchange.py
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
build/util/lastchange.py
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
build/util/lastchange.py
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ lastchange.py -- Chromium revision fetching utility. """ import optparse import os import re import subprocess import sys de...
23.274194
73
0.626126
396
2,886
4.457071
0.356061
0.023796
0.01813
0.016997
0.236827
0.230028
0.230028
0.205099
0.205099
0.205099
0
0.007852
0.249827
2,886
123
74
23.463415
0.80739
0.10395
0
0.223684
0
0
0.093838
0.013539
0
0
0
0
0
0
null
null
0.013158
0.065789
null
null
0.013158
0
0
0
null
0
0
0
0
0
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
1b68b03021b7cfc25678f107534b55b999e11055
657
py
Python
ansible_self_service/l3_services/app.py
ansible-self-service/ansible-self-service
80840f02b68c6ba5fe6c55ab9a317b310c185b4d
[ "MIT" ]
null
null
null
ansible_self_service/l3_services/app.py
ansible-self-service/ansible-self-service
80840f02b68c6ba5fe6c55ab9a317b310c185b4d
[ "MIT" ]
null
null
null
ansible_self_service/l3_services/app.py
ansible-self-service/ansible-self-service
80840f02b68c6ba5fe6c55ab9a317b310c185b4d
[ "MIT" ]
null
null
null
from typing import List from ansible_self_service.l3_services.dto import AppCollection, App from ansible_self_service.l4_core.models import AppCatalog class AppService: """Provide an interface to app related features.""" def __init__(self, app_catalog: AppCatalog): self._app_catalog = app_catalog ...
38.647059
110
0.765601
90
657
5.255556
0.433333
0.059197
0.088795
0.093023
0
0
0
0
0
0
0
0.003604
0.155251
657
16
111
41.0625
0.848649
0.129376
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
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
1
0
1
0
0
3
1b6944b1fc84ae87425e1a8c5cd765d370388f83
9,111
py
Python
InjectionTools.py
yuliang419/TransitInject
4eab006e70cbbfcb6202f5534f1b2c29ec142434
[ "MIT" ]
1
2020-10-20T03:29:14.000Z
2020-10-20T03:29:14.000Z
InjectionTools.py
yuliang419/TransitInject
4eab006e70cbbfcb6202f5534f1b2c29ec142434
[ "MIT" ]
null
null
null
InjectionTools.py
yuliang419/TransitInject
4eab006e70cbbfcb6202f5534f1b2c29ec142434
[ "MIT" ]
null
null
null
import numpy as np import urllib from lxml import etree import batman import ldtk from scipy.interpolate import interp1d # from joblib import Parallel, delayed import random import matplotlib.pyplot as plt from scipy.spatial.qhull import QhullError import multiprocessing import logging import sys def planet_gen_wrapp...
35.313953
120
0.555921
1,224
9,111
4.060458
0.276961
0.018109
0.007243
0.01006
0.167807
0.130382
0.117505
0.077666
0.050704
0.050704
0
0.04164
0.306772
9,111
257
121
35.451362
0.74525
0.086708
0
0.196891
0
0
0.112831
0.012633
0
0
0
0
0
0
null
null
0
0.062176
null
null
0.015544
0
0
0
null
0
0
0
0
0
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
1b694d29d5beb77bb842578947bb57ed09e40e87
3,015
py
Python
polls/core/tests.py
K0Te/django-polls
f9743eb6fbd26c2cea860ee3b175f63c5f090076
[ "MIT" ]
null
null
null
polls/core/tests.py
K0Te/django-polls
f9743eb6fbd26c2cea860ee3b175f63c5f090076
[ "MIT" ]
null
null
null
polls/core/tests.py
K0Te/django-polls
f9743eb6fbd26c2cea860ee3b175f63c5f090076
[ "MIT" ]
null
null
null
from datetime import date from django.shortcuts import resolve_url as r from django.test import TestCase from django.utils import timezone from .models import Choice, Question class IndexTest(TestCase): def setUp(self): Question.objects.create(text='What is your favorite color?') Question.object...
29.558824
89
0.600332
376
3,015
4.74734
0.239362
0.05098
0.066667
0.084034
0.545098
0.459384
0.340616
0.280112
0.280112
0.19944
0
0.009765
0.252736
3,015
101
90
29.851485
0.782512
0
0
0.356164
0
0
0.163516
0
0
0
0
0
0.178082
1
0.232877
false
0
0.068493
0
0.356164
0
0
0
0
null
0
0
0
0
0
0
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
1b69e845f97b7f14408d34a9867f0bf7022045e4
748
py
Python
tests/mdp/test_mdp.py
DavidSlayback/rl-parsers
df33cd1814aaeac05b057330ccf742b3310f36df
[ "MIT" ]
null
null
null
tests/mdp/test_mdp.py
DavidSlayback/rl-parsers
df33cd1814aaeac05b057330ccf742b3310f36df
[ "MIT" ]
null
null
null
tests/mdp/test_mdp.py
DavidSlayback/rl-parsers
df33cd1814aaeac05b057330ccf742b3310f36df
[ "MIT" ]
2
2020-09-27T15:02:32.000Z
2021-08-24T22:43:21.000Z
import unittest import numpy as np from rl_parsers import MDP_Parser class MDP_Test(unittest.TestCase): def test_gridworld(self): parser = MDP_Parser(optimize=False) mdp = parser.parse_file('tests/mdp/gridworld.mdp') self.assertEqual(mdp.discount, 0.95) self.assertListEqual(mdp...
27.703704
77
0.648396
100
748
4.78
0.53
0.056485
0.09205
0.041841
0
0
0
0
0
0
0
0.036667
0.197861
748
26
78
28.769231
0.76
0
0
0
0
0
0.054813
0.030749
0
0
0
0
0.5625
1
0.0625
false
0
0.1875
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1b6c2f674f5f13eb386f7e948241adeb8392fa33
1,235
py
Python
setup.py
jeffmahler/visualization
9844dd0e58b4635967cad332268bdc9aec93bc25
[ "Apache-2.0" ]
8
2017-12-21T02:25:00.000Z
2020-10-27T19:45:07.000Z
setup.py
jeffmahler/visualization
9844dd0e58b4635967cad332268bdc9aec93bc25
[ "Apache-2.0" ]
11
2017-11-10T03:01:55.000Z
2022-01-10T22:37:25.000Z
setup.py
jeffmahler/visualization
9844dd0e58b4635967cad332268bdc9aec93bc25
[ "Apache-2.0" ]
18
2017-10-04T23:35:12.000Z
2021-08-27T23:34:33.000Z
""" Visualization setup file. """ from setuptools import setup requirements = ["imageio", "numpy", "matplotlib", "trimesh[easy]", "autolab_core", "pyrender"] exec(open("visualization/version.py").read()) setup( name="visualization", version=__version__, description="Visualization toolkit for the Berkele...
34.305556
94
0.666397
120
1,235
6.766667
0.641667
0.116995
0.153941
0.128079
0.128079
0.128079
0.128079
0
0
0
0
0.00999
0.189474
1,235
35
95
35.285714
0.801199
0.020243
0
0
0
0
0.588186
0.075707
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b6c315db32834647331ebec872b7a205cd925ba
18,024
py
Python
model_optimizer_pkg/model_optimizer_pkg/model_optimizer_node.py
jsspric/aws-deepracer-model-optimizer-pkg
5593c02dfa311b4178a77eeebf78fb224616fc5e
[ "Apache-2.0" ]
4
2021-04-28T07:53:17.000Z
2021-10-30T02:41:54.000Z
deepracer_follow_the_leader_ws/install/model_optimizer_pkg/lib/python3.8/site-packages/model_optimizer_pkg/model_optimizer_node.py
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
null
null
null
deepracer_follow_the_leader_ws/install/model_optimizer_pkg/lib/python3.8/site-packages/model_optimizer_pkg/model_optimizer_node.py
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
3
2021-04-30T06:30:28.000Z
2021-10-30T02:41:38.000Z
#!/usr/bin/env python ################################################################################# # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # # # Licensed under the Apache License, Version 2.0 ...
51.05949
114
0.568409
1,910
18,024
5.186387
0.205236
0.050878
0.031799
0.038159
0.39572
0.351504
0.262366
0.257016
0.240662
0.240662
0
0.002704
0.364015
18,024
352
115
51.204545
0.861467
0.417887
0
0.144509
0
0
0.087778
0.042229
0
0
0
0
0
1
0.046243
false
0
0.057803
0
0.144509
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b6c55c884ad7f589153505ac695e852bd17eaad
1,208
py
Python
py-server/server.py
aidevnet/ztp
147a1cdd548650e26e266c2a5a9f72bbe62bc607
[ "BSD-2-Clause" ]
null
null
null
py-server/server.py
aidevnet/ztp
147a1cdd548650e26e266c2a5a9f72bbe62bc607
[ "BSD-2-Clause" ]
null
null
null
py-server/server.py
aidevnet/ztp
147a1cdd548650e26e266c2a5a9f72bbe62bc607
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function import csv from flask import Flask from flask import request, jsonify, make_response app = Flask(__name__) FILE ="serial-ip.csv" @app.route('/device', methods=["GET"]) def get_all(): #print (request.args) #print("Method {}".format(request.method)) ...
24.16
95
0.550497
143
1,208
4.517483
0.503497
0.060372
0.04644
0
0
0
0
0
0
0
0
0.020606
0.317053
1,208
49
96
24.653061
0.762424
0.07947
0
0.121212
0
0
0.131769
0
0
0
0
0
0
1
0.030303
false
0.060606
0.121212
0
0.242424
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
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
1b6d09dfc4f1b4dc68d58889456369a59b9e4ee0
92
py
Python
parameters_8000.py
rchen33/Web2py_memo
71387aaef5b2220e4442514944a39266e44a8871
[ "BSD-3-Clause" ]
null
null
null
parameters_8000.py
rchen33/Web2py_memo
71387aaef5b2220e4442514944a39266e44a8871
[ "BSD-3-Clause" ]
null
null
null
parameters_8000.py
rchen33/Web2py_memo
71387aaef5b2220e4442514944a39266e44a8871
[ "BSD-3-Clause" ]
null
null
null
password="pbkdf2(1000,20,sha512)$b38a05727410f589$82dc4c62c2132fdc53b2e69c6a362f5369ad31dd"
46
91
0.891304
7
92
11.714286
1
0
0
0
0
0
0
0
0
0
0
0.516484
0.01087
92
1
92
92
0.384615
0
0
0
0
0
0.869565
0.869565
0
0
0
0
0
1
0
false
1
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
1b6fa0d06ddf808de323e30136b2cb3ba0e36dbf
1,217
py
Python
filter_plugins/in_loop_list.py
jtyr/ansible-lvm_disk_extend
f7aca8c2cb752f233216666c7a820e8d6a9ffa1e
[ "MIT" ]
7
2016-08-31T13:00:29.000Z
2021-10-01T08:46:25.000Z
filter_plugins/in_loop_list.py
jtyr/ansible-lvm_disk_extend
f7aca8c2cb752f233216666c7a820e8d6a9ffa1e
[ "MIT" ]
null
null
null
filter_plugins/in_loop_list.py
jtyr/ansible-lvm_disk_extend
f7aca8c2cb752f233216666c7a820e8d6a9ffa1e
[ "MIT" ]
8
2017-01-31T19:08:27.000Z
2021-11-05T05:42:17.000Z
from ansible.module_utils.six import string_types def in_loop_list( val, loop_var, path=[], module='stat', param='exists', param_val=True): """Verifies if any of the loop results have the desired value""" ret = False for result in loop_var['results']: item = result['item'] for f...
25.893617
79
0.457683
120
1,217
4.533333
0.425
0.044118
0.055147
0
0
0
0
0
0
0
0
0.001529
0.462613
1,217
46
80
26.456522
0.830275
0.078883
0
0.121212
0
0
0.02973
0
0
0
0
0
0
1
0.060606
false
0
0.030303
0.030303
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b71400982dc54036bfed93c9d3caf4be2635a78
2,883
py
Python
.tools/parser.py
Balnian/vcpkg-explorer
b67adfabd39dcf63e8f8e59f8a70ba162d6b9699
[ "MIT" ]
null
null
null
.tools/parser.py
Balnian/vcpkg-explorer
b67adfabd39dcf63e8f8e59f8a70ba162d6b9699
[ "MIT" ]
null
null
null
.tools/parser.py
Balnian/vcpkg-explorer
b67adfabd39dcf63e8f8e59f8a70ba162d6b9699
[ "MIT" ]
null
null
null
import argparse, os, json, io def dir_path(string): if os.path.isdir(string): return string else: raise NotADirectoryError(string) def dir_path(string): if os.path.isdir(string): return string else: raise NotADirectoryError(string) # Parse CONTROL File def simpleInse...
27.990291
109
0.645855
373
2,883
4.97319
0.310992
0.033962
0.016173
0.021024
0.202695
0.186523
0.113208
0.086253
0.086253
0.086253
0
0.00695
0.201526
2,883
103
110
27.990291
0.798871
0.136316
0
0.179104
0
0
0.100969
0
0
0
0
0
0
1
0.134328
false
0
0.014925
0
0.19403
0.029851
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b71f876de9ee2d94ff532262f4887f78fd8c289
300
py
Python
wdict/__init__.py
shinaji/wdict
dc3c6cb354342e21bfa2ff875c1a34cc1900593b
[ "MIT" ]
null
null
null
wdict/__init__.py
shinaji/wdict
dc3c6cb354342e21bfa2ff875c1a34cc1900593b
[ "MIT" ]
null
null
null
wdict/__init__.py
shinaji/wdict
dc3c6cb354342e21bfa2ff875c1a34cc1900593b
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- """ __init__ Copyright (c) 2018 Tetsuya Shinaji This software is released under the MIT License. http://opensource.org/licenses/mit-license.php Date: 2018/03/01 """ from __future__ import absolute_import from .core import Dict __version__ = "0.3.1"
17.647059
52
0.676667
41
300
4.634146
0.853659
0.105263
0
0
0
0
0
0
0
0
0
0.067227
0.206667
300
16
53
18.75
0.731092
0.603333
0
0
0
0
0.05814
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1b740de940b94786b8dade107ab2abfb4ca34794
859
py
Python
calendars/urls/calendar.py
mouradmourafiq/django-calendar
5cec7f8ac49637a02e331064d470255d1cbaf096
[ "BSD-2-Clause" ]
7
2015-02-23T11:59:02.000Z
2021-03-01T18:09:35.000Z
calendars/urls/calendar.py
mouradmourafiq/django-calendar
5cec7f8ac49637a02e331064d470255d1cbaf096
[ "BSD-2-Clause" ]
null
null
null
calendars/urls/calendar.py
mouradmourafiq/django-calendar
5cec7f8ac49637a02e331064d470255d1cbaf096
[ "BSD-2-Clause" ]
1
2016-09-15T11:37:08.000Z
2016-09-15T11:37:08.000Z
# -*- coding: utf-8 -*- ''' Created on Mar 20, 2011 @author: Mourad Mourafiq @copyright: Copyright © 2011 other contributers: ''' from django.conf.urls import patterns, include, url from calendars.views import calendar_tables as calendar_tables from calendars.views import events as events urlpatterns = patterns(''...
40.904762
163
0.706636
117
859
4.991453
0.435897
0.143836
0.061644
0.082192
0
0
0
0
0
0
0
0.014417
0.111758
859
21
164
40.904762
0.749672
0.14319
0
0
0
0.1
0.33882
0.192044
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b751be946e14f92ef6596264ea0fe477e367ac0
3,724
py
Python
sdk/identity/azure-identity/tests/test_chained_token_credential_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
2,728
2015-01-09T10:19:32.000Z
2022-03-31T14:50:33.000Z
sdk/identity/azure-identity/tests/test_chained_token_credential_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
17,773
2015-01-05T15:57:17.000Z
2022-03-31T23:50:25.000Z
sdk/identity/azure-identity/tests/test_chained_token_credential_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
1,916
2015-01-19T05:05:41.000Z
2022-03-31T19:36:44.000Z
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from azure.core.credentials import AccessToken from azure.core.exceptions import ClientAuthenticationError from azure.identity import CredentialUnavailableError, ClientS...
34.165138
112
0.741407
431
3,724
6.180974
0.220418
0.051051
0.036036
0.04955
0.556306
0.438063
0.416291
0.368994
0.31494
0.272523
0
0.003812
0.154672
3,724
108
113
34.481481
0.84244
0.038131
0
0.337838
0
0
0.040934
0.006342
0
0
0
0
0.148649
1
0
false
0.013514
0.094595
0
0.094595
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b752507440aeed9f54d65f404fbb19a93263529
2,538
py
Python
needy/generators/xcconfig.py
carlbrown/needy
5a70726c9846f86a88be896ec39740296d503835
[ "MIT" ]
65
2015-07-21T01:40:17.000Z
2019-06-10T10:46:28.000Z
needy/generators/xcconfig.py
bittorrent/needy
31e57ad09d5fc22126e10b735c586262a50139d7
[ "MIT" ]
110
2015-07-21T01:41:40.000Z
2017-01-18T23:13:30.000Z
needy/generators/xcconfig.py
bittorrent/needy
31e57ad09d5fc22126e10b735c586262a50139d7
[ "MIT" ]
4
2015-07-20T02:45:43.000Z
2016-07-31T21:48:39.000Z
from ..generator import Generator from ..platforms import available_platforms from ..target import Target import os class XCConfigGenerator(Generator): @staticmethod def identifier(): return 'xcconfig' def __xcconfig(self, needy, target, sdk, arch): header_search_paths = [] libr...
47.886792
128
0.64342
277
2,538
5.66065
0.223827
0.091199
0.114796
0.143495
0.502551
0.485969
0.445153
0.409439
0.25
0.204082
0
0.025403
0.193459
2,538
52
129
48.807692
0.740596
0
0
0
0
0
0.234043
0.092987
0
0
0
0
0
1
0.076923
false
0
0.102564
0.025641
0.25641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b76adaddb30b4707fdd00416547e9d932d96277
864
py
Python
recipes/Python/496885_String_InterpolatiEvaluatiEmbedded/recipe-496885.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/496885_String_InterpolatiEvaluatiEmbedded/recipe-496885.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/496885_String_InterpolatiEvaluatiEmbedded/recipe-496885.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
class InterpolationEvaluationException(KeyError): pass class expression_dictionary(dict): def __getitem__(self, key): try: return dict.__getitem__(self, key) except KeyError: try: return eval(key,self) except Exception, e: rai...
32
82
0.611111
114
864
4.517544
0.491228
0.116505
0.054369
0
0
0
0
0
0
0
0
0.047184
0.239583
864
26
83
33.230769
0.736682
0.189815
0
0.111111
0
0.055556
0.143678
0
0
0
0
0
0
0
null
null
0.055556
0
null
null
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
1
0
0
1
0
0
0
0
0
2
1b770811d02f4fdde6f9b0fafb36764cd7c74385
6,166
py
Python
NLPEngine/app.py
hmi-digital/bot_platform
91a26e566b07fa309774d0333a6bccf3d64cccc5
[ "MIT" ]
null
null
null
NLPEngine/app.py
hmi-digital/bot_platform
91a26e566b07fa309774d0333a6bccf3d64cccc5
[ "MIT" ]
null
null
null
NLPEngine/app.py
hmi-digital/bot_platform
91a26e566b07fa309774d0333a6bccf3d64cccc5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json import os import re import sys, getopt import threading from warnings import simplefilter import flask from flask import request, abort, make_response, jsonify from utils import nlp_config from utils import log_util from core import train_model, predict_model from pubsub import cons...
33.879121
114
0.641421
789
6,166
4.852978
0.243346
0.028206
0.028728
0.054845
0.426482
0.374771
0.30034
0.276051
0.244189
0.244189
0
0.007676
0.218294
6,166
181
115
34.066298
0.786722
0.028381
0
0.321918
0
0
0.223596
0.022727
0
0
0
0
0
1
0.054795
false
0
0.10274
0.006849
0.191781
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
0
0
0
0
0
1
0
1b775b82a0dc44534647e77cf8aa3514bf4dd4f3
1,587
py
Python
tests/models/status/test_remained.py
vikian050194/forty
7ef68fb06bb22a3008351c5a651eaa46b635d433
[ "MIT" ]
null
null
null
tests/models/status/test_remained.py
vikian050194/forty
7ef68fb06bb22a3008351c5a651eaa46b635d433
[ "MIT" ]
7
2021-03-15T17:18:36.000Z
2021-04-26T09:40:53.000Z
tests/models/status/test_remained.py
vikian050194/forty
7ef68fb06bb22a3008351c5a651eaa46b635d433
[ "MIT" ]
null
null
null
from datetime import timedelta, date from forty.managers.project_manager import Config from forty.views import RemainedStatusView from forty.models import StatusModel from forty.tools import ActionsBuilder as A from ..model_test_case import ModelTestCase class TestStatusModelRemainedMethod(ModelTestCase): def _...
32.387755
68
0.696912
197
1,587
5.441624
0.324873
0.083955
0.106343
0.086754
0.441231
0.441231
0.334888
0.334888
0.334888
0.334888
0
0.017067
0.187776
1,587
48
69
33.0625
0.814585
0
0
0.212121
0
0
0
0
0
0
0
0
0.242424
1
0.151515
false
0
0.181818
0.030303
0.393939
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b78337de42b9f4ba15ccfccf01de442b6dca476
1,215
py
Python
pdf_bot/__init__.py
Joy-nath/telegram-pdf-bot
ca04cb6dd816eeea9b223e788f22bb1b16244977
[ "MIT" ]
null
null
null
pdf_bot/__init__.py
Joy-nath/telegram-pdf-bot
ca04cb6dd816eeea9b223e788f22bb1b16244977
[ "MIT" ]
null
null
null
pdf_bot/__init__.py
Joy-nath/telegram-pdf-bot
ca04cb6dd816eeea9b223e788f22bb1b16244977
[ "MIT" ]
null
null
null
import os from http import HTTPStatus from dotenv import load_dotenv from flask import Flask, Response, request from telegram import Update from telegram.ext import messagequeue as mq from telegram.ext.dispatcher import Dispatcher from telegram.utils.request import Request import pdf_bot.dispatcher as dp import pdf_b...
27
84
0.742387
171
1,215
5.081871
0.473684
0.055236
0.034522
0
0
0
0
0
0
0
0
0.010913
0.17037
1,215
44
85
27.613636
0.85119
0.051029
0
0
0
0
0.016522
0
0
0
0
0
0
1
0.066667
false
0.033333
0.366667
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
1b7b8c103d8d9616e435f7c21cd9decd8e6f142c
2,650
py
Python
tests/pconv_rfr.py
DesignStripe/torch_pconv
49e781bef96c511660ec35fcba68cf734710b10b
[ "BSD-3-Clause" ]
1
2021-08-13T18:22:07.000Z
2021-08-13T18:22:07.000Z
tests/pconv_rfr.py
DesignStripe/torch_pconv
49e781bef96c511660ec35fcba68cf734710b10b
[ "BSD-3-Clause" ]
null
null
null
tests/pconv_rfr.py
DesignStripe/torch_pconv
49e781bef96c511660ec35fcba68cf734710b10b
[ "BSD-3-Clause" ]
null
null
null
############################################################################### # BSD 3-Clause License # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Author & Contact: Guilin Liu (guilinl@nvidia.com) ############################################################################### """ Code by Guilin...
33.974359
118
0.569057
328
2,650
4.466463
0.375
0.054608
0.076451
0.030717
0.063481
0
0
0
0
0
0
0.030036
0.271321
2,650
77
119
34.415584
0.728638
0.176981
0
0.155556
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0.044444
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b7c9765a8a3c6eb3b11ae701c1e55797770abd3
7,543
py
Python
rs.py
rozium/rs-backend
9a5f81daf5b87a960436a95c91896b01860e3636
[ "MIT" ]
null
null
null
rs.py
rozium/rs-backend
9a5f81daf5b87a960436a95c91896b01860e3636
[ "MIT" ]
1
2019-04-05T13:23:13.000Z
2019-04-05T13:23:13.000Z
rs.py
rozium/rs-backend
9a5f81daf5b87a960436a95c91896b01860e3636
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Rumah Sahaja backend import jwt import hashlib import datetime from functools import wraps from flask_sqlalchemy import SQLAlchemy from flask import Flask, request, jsonify, make_response from flask_cors import CORS app = Flask(__name__) app.config.from_pyfile('rs.cfg') __DEBUG__ = True __Fr...
31.560669
136
0.580141
863
7,543
4.951333
0.172654
0.046806
0.058507
0.029487
0.428973
0.397847
0.326235
0.296747
0.270536
0.251814
0
0.008438
0.167307
7,543
239
137
31.560669
0.671868
0.018163
0
0.314136
0
0
0.137371
0
0
0
0
0
0
1
0.073298
false
0.015707
0.036649
0.010471
0.350785
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b8188290776827e953663a7cb5361a2f3ad9d66
524
py
Python
util/misc.py
arturb90/nl2pl
2cd37bdd7c6f9f99349f1235001a1755ba169f4a
[ "MIT" ]
null
null
null
util/misc.py
arturb90/nl2pl
2cd37bdd7c6f9f99349f1235001a1755ba169f4a
[ "MIT" ]
null
null
null
util/misc.py
arturb90/nl2pl
2cd37bdd7c6f9f99349f1235001a1755ba169f4a
[ "MIT" ]
1
2021-07-16T09:21:15.000Z
2021-07-16T09:21:15.000Z
import time from model.parser import LALR def elapsed(since): ''' Returns elapsed time since 'since'. ''' now = time.time() elapsed = now - since return elapsed def filter_dict(pred, dict_): ''' Filters a dictionary based the predicate provided. ''' for key, val in dict_.it...
16.903226
54
0.603053
65
524
4.8
0.538462
0.057692
0
0
0
0
0
0
0
0
0
0
0.295802
524
30
55
17.466667
0.845528
0.192748
0
0
0
0
0
0
0
0
0
0.033333
0
1
0.2
false
0
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
1
0
0
0
0
0
0
0
0
0
0
1
1b826e8ff98cc01f8b74d6759239a1116b02fa42
245
py
Python
modules/gdscript_transpiler/config.py
ppiecuch/gd_goost
93a3a28b8555310c6fbe44c009b905a57046290b
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
modules/gdscript_transpiler/config.py
ppiecuch/gd_goost
93a3a28b8555310c6fbe44c009b905a57046290b
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
modules/gdscript_transpiler/config.py
ppiecuch/gd_goost
93a3a28b8555310c6fbe44c009b905a57046290b
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
#!/usr/bin/env python def can_build(env, platform): # Editor only module return env["tools"] def configure(env): pass def is_enabled(): # Enable manually with `module_gdscript_transpiler_enabled=yes` option. return True
16.333333
75
0.697959
33
245
5.030303
0.757576
0
0
0
0
0
0
0
0
0
0
0
0.2
245
14
76
17.5
0.846939
0.444898
0
0
0
0
0.037594
0
0
0
0
0
0
1
0.5
false
0.166667
0
0.333333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
1b829b263e7d55960edfb8d2e11a2f4d079044be
1,334
py
Python
powerforecast/base.py
htpauleta/PowerForecast
f0e24e94c9dc62e56d2b770b85f6284ab96d697c
[ "Apache-2.0" ]
null
null
null
powerforecast/base.py
htpauleta/PowerForecast
f0e24e94c9dc62e56d2b770b85f6284ab96d697c
[ "Apache-2.0" ]
null
null
null
powerforecast/base.py
htpauleta/PowerForecast
f0e24e94c9dc62e56d2b770b85f6284ab96d697c
[ "Apache-2.0" ]
1
2020-12-07T02:21:12.000Z
2020-12-07T02:21:12.000Z
""" @Project : PowerForecast @Module : base.py @Author : HjwGivenLyy [1752929469@qq.com] @Created : 3/12/19 1:47 PM @Desc : basic module of entire project """ import numpy as np from sklearn.metrics import mean_squared_error, mean_absolute_error from sklearn.model_selection import train_test_split FI...
30.318182
73
0.656672
197
1,334
4.147208
0.390863
0.0306
0.034272
0.053856
0.265606
0.221542
0.162791
0.162791
0.122399
0.122399
0
0.033597
0.241379
1,334
43
74
31.023256
0.773715
0.144678
0
0
0
0
0.061443
0.048976
0
0
0
0
0
1
0.083333
false
0
0.125
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b845d9705a2fcbc398aa92244efea0721f73204
3,331
py
Python
utils/metrics.py
raghuch/SABER
fb0f26152b009f923aaf572cef80940f2f256330
[ "MIT" ]
5
2019-11-22T12:42:38.000Z
2020-07-14T14:51:47.000Z
utils/metrics.py
raghuch/SABER
fb0f26152b009f923aaf572cef80940f2f256330
[ "MIT" ]
null
null
null
utils/metrics.py
raghuch/SABER
fb0f26152b009f923aaf572cef80940f2f256330
[ "MIT" ]
1
2021-02-02T08:43:00.000Z
2021-02-02T08:43:00.000Z
import Levenshtein as Lev import numpy as np from utils.model_utils import get_most_probable from ignite.metrics import Metric, Accuracy from ignite.metrics.metric import reinit__is_reduced from datasets.librispeech import get_vocab_list, sequence_to_string import torch def werCalc(s1, s2): """ Computes the Wo...
31.424528
74
0.650555
451
3,331
4.616408
0.301552
0.057637
0.051873
0.053794
0.529299
0.529299
0.511047
0.447646
0.447646
0.364073
0
0.018898
0.237466
3,331
106
75
31.424528
0.800787
0.160612
0
0.373333
0
0
0.015013
0
0
0
0
0
0
1
0.133333
false
0
0.093333
0.013333
0.333333
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b85f4ca9f34f8676f4ce208d41c5daed191a632
59
py
Python
moto/swf/utils.py
jonnangle/moto-1
40b4e299abb732aad7f56cc0f680c0a272a46594
[ "Apache-2.0" ]
5,460
2015-01-01T01:11:17.000Z
2022-03-31T23:45:38.000Z
moto/swf/utils.py
jonnangle/moto-1
40b4e299abb732aad7f56cc0f680c0a272a46594
[ "Apache-2.0" ]
4,475
2015-01-05T19:37:30.000Z
2022-03-31T13:55:12.000Z
moto/swf/utils.py
jonnangle/moto-1
40b4e299abb732aad7f56cc0f680c0a272a46594
[ "Apache-2.0" ]
1,831
2015-01-14T00:00:44.000Z
2022-03-31T20:30:04.000Z
def decapitalize(key): return key[0].lower() + key[1:]
19.666667
35
0.627119
9
59
4.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0.040816
0.169492
59
2
36
29.5
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
1b8ba167116b4e06f9ce668216dc0aca60bfda34
3,416
py
Python
docs/update_readme.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
1
2022-02-07T03:47:53.000Z
2022-02-07T03:47:53.000Z
docs/update_readme.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
49
2022-01-17T15:16:22.000Z
2022-03-28T03:00:39.000Z
docs/update_readme.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # update_readme.py # # Copyright (C) 2020-2021 Karl T Debiec # All rights reserved. # # This software may be modified and distributed under the terms of the # BSD license. """Updates readme.""" import re from inspect import cleandoc, getfile from os.path import dirname, join, splitext fr...
28.705882
85
0.658372
435
3,416
4.983908
0.347126
0.041974
0.01845
0.017989
0.098708
0.072878
0.02952
0.02952
0.02952
0
0
0.003833
0.236241
3,416
118
86
28.949153
0.827137
0.278103
0
0
0
0.018519
0.087855
0.029716
0
0
0
0
0
1
0.074074
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b8d731ff9b1d1f3e71c04dbf1a821fa310d2d95
179
py
Python
panels/quickmocap_panel.py
vltmedia/QuickMocap-BlenderAddon
ef152a87a8738d505555db2d3ec8ff851847983b
[ "Apache-2.0" ]
17
2021-07-25T12:46:25.000Z
2022-03-23T05:16:36.000Z
panels/quickmocap_panel.py
vltmedia/QuickMocap-BlenderAddon
ef152a87a8738d505555db2d3ec8ff851847983b
[ "Apache-2.0" ]
4
2021-08-04T09:14:15.000Z
2022-03-08T11:50:13.000Z
panels/quickmocap_panel.py
vltmedia/QuickMocap-BlenderAddon
ef152a87a8738d505555db2d3ec8ff851847983b
[ "Apache-2.0" ]
3
2021-12-09T21:58:57.000Z
2022-03-31T06:21:23.000Z
import bpy class QuickMocapTemplatePanel: bl_space_type = "VIEW_3D" bl_region_type = "UI" bl_category = "Tools" bl_options = {"DEFAULT_CLOSED"}
16.272727
36
0.631285
20
179
5.25
0.8
0
0
0
0
0
0
0
0
0
0
0.007813
0.284916
179
10
37
17.9
0.8125
0
0
0
0
0
0.167665
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
1b8e709913bd8c5a373bf4dc6fb3e19539c1836c
7,060
py
Python
inventory_to_shippo_labels.py
ramanshahdatascience/t-shirts
a49edfeddd6f8eb51979464cce260b0288c75f4a
[ "BSD-3-Clause" ]
1
2022-02-28T03:44:10.000Z
2022-02-28T03:44:10.000Z
inventory_to_shippo_labels.py
ramanshahdatascience/t-shirts
a49edfeddd6f8eb51979464cce260b0288c75f4a
[ "BSD-3-Clause" ]
null
null
null
inventory_to_shippo_labels.py
ramanshahdatascience/t-shirts
a49edfeddd6f8eb51979464cce260b0288c75f4a
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python3 '''Usage: ./inventory_to_shippo_labels.py tshirt_inventory.xlsx labels.csv''' import copy import csv import math import re from sys import argv import warnings import openpyxl # Measured masses of t-shirts by size, in oz SHIRT_WEIGHTS = {'MXS': 3.45 / 1, 'MS': 11.45 / 3, ...
35.124378
82
0.565156
896
7,060
4.362723
0.327009
0.02814
0.016628
0.015349
0.14505
0.101561
0.064722
0.041954
0.041954
0.041954
0
0.029821
0.297026
7,060
200
83
35.3
0.757808
0.177337
0
0.057143
0
0.021429
0.162626
0
0
0
0
0
0.035714
1
0.014286
false
0.014286
0.05
0
0.078571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b8f165c611bb069dfd9e9a4299c2c9de8f14d21
1,299
py
Python
projecteuler/projectEuler13.py
qingfengxia/python-projecteuler
a2cba042fe7256364f6a5fa55df805a87da9a301
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
projecteuler/projectEuler13.py
qingfengxia/python-projecteuler
a2cba042fe7256364f6a5fa55df805a87da9a301
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
projecteuler/projectEuler13.py
qingfengxia/python-projecteuler
a2cba042fe7256364f6a5fa55df805a87da9a301
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals, absolute_import, division """ Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. """ from projecteulerhelper import * ########################################## def ProjectEuler13()...
34.184211
88
0.585835
187
1,299
3.989305
0.497326
0.033512
0.053619
0.064343
0.092493
0.050938
0.050938
0
0
0
0
0.034056
0.254042
1,299
37
89
35.108108
0.73581
0.227868
0
0.086957
0
0
0.103194
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.217391
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b903996bf3a4d6575217be7a0c0dfa590f198b1
739
py
Python
aws_load_balancer_policies/aws_alb_ssl_policy.py
panther-labs/panther-cli
4e5c0a21570e1a02dada990fd91e324416afac96
[ "MIT" ]
4
2019-10-17T19:33:29.000Z
2019-10-21T15:23:30.000Z
aws_load_balancer_policies/aws_alb_ssl_policy.py
panther-labs/panther-cli
4e5c0a21570e1a02dada990fd91e324416afac96
[ "MIT" ]
null
null
null
aws_load_balancer_policies/aws_alb_ssl_policy.py
panther-labs/panther-cli
4e5c0a21570e1a02dada990fd91e324416afac96
[ "MIT" ]
null
null
null
# Generated with the AWS CLI with the following command: # aws elbv2 describe-ssl-policies --query 'SslPolicies[?SslProtocols==[`TLSv1.2`]].Name' TLS_1_2_POLICIES = { "ELBSecurityPolicy-TLS-1-2-2017-01", "ELBSecurityPolicy-TLS-1-2-Ext-2018-06", "ELBSecurityPolicy-FS-1-2-Res-2019-08", "ELBSecurityPolic...
36.95
99
0.688769
104
739
4.817308
0.557692
0.027944
0.03992
0.125749
0.161677
0.107784
0
0
0
0
0
0.077295
0.159675
739
19
100
38.894737
0.729469
0.273342
0
0
1
0
0.407129
0.326454
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1b90723921c5aa1d5ba8f7ca6918c0a96bca7b9b
4,733
py
Python
ev3dev2simulator/connector/MotorConnector.py
NielsOkker/ev3dev2simulator
fc0b89eae09634b34b9e64c989c5febc86e70ef1
[ "MIT" ]
null
null
null
ev3dev2simulator/connector/MotorConnector.py
NielsOkker/ev3dev2simulator
fc0b89eae09634b34b9e64c989c5febc86e70ef1
[ "MIT" ]
2
2020-05-31T11:16:40.000Z
2020-05-31T12:28:33.000Z
ev3dev2simulator/connector/MotorConnector.py
NielsOkker/ev3dev2simulator
fc0b89eae09634b34b9e64c989c5febc86e70ef1
[ "MIT" ]
null
null
null
from ev3dev2simulator.connection.ClientSocket import get_client_socket from ev3dev2simulator.connection.message.RotateCommand import RotateCommand from ev3dev2simulator.connection.message.StopCommand import StopCommand FOREVER_MOCK_SECONDS = 45 class MotorConnector: """ The MotorConnector class provides a tr...
32.197279
99
0.622438
594
4,733
4.867003
0.205387
0.033207
0.020754
0.041508
0.379799
0.352819
0.328952
0.328952
0.316499
0.316499
0
0.01041
0.309951
4,733
146
100
32.417808
0.87477
0.399958
0
0.145455
0
0
0.003324
0
0
0
0
0
0
1
0.218182
false
0
0.054545
0
0.418182
0
0
0
0
null
0
0
0
0
0
0
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
1b909b1dba2bfad79729fc3069bd4e37223b3379
2,758
py
Python
merc/features/rfc1459/info.py
merc-devel/merc
15e010db2474b5d9f9720fc83983b03c95063a02
[ "MIT" ]
4
2015-02-15T03:37:34.000Z
2017-03-27T12:39:10.000Z
merc/features/rfc1459/info.py
merc-devel/merc
15e010db2474b5d9f9720fc83983b03c95063a02
[ "MIT" ]
null
null
null
merc/features/rfc1459/info.py
merc-devel/merc
15e010db2474b5d9f9720fc83983b03c95063a02
[ "MIT" ]
null
null
null
import collections import datetime from merc import feature from merc import message INFO_TEMPLATE = """\ ____ __/ / /___ _ ___ ________ /_ . __/ ' \/ -_) __/ __/ /_ __/_/_/_/\__/_/ \__/ /_/_/ The Modern Extensible Relay Chat daemon, version {version}. Copyright (C) {year}, #merc-devel This softwar...
22.422764
79
0.652284
353
2,758
4.858357
0.461756
0.03207
0.029738
0.025656
0.058309
0.058309
0.034985
0
0
0
0
0.024276
0.22335
2,758
122
80
22.606557
0.776377
0
0
0.044444
0
0
0.298042
0.007614
0
0
0
0
0
1
0.066667
false
0
0.044444
0.022222
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b90ae9be207fedc1b292b926c40882eae131319
1,878
py
Python
divizor_master.py
Andrey-Mel/DZ_lesson_5
0f80a352c6d349738b22780942c7738c7d33e2fe
[ "MIT" ]
null
null
null
divizor_master.py
Andrey-Mel/DZ_lesson_5
0f80a352c6d349738b22780942c7738c7d33e2fe
[ "MIT" ]
null
null
null
divizor_master.py
Andrey-Mel/DZ_lesson_5
0f80a352c6d349738b22780942c7738c7d33e2fe
[ "MIT" ]
null
null
null
'''Необходимо реализовать модуль divisor_master. Все функции модуля принимают на вход натуральные числа от 1 до 1000. Модуль содержит функции: 1) проверка числа на простоту (простые числа - это те числа у которых делители единица и они сами); 2) выводит список всех делителей числа; 3) выводит самый большой простой дел...
24.38961
117
0.609691
248
1,878
4.524194
0.375
0.026738
0.030303
0.046346
0.055258
0
0
0
0
0
0
0.027068
0.2918
1,878
76
118
24.710526
0.816541
0.306177
0
0.177778
0
0
0.20047
0.017228
0
0
0
0
0
1
0.066667
false
0
0.022222
0
0.088889
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b90fbeee4806dcbf1677620592b4a689e6b5afc
1,848
py
Python
DFU/BuildDFUAutomation.py
eliericha/midi-commander-custom
c786f704c4fd06e105a757fff325ded8e54f599c
[ "MIT" ]
12
2021-07-09T18:29:34.000Z
2022-03-06T09:05:15.000Z
DFU/BuildDFUAutomation.py
eliericha/midi-commander-custom
c786f704c4fd06e105a757fff325ded8e54f599c
[ "MIT" ]
10
2021-07-09T13:08:49.000Z
2022-03-20T13:22:50.000Z
DFU/BuildDFUAutomation.py
eliericha/midi-commander-custom
c786f704c4fd06e105a757fff325ded8e54f599c
[ "MIT" ]
5
2021-08-10T11:54:38.000Z
2022-02-26T23:29:34.000Z
# This script automates the generation of the DFU file from the release build. # File paths are generated relative to the repo, so should work where ever the repo is put. # # Requires pywinauto. # pip install pywinauto from pywinauto.application import Application from pywinauto.timings import Timings import time f...
36.96
118
0.772727
296
1,848
4.584459
0.385135
0.072955
0.058954
0.050111
0.23213
0.150332
0.084009
0
0
0
0
0.005959
0.091991
1,848
49
119
37.714286
0.802741
0.194805
0
0
1
0
0.223124
0.085193
0
0
0
0
0
1
0
false
0
0.192308
0
0.192308
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1b918ce3d9eb02c242fbf1ebd9a4e16555a12af4
436
py
Python
hooks/post_gen_project.py
ErikFanderson/cookiecutter-python-project
1fb39aaa97487f9d743b4da8ff63591e89f55085
[ "MIT" ]
null
null
null
hooks/post_gen_project.py
ErikFanderson/cookiecutter-python-project
1fb39aaa97487f9d743b4da8ff63591e89f55085
[ "MIT" ]
null
null
null
hooks/post_gen_project.py
ErikFanderson/cookiecutter-python-project
1fb39aaa97487f9d743b4da8ff63591e89f55085
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from subprocess import Popen import pathlib submodules = [] if __name__=='__main__': Popen("git init",shell=True).wait() for sm in submodules: Popen(f"git submodule add {sm}",shell=True).wait() if submodules: Popen("git submodule update --init --recursive",shell=True...
29.066667
74
0.662844
60
436
4.683333
0.5
0.160142
0.231317
0.128114
0.149466
0
0
0
0
0
0
0.002778
0.174312
436
14
75
31.142857
0.777778
0.048165
0
0
0
0
0.289855
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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
1b91bc419d87130534d251b58ff87a17cca48671
640
py
Python
django/i_dont_need_this/web/otp.py
AakashKhatu/iDontNeedThis
9b50a9377555fe990a7f21372e339a3f264800a9
[ "MIT" ]
2
2019-04-04T13:37:17.000Z
2019-04-04T13:38:09.000Z
django/i_dont_need_this/web/otp.py
AakashKhatu/iDontNeedThis
9b50a9377555fe990a7f21372e339a3f264800a9
[ "MIT" ]
null
null
null
django/i_dont_need_this/web/otp.py
AakashKhatu/iDontNeedThis
9b50a9377555fe990a7f21372e339a3f264800a9
[ "MIT" ]
1
2019-04-04T03:50:46.000Z
2019-04-04T03:50:46.000Z
import requests import random def send_otp(number): url = "https://www.fast2sms.com/dev/bulk" otp = random.randint(10000, 99999) querystring = {"authorization": "ZM2aEdmsy3WHNI8xejK6kiJ4hCYrBuwfn9t5QSLpov0VRb7lcP0qHGS5fkgWtPNX2YhFrQy9JnBOZTD6", "sender_id": "FSTSMS", "language": "engli...
33.684211
119
0.621875
57
640
6.929825
0.754386
0
0
0
0
0
0
0
0
0
0
0.059305
0.235938
640
18
120
35.555556
0.748466
0
0
0
0
0
0.365625
0.125
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b923877a3fa52e1bcbc2ba2772f7f2b28266243
3,084
py
Python
CoreConceptsPy/GdalPy/test/networks_test.py
spatial-ucsb/ConceptsOfSpatialInformation
73d54a37ced14bc5ecb064f9d1ab8b1af8cd3c5a
[ "Apache-2.0" ]
18
2015-03-03T22:57:20.000Z
2020-06-17T10:17:58.000Z
CoreConceptsPy/GdalPy/test/networks_test.py
spatial-ucsb/ConceptsOfSpatialInformation
73d54a37ced14bc5ecb064f9d1ab8b1af8cd3c5a
[ "Apache-2.0" ]
1
2017-02-23T20:06:06.000Z
2017-02-23T20:06:06.000Z
CoreConceptsPy/GdalPy/test/networks_test.py
spatial-ucsb/ConceptsOfSpatialInformation
73d54a37ced14bc5ecb064f9d1ab8b1af8cd3c5a
[ "Apache-2.0" ]
16
2015-02-13T02:05:36.000Z
2018-09-07T04:02:13.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Abstract: Unit tests for the implementations of the core concept 'network' """ __author__ = "Michel Zimmer" __copyright__ = "Copyright 2014" __credits__ = ["Michel Zimmer"] __license__ = "" __version__ = "0.1" __maintainer__ = "" __email__ = "" __date__ = "December 2...
22.844444
75
0.498379
390
3,084
3.789744
0.2
0.138701
0.17862
0.087957
0.47226
0.368742
0.301083
0.240189
0.205007
0.186739
0
0.064008
0.34144
3,084
134
76
23.014925
0.663712
0.087224
0
0.253521
0
0
0.038661
0
0
0
0
0
0.197183
1
0.15493
false
0
0.070423
0
0.239437
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1b9307390ce22586ff6f9d684c6fe0d697f99641
441
py
Python
0x0B-python-input_output/7-save_to_json_file.py
FatChicken277/holbertonschool-higher_level_programming
520d6310a5e2a874f8c5f5185d0fb769b6412e7c
[ "CNRI-Python" ]
null
null
null
0x0B-python-input_output/7-save_to_json_file.py
FatChicken277/holbertonschool-higher_level_programming
520d6310a5e2a874f8c5f5185d0fb769b6412e7c
[ "CNRI-Python" ]
null
null
null
0x0B-python-input_output/7-save_to_json_file.py
FatChicken277/holbertonschool-higher_level_programming
520d6310a5e2a874f8c5f5185d0fb769b6412e7c
[ "CNRI-Python" ]
null
null
null
#!/usr/bin/python3 """This module contains a function that writes an Object to a text file, using a JSON representation. """ import json def save_to_json_file(my_obj, filename): """Writes an Object to a text file, using a JSON representation. Arguments: my_obj {obj} -- python object. file...
25.941176
68
0.653061
65
441
4.338462
0.553846
0.053191
0.099291
0.113475
0.347518
0.347518
0.347518
0.347518
0.347518
0.347518
0
0.0059
0.231293
441
16
69
27.5625
0.825959
0.585034
0
0
0
0
0.04
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1