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
60e7fd2a428e03eaeee1467baac8a69ce2121456
9,545
py
Python
ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
Syndra/Ambari-source
717526b2bf3636622212b14de0d3d298a20c7370
[ "Apache-2.0" ]
1
2021-06-24T07:59:25.000Z
2021-06-24T07:59:25.000Z
ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
Syndra/Ambari-source
717526b2bf3636622212b14de0d3d298a20c7370
[ "Apache-2.0" ]
null
null
null
ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
Syndra/Ambari-source
717526b2bf3636622212b14de0d3d298a20c7370
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
62.796053
497
0.466841
836
9,545
5.186603
0.29067
0.019373
0.006227
0.008303
0.549816
0.504151
0.504151
0.495849
0.489852
0.450646
0
0.033785
0.435621
9,545
151
498
63.211921
0.771116
0.002095
0
0.581395
0
0.015504
0.245976
0.153065
0
0
0
0
0.116279
0
null
null
0
0.031008
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60ec05a1e04f7befa5818096872bdb308d2b1dde
4,552
py
Python
wgskex/worker/netlink.py
moepman/wgskex
7a931088b5910f8034ad5a1362777e08c47c42fe
[ "0BSD" ]
2
2021-01-05T23:42:35.000Z
2021-10-03T14:12:30.000Z
wgskex/worker/netlink.py
moepman/wgskex
7a931088b5910f8034ad5a1362777e08c47c42fe
[ "0BSD" ]
null
null
null
wgskex/worker/netlink.py
moepman/wgskex
7a931088b5910f8034ad5a1362777e08c47c42fe
[ "0BSD" ]
null
null
null
import hashlib import logging import re from dataclasses import dataclass from datetime import datetime, timedelta from textwrap import wrap from typing import Dict, List from pyroute2 import IPRoute, NDB, WireGuard from wgskex.common.utils import mac2eui64 logger = logging.getLogger(__name__) # TODO make loglevel c...
30.756757
115
0.639719
572
4,552
4.935315
0.326923
0.025505
0.039674
0.045342
0.16153
0.080057
0.066596
0.066596
0.066596
0.038966
0
0.013185
0.25022
4,552
147
116
30.965986
0.813947
0.061731
0
0.092784
0
0
0.076903
0.007349
0
0
0
0.013605
0
1
0.103093
false
0
0.092784
0.020619
0.340206
0
0
0
0
null
0
0
0
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
60ed6b24088a86522dceda37eeecc0306f7958dc
1,335
py
Python
scanBase/migrations/0003_ipsection.py
wsqy/sacn_server
e91a41a71b27926fbcfbe3f22bbb6bbc61b39461
[ "Apache-2.0" ]
null
null
null
scanBase/migrations/0003_ipsection.py
wsqy/sacn_server
e91a41a71b27926fbcfbe3f22bbb6bbc61b39461
[ "Apache-2.0" ]
null
null
null
scanBase/migrations/0003_ipsection.py
wsqy/sacn_server
e91a41a71b27926fbcfbe3f22bbb6bbc61b39461
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-01-16 13:35 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('scanBase', '0002_auto_20180116_1321'), ] operations ...
40.454545
140
0.612734
143
1,335
5.538462
0.538462
0.125
0.094697
0.085859
0.209596
0.209596
0.138889
0.138889
0
0
0
0.03373
0.244944
1,335
32
141
41.71875
0.751984
0.049438
0
0
1
0
0.135071
0.018167
0
0
0
0
0
1
0
false
0
0.12
0
0.24
0
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
60f1a087b3bdc065cf389f51df6915d8dc0b8312
563
py
Python
airtech_api/flight/models.py
chidioguejiofor/airtech-api
45d77da0cc4230dd3cb7ab4cbb5168a9239850f5
[ "MIT" ]
1
2019-04-04T12:27:55.000Z
2019-04-04T12:27:55.000Z
airtech_api/flight/models.py
chidioguejiofor/airtech-api
45d77da0cc4230dd3cb7ab4cbb5168a9239850f5
[ "MIT" ]
34
2019-03-26T11:18:17.000Z
2022-02-10T08:12:36.000Z
airtech_api/flight/models.py
chidioguejiofor/airtech-api
45d77da0cc4230dd3cb7ab4cbb5168a9239850f5
[ "MIT" ]
null
null
null
from airtech_api.utils.auditable_model import AuditableBaseModel from django.db import models # Create your models here. class Flight(AuditableBaseModel): class Meta: db_table = 'Flight' capacity = models.IntegerField(null=False) location = models.TextField(null=False) destination = models.Te...
28.15
73
0.706927
60
563
6.55
0.616667
0.091603
0.096692
0.122137
0
0
0
0
0
0
0
0.004357
0.184725
563
19
74
29.631579
0.851852
0.042629
0
0
0
0
0.078212
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
60f465712817804b710d37a55f88faebafc8ed3c
1,675
py
Python
bot_components/configurator.py
Ferlern/Arctic-Tundra
407b8c38c31f6c930df662e87ced527b9fd26c61
[ "MIT" ]
3
2021-11-05T20:22:05.000Z
2022-02-14T12:12:31.000Z
bot_components/configurator.py
Ferlern/Arctic-Tundra
407b8c38c31f6c930df662e87ced527b9fd26c61
[ "MIT" ]
null
null
null
bot_components/configurator.py
Ferlern/Arctic-Tundra
407b8c38c31f6c930df662e87ced527b9fd26c61
[ "MIT" ]
null
null
null
import json from typing import TypedDict from .bot_emoji import AdditionalEmoji class Warn(TypedDict): text: str mute_time: int ban: bool class PersonalVoice(TypedDict): categoty: int price: int slot_price: int bitrate_price: int class System(TypedDict): token: str initial_exte...
21.202532
69
0.666269
201
1,675
5.378109
0.402985
0.029602
0.029602
0.027752
0.064755
0.064755
0.064755
0
0
0
0
0.002372
0.244776
1,675
78
70
21.474359
0.852174
0
0
0.033898
0
0
0.034627
0.033433
0
0
0
0
0
1
0.067797
false
0
0.050847
0
0.779661
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
60f8300c3b1d0bfc0e3ab0efad7d54c27160ef0c
1,053
py
Python
2017-2018/lecture-notes/python/02-algorithms_listing_8_contains_word.py
essepuntato/comp-think
3dac317bda0eb7650adc4a92c1ccb8a4ce87a3a6
[ "BSD-2-Clause" ]
19
2017-07-03T11:55:33.000Z
2021-10-17T10:21:24.000Z
2017-2018/lecture-notes/python/02-algorithms_listing_8_contains_word.py
essepuntato/comp-think
3dac317bda0eb7650adc4a92c1ccb8a4ce87a3a6
[ "BSD-2-Clause" ]
1
2017-12-21T10:52:56.000Z
2018-06-06T13:59:13.000Z
2017-2018/lecture-notes/python/02-algorithms_listing_8_contains_word.py
essepuntato/comp-think
3dac317bda0eb7650adc4a92c1ccb8a4ce87a3a6
[ "BSD-2-Clause" ]
4
2017-11-13T09:29:06.000Z
2019-05-09T03:29:49.000Z
def contains_word(first_word, second_word, bibliographic_entry): contains_first_word = first_word in bibliographic_entry contains_second_word = second_word in bibliographic_entry if contains_first_word and contains_second_word: return 2 elif contains_first_word or contains_second_word: ...
47.863636
110
0.674264
127
1,053
5.299213
0.456693
0.213967
0.10104
0.138187
0.206538
0.206538
0
0
0
0
0
0.02934
0.223172
1,053
21
111
50.142857
0.793399
0
0
0
0
0.055556
0.320988
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.222222
0.222222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60fe83ebf52b160eaac4df2f49fea7ababebb7f8
1,659
py
Python
esmvalcore/cmor/_fixes/cmip6/cesm2.py
aperezpredictia/ESMValCore
d5bf3f459ff3a43e780d75d57b63b88b6cc8c4f2
[ "Apache-2.0" ]
1
2019-11-28T13:09:42.000Z
2019-11-28T13:09:42.000Z
esmvalcore/cmor/_fixes/cmip6/cesm2.py
aperezpredictia/ESMValCore
d5bf3f459ff3a43e780d75d57b63b88b6cc8c4f2
[ "Apache-2.0" ]
null
null
null
esmvalcore/cmor/_fixes/cmip6/cesm2.py
aperezpredictia/ESMValCore
d5bf3f459ff3a43e780d75d57b63b88b6cc8c4f2
[ "Apache-2.0" ]
1
2019-11-29T00:50:30.000Z
2019-11-29T00:50:30.000Z
"""Fixes for CESM2 model.""" from ..fix import Fix from ..shared import (add_scalar_depth_coord, add_scalar_height_coord, add_scalar_typeland_coord, add_scalar_typesea_coord) class Fgco2(Fix): """Fixes for fgco2.""" def fix_metadata(self, cubes): """Add depth (0m) coordinate. ...
20.481481
74
0.540084
177
1,659
4.836158
0.19774
0.084112
0.051402
0.084112
0.65771
0.570093
0.448598
0.448598
0.448598
0.448598
0
0.004496
0.329717
1,659
80
75
20.7375
0.765288
0.311031
0
0.521739
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.086957
0
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
60ff5c6f7092666241901b36f6825248e6f4d160
360
py
Python
api/flat/urls.py
SanjarbekSaminjonov/musofirlar.backend
23b09e90cc4e3d153063ad1768b5ae1c18ff866d
[ "Apache-2.0" ]
1
2021-12-23T12:43:17.000Z
2021-12-23T12:43:17.000Z
api/flat/urls.py
SanjarbekSaminjonov/musofirlar.backend
23b09e90cc4e3d153063ad1768b5ae1c18ff866d
[ "Apache-2.0" ]
null
null
null
api/flat/urls.py
SanjarbekSaminjonov/musofirlar.backend
23b09e90cc4e3d153063ad1768b5ae1c18ff866d
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.FlatListAPIView.as_view()), path('create/', views.FlatCreateAPIView.as_view()), path('<int:pk>/', views.FlatDetailAPIView.as_view()), path('<int:pk>/update/', views.FlatUpdateAPIView.as_view()), path('<int:pk>/delete/'...
30
64
0.683333
43
360
5.604651
0.44186
0.124481
0.165975
0.161826
0.186722
0
0
0
0
0
0
0
0.122222
360
11
65
32.727273
0.762658
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
8804c3b09c4502328bb0532182f3bbfcec72facf
2,171
py
Python
shop/models.py
mohammadanarul/Ecommerce-Django-YT
afecc8f41693925619b81986d979706c64175360
[ "MIT" ]
null
null
null
shop/models.py
mohammadanarul/Ecommerce-Django-YT
afecc8f41693925619b81986d979706c64175360
[ "MIT" ]
null
null
null
shop/models.py
mohammadanarul/Ecommerce-Django-YT
afecc8f41693925619b81986d979706c64175360
[ "MIT" ]
null
null
null
from ctypes.wintypes import CHAR from distutils.command.upload import upload from random import choice from telnetlib import STATUS from unicodedata import category from django.db import models from ckeditor.fields import RichTextField from taggit.managers import TaggableManager # Create your models here. from mptt.mo...
38.767857
109
0.740212
261
2,171
6.007663
0.356322
0.030612
0.080357
0.095663
0.366709
0.273597
0.235332
0.235332
0.235332
0.235332
0
0.005444
0.153846
2,171
56
110
38.767857
0.848122
0.011055
0
0.1875
0
0
0.033085
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8805a00d3b1fcbc6ac9137bed25cfb76407c9dfe
663
py
Python
mirari/TCS/migrations/0042_auto_20190726_0145.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
mirari/TCS/migrations/0042_auto_20190726_0145.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
18
2019-12-27T19:58:20.000Z
2022-02-27T08:17:49.000Z
mirari/TCS/migrations/0042_auto_20190726_0145.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2019-07-26 06:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('TCS', '0041_auto_20190726_0030'), ] operations = [ migrations.AlterModelOptions( name='modelo', options={'default_permission...
36.833333
365
0.653092
72
663
5.708333
0.680556
0.097324
0
0
0
0
0
0
0
0
0
0.057301
0.184012
663
17
366
39
0.702403
0.067873
0
0
1
0
0.464286
0.037338
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
880784410cfda04eacd518622e54861cdb7a1605
6,288
py
Python
manubot/cite/tests/test_citekey_api.py
shuvro-zz/manubot
9023b7fbfa0b235c14a4d702516bc0cd6d3101ed
[ "BSD-3-Clause" ]
1
2019-11-11T05:17:28.000Z
2019-11-11T05:17:28.000Z
manubot/cite/tests/test_citekey_api.py
shuvro-zz/manubot
9023b7fbfa0b235c14a4d702516bc0cd6d3101ed
[ "BSD-3-Clause" ]
null
null
null
manubot/cite/tests/test_citekey_api.py
shuvro-zz/manubot
9023b7fbfa0b235c14a4d702516bc0cd6d3101ed
[ "BSD-3-Clause" ]
null
null
null
"""Tests API-level functions in manubot.cite. Both functions are found in citekey.py""" import pytest from manubot.cite import citekey_to_csl_item, standardize_citekey @pytest.mark.parametrize( "citekey,expected", [ ("doi:10.5061/DRYAD.q447c/1", "doi:10.5061/dryad.q447c/1"), ("doi:10.5061/dr...
38.109091
98
0.667144
832
6,288
4.879808
0.276442
0.125862
0.128079
0.066995
0.553202
0.515271
0.431527
0.37931
0.311576
0.311576
0
0.109354
0.175413
6,288
164
99
38.341463
0.673674
0.135973
0
0.262712
0
0
0.389987
0.078863
0
0
0
0
0.432203
1
0.076271
false
0
0.016949
0
0.09322
0.042373
0
0
0
null
0
0
0
0
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
880bba102de2d9226a037a90ff3d98814009f0c2
2,549
py
Python
pyspectator/collection.py
maximilionus/pyspectator-x
1265f1f39e7ca0534f9e6ffcd7087f2ebced3397
[ "BSD-3-Clause" ]
39
2017-02-27T15:21:21.000Z
2021-12-31T03:23:43.000Z
pyspectator/collection.py
maximilionus/pyspectator-x
1265f1f39e7ca0534f9e6ffcd7087f2ebced3397
[ "BSD-3-Clause" ]
18
2017-07-09T00:16:28.000Z
2021-12-03T21:01:38.000Z
pyspectator/collection.py
maximilionus/pyspectator-x
1265f1f39e7ca0534f9e6ffcd7087f2ebced3397
[ "BSD-3-Clause" ]
25
2017-03-05T07:59:34.000Z
2021-12-15T15:22:58.000Z
from collections import MutableMapping, Container from datetime import datetime, timedelta from pyvalid import accepts class LimitedTimeTable(MutableMapping, Container): def __init__(self, time_span): self.__storage = dict() self.__time_span = None self.time_span = time_span @propert...
27.117021
60
0.617497
312
2,549
4.61859
0.211538
0.099237
0.049965
0.058293
0.373352
0.274809
0.266482
0.251214
0.184594
0.108258
0
0.001648
0.285995
2,549
93
61
27.408602
0.79011
0.014516
0
0.271429
0
0
0.007968
0
0
0
0
0
0
1
0.257143
false
0
0.042857
0.085714
0.457143
0
0
0
0
null
0
0
0
0
0
0
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
714e6f1bdf4058bf187b53f8c773baa127319b6d
546
py
Python
streams/blog/migrations/0012_auto_20200928_1212.py
Engerrs/ckan.org
a5a9b63b0ca16cb5aa4f709f7a264b8f6c265158
[ "BSD-3-Clause" ]
1
2022-03-18T03:20:00.000Z
2022-03-18T03:20:00.000Z
streams/blog/migrations/0012_auto_20200928_1212.py
Engerrs/ckan.org
a5a9b63b0ca16cb5aa4f709f7a264b8f6c265158
[ "BSD-3-Clause" ]
26
2021-07-07T08:42:42.000Z
2022-03-29T14:34:59.000Z
streams/blog/migrations/0012_auto_20200928_1212.py
Engerrs/ckan.org
a5a9b63b0ca16cb5aa4f709f7a264b8f6c265158
[ "BSD-3-Clause" ]
3
2021-07-07T22:11:03.000Z
2021-09-15T18:19:10.000Z
# Generated by Django 3.1.1 on 2020-09-28 12:12 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0011_blogpostpage_featured'), ] operations = [ migrations.RemoveField( model_name='blogpostpage', ...
22.75
82
0.600733
53
546
6.113208
0.679245
0.055556
0.12963
0.154321
0
0
0
0
0
0
0
0.048969
0.289377
546
23
83
23.73913
0.786082
0.082418
0
0.235294
1
0
0.130261
0.052104
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
714ebaf58f896dbaa65742bb16b60c72d8438768
252
py
Python
create_read_write_1/Writing/to_csv.py
CodeXfull/Pandas
08b0adc28eedba47f6eb8303ba6a36a37ababb92
[ "MIT" ]
null
null
null
create_read_write_1/Writing/to_csv.py
CodeXfull/Pandas
08b0adc28eedba47f6eb8303ba6a36a37ababb92
[ "MIT" ]
null
null
null
create_read_write_1/Writing/to_csv.py
CodeXfull/Pandas
08b0adc28eedba47f6eb8303ba6a36a37ababb92
[ "MIT" ]
null
null
null
""" Converter um DataFrame para CSV """ import pandas as pd dataset = pd.DataFrame({'Frutas': ["Abacaxi", "Mamão"], "Nomes": ["Éverton", "Márcia"]}, index=["Linha 1", "Linha 2"]) dataset.to_csv("dataset.csv")
25.2
55
0.543651
28
252
4.857143
0.75
0
0
0
0
0
0
0
0
0
0
0.010811
0.265873
252
10
56
25.2
0.724324
0.123016
0
0
0
0
0.285047
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
714f78bb4bb01676183ee7d2b3639573c3d0ac56
712
py
Python
test/manual/documents/test_iter_documents.py
membranepotential/mendeley-python-sdk
0336f0164f4d409309e813cbd0140011b5b2ff8f
[ "Apache-2.0" ]
103
2015-01-12T00:40:51.000Z
2022-03-29T07:02:06.000Z
test/manual/documents/test_iter_documents.py
membranepotential/mendeley-python-sdk
0336f0164f4d409309e813cbd0140011b5b2ff8f
[ "Apache-2.0" ]
26
2015-01-10T04:08:41.000Z
2021-02-05T16:31:37.000Z
test/manual/documents/test_iter_documents.py
membranepotential/mendeley-python-sdk
0336f0164f4d409309e813cbd0140011b5b2ff8f
[ "Apache-2.0" ]
43
2015-03-04T18:11:06.000Z
2022-03-13T02:33:34.000Z
from itertools import islice from test import get_user_session, cassette from test.resources.documents import delete_all_documents, create_document def test_should_iterate_through_documents(): session = get_user_session() delete_all_documents() with cassette('fixtures/resources/documents/iter_documents/...
32.363636
96
0.706461
92
712
5.25
0.369565
0.115942
0.130435
0.161491
0
0
0
0
0
0
0
0.020833
0.191011
712
21
97
33.904762
0.817708
0
0
0
0
0
0.162921
0.103933
0
0
0
0
0.266667
1
0.066667
false
0
0.2
0
0.266667
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
715027948c136a1c6e6c296495419c7112dea3be
1,929
py
Python
test_project/settings.py
incuna/incuna-groups
148c181faf66fe73792cb2c5bbf5500ba61aa22d
[ "BSD-2-Clause" ]
1
2017-09-29T23:58:02.000Z
2017-09-29T23:58:02.000Z
test_project/settings.py
incuna/incuna-groups
148c181faf66fe73792cb2c5bbf5500ba61aa22d
[ "BSD-2-Clause" ]
51
2015-03-30T08:58:15.000Z
2022-01-13T00:40:17.000Z
test_project/settings.py
incuna/incuna-groups
148c181faf66fe73792cb2c5bbf5500ba61aa22d
[ "BSD-2-Clause" ]
null
null
null
import os import dj_database_url BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) DEBUG = True ALLOWED_HOSTS = [] ROOT_URLCONF = 'groups.tests.urls' STATIC_URL = '/static/' SECRET_KEY = 'krc34ji^-fd-=+r6e%p!0u0k9h$9!q*_#l=6)74h#o(jrxsx4p' PASSWORD_HASHERS = ('django.contrib.auth.hashers.MD5Pa...
28.367647
76
0.659927
196
1,929
6.311224
0.5
0.115602
0.101859
0.150364
0.025869
0
0
0
0
0
0
0.01436
0.205806
1,929
67
77
28.791045
0.793081
0.059098
0
0.038462
0
0.019231
0.526781
0.425179
0
0
0
0
0
1
0
false
0.019231
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71548039cb810f86d8a1fe4c36b02cd515b16949
558
py
Python
ble.py
Ladvien/esp32_upython_env
8b0feab940efd3feff16220473e1b5b27d679a56
[ "MIT" ]
null
null
null
ble.py
Ladvien/esp32_upython_env
8b0feab940efd3feff16220473e1b5b27d679a56
[ "MIT" ]
null
null
null
ble.py
Ladvien/esp32_upython_env
8b0feab940efd3feff16220473e1b5b27d679a56
[ "MIT" ]
null
null
null
import bluetooth import time bt = bluetooth.BLE() # singleton bt.active(True) # activate BT stack UART_UUID = bluetooth.UUID('6E400001-B5A3-F393-E0A9-E50E24DCCA9E') UART_TX = (bluetooth.UUID('6E400003-B5A3-F393-E0A9-E50E24DCCA9E'), bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,) UAR...
50.727273
112
0.716846
72
558
5.361111
0.444444
0.101036
0.093264
0.186529
0.19171
0.19171
0
0
0
0
0
0.125523
0.143369
558
11
113
50.727273
0.682008
0.048387
0
0
0
0
0.204159
0.204159
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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
715562602b941a7d39f1c3b9c3f9ed3ae5bab180
952
py
Python
examples/custom-generator/customer.py
luxbe/sledo
26aa2b59b11ea115afc25bb407602578cb342170
[ "MIT" ]
4
2021-12-13T17:52:52.000Z
2021-12-28T09:40:52.000Z
examples/custom-generator/customer.py
luxbe/sledo
26aa2b59b11ea115afc25bb407602578cb342170
[ "MIT" ]
null
null
null
examples/custom-generator/customer.py
luxbe/sledo
26aa2b59b11ea115afc25bb407602578cb342170
[ "MIT" ]
null
null
null
from random import randint from sledo.generate.field_generators.base import FieldGenerator values = ("Austria", "Belgium", "Bulgaria", "Croatia", "Cyprus", "Czech Republic", "Denmark", "Estonia", "Finland", "France", "G...
21.636364
63
0.456933
64
952
6.765625
0.859375
0
0
0
0
0
0
0
0
0
0
0.003591
0.414916
952
43
64
22.139535
0.773788
0
0
0
1
0
0.265756
0
0
0
0
0
0
1
0.025641
false
0
0.051282
0.025641
0.128205
0
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
715d6a83862066d08f507e36bb0ef91281fb5c5f
4,977
py
Python
tests/test_cecum.py
hsorby/scaffoldmaker
5e3b4531665dbc465b53acc1662f8d9bbb9dc1e1
[ "Apache-2.0" ]
null
null
null
tests/test_cecum.py
hsorby/scaffoldmaker
5e3b4531665dbc465b53acc1662f8d9bbb9dc1e1
[ "Apache-2.0" ]
38
2018-04-04T10:40:26.000Z
2022-03-14T22:02:26.000Z
tests/test_cecum.py
hsorby/scaffoldmaker
5e3b4531665dbc465b53acc1662f8d9bbb9dc1e1
[ "Apache-2.0" ]
28
2018-03-11T19:31:35.000Z
2022-02-03T23:14:21.000Z
import unittest from opencmiss.utils.zinc.finiteelement import evaluateFieldNodesetRange from opencmiss.utils.zinc.general import ChangeManager from opencmiss.zinc.context import Context from opencmiss.zinc.element import Element from opencmiss.zinc.field import Field from opencmiss.zinc.result import RESULT_OK from s...
53.516129
115
0.723327
519
4,977
6.876686
0.296724
0.138694
0.024657
0.025217
0.226394
0.139255
0.107313
0.087419
0.040908
0.040908
0
0.053837
0.175206
4,977
92
116
54.097826
0.815591
0.00643
0
0.025641
0
0
0.130258
0
0
0
0
0
0.512821
1
0.012821
false
0
0.128205
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
1
0
0
0
0
0
0
0
0
0
1
716192be9eb9b6903ed659ac040571121cd26498
344
py
Python
muni_portal/core/migrations/0030_remove_servicerequest_mobile_reference.py
desafinadude/muni-portal-backend
9ffc447194b8f29619585cd919f67d62062457a3
[ "MIT" ]
1
2021-01-18T13:01:04.000Z
2021-01-18T13:01:04.000Z
muni_portal/core/migrations/0030_remove_servicerequest_mobile_reference.py
desafinadude/muni-portal-backend
9ffc447194b8f29619585cd919f67d62062457a3
[ "MIT" ]
42
2020-08-29T08:55:53.000Z
2021-04-14T16:41:29.000Z
muni_portal/core/migrations/0030_remove_servicerequest_mobile_reference.py
desafinadude/muni-portal-backend
9ffc447194b8f29619585cd919f67d62062457a3
[ "MIT" ]
2
2020-10-28T16:34:41.000Z
2022-02-07T10:29:31.000Z
# Generated by Django 2.2.10 on 2021-02-24 09:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0029_auto_20210224_0936'), ] operations = [ migrations.RemoveField( model_name='servicerequest', name='mobile_refer...
19.111111
48
0.610465
36
344
5.694444
0.833333
0
0
0
0
0
0
0
0
0
0
0.129555
0.281977
344
17
49
20.235294
0.700405
0.133721
0
0
1
0
0.192568
0.077703
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7169f3d04044834201fc8a2b35d915d5a016859d
1,283
py
Python
dnd/mobile/urls.py
dndtools2/dndtools2
6bd794349b84f3018dd0bd12712535924557c166
[ "MIT" ]
null
null
null
dnd/mobile/urls.py
dndtools2/dndtools2
6bd794349b84f3018dd0bd12712535924557c166
[ "MIT" ]
null
null
null
dnd/mobile/urls.py
dndtools2/dndtools2
6bd794349b84f3018dd0bd12712535924557c166
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url, include from .views import force_desktop_version, return_to_mobile_version app_name = 'mobile' urlpatterns = [ # force desktop url(r'^force-desktop-version/$', force_desktop_version, name='force_desktop_version'), # return to mobile version url(r'^return-to...
26.183673
99
0.653936
164
1,283
5.012195
0.20122
0.068127
0.233577
0.127737
0.131387
0.097324
0.097324
0
0
0
0
0
0.16212
1,283
48
100
26.729167
0.764651
0.106781
0
0
0
0
0.420866
0.331565
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
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
717a53af9750d33e9be1b7de3f152d83339bf874
969
py
Python
tests/gejun_sum.py
jeffzhengye/pylearn
a140d0fca8a371faada194cb0126192675cc2045
[ "Unlicense" ]
2
2016-02-17T06:00:35.000Z
2020-11-23T13:34:00.000Z
tests/gejun_sum.py
jeffzhengye/pylearn
a140d0fca8a371faada194cb0126192675cc2045
[ "Unlicense" ]
null
null
null
tests/gejun_sum.py
jeffzhengye/pylearn
a140d0fca8a371faada194cb0126192675cc2045
[ "Unlicense" ]
null
null
null
__author__ = 'jeffye' def sum_consecutives(s): i = 1 li = [] if i < len(s): n = 1 while s[i] != s[i + 1] and s[i] != s[i - 1]: sum = s[i] i = i + 1 return sum while s[i] == s[i + 1]: n = n + 1 sum = s[i] * n i = i + 1 return sum ...
20.617021
82
0.472652
146
969
3.006849
0.308219
0.041002
0.027335
0.027335
0.111617
0.045558
0
0
0
0
0
0.045997
0.394221
969
46
83
21.065217
0.701874
0.140351
0
0.314286
0
0
0.016929
0
0
0
0
0
0
0
null
null
0
0
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71866e54c9be9ceced231705351ad07d4dec3246
244
py
Python
src/tests/test_app_db.py
kazqvaizer/arq-sqlalchemy-boilerplate
c14596ed358a061e6eb2a380f4bd962242b123f3
[ "MIT" ]
6
2021-12-20T14:49:14.000Z
2022-03-21T14:32:49.000Z
src/tests/test_app_db.py
kazqvaizer/arq-sqlalchemy-boilerplate
c14596ed358a061e6eb2a380f4bd962242b123f3
[ "MIT" ]
null
null
null
src/tests/test_app_db.py
kazqvaizer/arq-sqlalchemy-boilerplate
c14596ed358a061e6eb2a380f4bd962242b123f3
[ "MIT" ]
null
null
null
import pytest from app.db import session_scope pytestmark = pytest.mark.asyncio async def test_engine_configured(env): async with session_scope() as session: assert str(session.bind.engine.url) == env("SQLALCHEMY_DATABASE_URI")
22.181818
77
0.762295
34
244
5.294118
0.735294
0.133333
0
0
0
0
0
0
0
0
0
0
0.151639
244
10
78
24.4
0.869565
0
0
0
0
0
0.094262
0.094262
0
0
0
0
0.166667
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
718e41b1051f8c81e49363a47885bbfedb81564d
2,027
py
Python
external/model-preparation-algorithm/tests/conftest.py
opencv/openvino_training_extensions
f5d809741e192a2345558efc75899a475019cf98
[ "Apache-2.0" ]
775
2019-03-01T02:13:33.000Z
2020-09-07T22:49:15.000Z
external/model-preparation-algorithm/tests/conftest.py
opencv/openvino_training_extensions
f5d809741e192a2345558efc75899a475019cf98
[ "Apache-2.0" ]
229
2019-02-28T21:37:08.000Z
2020-09-07T15:11:49.000Z
external/model-preparation-algorithm/tests/conftest.py
opencv/openvino_training_extensions
f5d809741e192a2345558efc75899a475019cf98
[ "Apache-2.0" ]
290
2019-02-28T20:32:11.000Z
2020-09-07T05:51:41.000Z
# Copyright (C) 2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # try: import e2e.fixtures from e2e.conftest_utils import * # noqa from e2e.conftest_utils import pytest_addoption as _e2e_pytest_addoption # noqa from e2e import config # noqa from e2e.utils import get_plugins_...
32.174603
111
0.750863
263
2,027
5.429658
0.334601
0.052521
0.02521
0.048319
0.436975
0.313725
0.27451
0.27451
0.158263
0.158263
0
0.008294
0.167242
2,027
62
112
32.693548
0.837678
0.049334
0
0.291667
0
0
0.145396
0.087237
0
0
0
0
0.020833
1
0.125
false
0.020833
0.291667
0.020833
0.520833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7195924eb07d641386ea892a9ee9a4835feb2275
11,102
py
Python
gym_flock/envs/old/flocking_position.py
katetolstaya/gym-flock
3236d1dafcb1b9be0cf78b471672e8becb2d37af
[ "MIT" ]
19
2019-07-29T22:19:58.000Z
2022-01-27T04:38:38.000Z
gym_flock/envs/old/flocking_position.py
henghenghahei849/gym-flock
b09bdfbbe4a96fe052958d1f9e1e9dd314f58419
[ "MIT" ]
null
null
null
gym_flock/envs/old/flocking_position.py
henghenghahei849/gym-flock
b09bdfbbe4a96fe052958d1f9e1e9dd314f58419
[ "MIT" ]
5
2019-10-03T14:44:49.000Z
2021-12-09T20:39:39.000Z
import gym from gym import spaces, error, utils from gym.utils import seeding import numpy as np from scipy.spatial.distance import pdist, squareform import configparser from os import path import matplotlib.pyplot as plt from matplotlib.pyplot import gca font = {'family' : 'sans-serif', 'weight' : 'bold', ...
38.682927
126
0.582418
1,615
11,102
3.857585
0.19195
0.036918
0.05297
0.031461
0.310915
0.257785
0.2374
0.183307
0.173676
0.16886
0
0.023033
0.276527
11,102
286
127
38.818182
0.752615
0.2559
0
0.07947
0
0
0.028278
0
0
0
0
0.013986
0
1
0.10596
false
0.006623
0.059603
0.006623
0.258278
0
0
0
0
null
0
0
0
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
7196a7afa44165b6070e17839c160c5651229421
406
py
Python
main/migrations/0006_labourer_allproj.py
kevinmuturi5/farm-Management-system
61929d7998d92d56daac67c2f8ace3cc76b6ee8b
[ "MIT" ]
1
2020-11-24T14:39:54.000Z
2020-11-24T14:39:54.000Z
main/migrations/0006_labourer_allproj.py
kevinmuturi5/farm-Management-system
61929d7998d92d56daac67c2f8ace3cc76b6ee8b
[ "MIT" ]
null
null
null
main/migrations/0006_labourer_allproj.py
kevinmuturi5/farm-Management-system
61929d7998d92d56daac67c2f8ace3cc76b6ee8b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-18 16:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0005_auto_20201018_1902'), ] operations = [ migrations.AddField( model_name='labourer', name='allproj', ...
21.368421
72
0.603448
44
406
5.477273
0.840909
0
0
0
0
0
0
0
0
0
0
0.105442
0.275862
406
18
73
22.555556
0.714286
0.110837
0
0
1
0
0.150418
0.064067
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7197c87f66af380e5e98dd30c64711ce25f12d71
607
py
Python
items/models.py
roberthtamayose/digitalmenu
19c6633844934fd95f861674946da386411a19c9
[ "MIT" ]
null
null
null
items/models.py
roberthtamayose/digitalmenu
19c6633844934fd95f861674946da386411a19c9
[ "MIT" ]
null
null
null
items/models.py
roberthtamayose/digitalmenu
19c6633844934fd95f861674946da386411a19c9
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone class Categoria(models.Model): nome = models.CharField(max_length=255) def __str__(self): return self.nome class Item(models.Model): nome = models.CharField(max_length=255) data_criacao = models.DateTimeField(default=timezone.no...
27.590909
73
0.726524
78
607
5.474359
0.564103
0.046838
0.070258
0.098361
0.309133
0.309133
0.196721
0.196721
0
0
0
0.011858
0.166392
607
21
74
28.904762
0.832016
0
0
0.4
0
0
0.019769
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.133333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
719bca03a01e24f7c868ad83a281e40679838ca7
1,521
py
Python
jupyter/settings.py
nguyenngtt/GSE---TEAM-A
4f78c1ace051d4f2ff30a039aa481aa9b79d3242
[ "MIT" ]
3
2021-11-21T08:47:18.000Z
2021-11-28T10:35:10.000Z
jupyter/settings.py
nguyenngtt/GSE---TEAM-A
4f78c1ace051d4f2ff30a039aa481aa9b79d3242
[ "MIT" ]
6
2021-11-29T02:00:49.000Z
2022-02-08T09:21:38.000Z
jupyter/settings.py
nguyenngtt/GSE---TEAM-A
4f78c1ace051d4f2ff30a039aa481aa9b79d3242
[ "MIT" ]
3
2021-12-11T08:11:08.000Z
2022-01-10T12:51:48.000Z
import pandas as pd import numpy as np import os import logging # suppress warnings import warnings; warnings.filterwarnings('ignore'); from tqdm.autonotebook import tqdm # register `pandas.progress_apply` and `pandas.Series.map_apply` with `tqdm` tqdm.pandas() # https://pandas.pydata.org/pandas-docs/stable/user_g...
30.42
88
0.724523
201
1,521
5.40796
0.577114
0.041398
0.073597
0.052438
0
0
0
0
0
0
0
0.02057
0.168968
1,521
49
89
31.040816
0.839399
0.387903
0
0
0
0
0.149123
0
0
0
0
0
0
1
0
false
0
0.37037
0
0.37037
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
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
719e5a0939a4c90bfd66956e7385e51aac9d612e
340
py
Python
pset_functions/db_search/p1.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
5
2019-04-08T20:05:37.000Z
2019-12-04T20:48:45.000Z
pset_functions/db_search/p1.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
8
2019-04-15T15:16:05.000Z
2022-02-12T10:33:32.000Z
pset_functions/db_search/p1.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
2
2019-04-10T00:14:42.000Z
2020-02-26T20:35:21.000Z
""" GPA Calculator """ # Write a function called "simple_gpa" to find GPA when student enters a letter grade as a string. Assign the result to a variable called "gpa". """ Use these conversions: A+ --> 4.0 A --> 4.0 A- --> 3.7 B+ --> 3.3 B --> 3.0 B- --> 2.7 C+ --> 2.3 C --> 2.0 C- --> 1.7 D+ --> 1.3 D --> 1.0 D- -->...
14.166667
144
0.538235
70
340
2.6
0.471429
0.021978
0.032967
0.043956
0
0
0
0
0
0
0
0.098859
0.226471
340
23
145
14.782609
0.593156
0.464706
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71a1f9b966a655c142f90e8f1814eebae105ba9e
373
py
Python
setup.py
johnmartingodo/pyKinematicsKineticsToolbox
4ffc99885f3c637b8c33914a4e50ccb4595fc844
[ "MIT" ]
null
null
null
setup.py
johnmartingodo/pyKinematicsKineticsToolbox
4ffc99885f3c637b8c33914a4e50ccb4595fc844
[ "MIT" ]
null
null
null
setup.py
johnmartingodo/pyKinematicsKineticsToolbox
4ffc99885f3c637b8c33914a4e50ccb4595fc844
[ "MIT" ]
null
null
null
from setuptools import setup setup(name="pykinematicskineticstoolbox", version="0.0", description="Installable python package which collects useful kinematics and kinetics functions", author="John Martin K. Godø", author_email="john.martin.kleven.godo@gmail.com", license="MIT", packages=["pykinematic...
31.083333
100
0.753351
41
373
6.804878
0.853659
0.071685
0
0
0
0
0
0
0
0
0
0.006135
0.126005
373
11
101
33.909091
0.849693
0
0
0
0
0
0.533512
0.233244
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71a73e1712465a4bec511db6faf72a21ab1c2e2c
946
py
Python
openskill/statistics.py
CalColson/openskill.py
ab61ca57fa6e60140d0a292c73440f22ceabd9a2
[ "MIT" ]
120
2021-09-03T03:06:11.000Z
2022-03-28T05:54:54.000Z
openskill/statistics.py
CalColson/openskill.py
ab61ca57fa6e60140d0a292c73440f22ceabd9a2
[ "MIT" ]
48
2021-09-23T07:15:13.000Z
2022-03-31T14:47:25.000Z
openskill/statistics.py
CalColson/openskill.py
ab61ca57fa6e60140d0a292c73440f22ceabd9a2
[ "MIT" ]
6
2022-01-20T16:45:28.000Z
2022-03-28T23:48:07.000Z
import sys import scipy.stats normal = scipy.stats.norm(0, 1) def phi_major(x): return normal.cdf(x) def phi_minor(x): return normal.pdf(x) def v(x, t): xt = x - t denom = phi_major(xt) return -xt if (denom < sys.float_info.epsilon) else phi_minor(xt) / denom def w(x, t): xt = x - t ...
19.306122
83
0.516913
174
946
2.718391
0.195402
0.05074
0.063425
0.093023
0.505285
0.505285
0.346723
0.232558
0.232558
0.143763
0
0.017214
0.324524
946
48
84
19.708333
0.723005
0
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71abaaff24dc05f9c229f77e4b27cc8d68a5b7f5
14,189
py
Python
src/openalea/container/graph.py
revesansparole/oacontainer
066a15b8b1b22f857bf25ed443c5f39f4cbefb3e
[ "MIT" ]
null
null
null
src/openalea/container/graph.py
revesansparole/oacontainer
066a15b8b1b22f857bf25ed443c5f39f4cbefb3e
[ "MIT" ]
null
null
null
src/openalea/container/graph.py
revesansparole/oacontainer
066a15b8b1b22f857bf25ed443c5f39f4cbefb3e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Graph : graph package # # Copyright or Copr. 2006 INRIA - CIRAD - INRA # # File author(s): Jerome Chopard <jerome.chopard@sophia.inria.fr> # # Distributed under the Cecill-C License. # See accompanying file LICENSE.txt or copy at # http://www.cecill.in...
26.571161
78
0.512651
1,639
14,189
4.353874
0.125076
0.040359
0.02102
0.023543
0.462864
0.394479
0.339126
0.301289
0.269759
0.257707
0
0.002165
0.348932
14,189
533
79
26.621013
0.770297
0.399676
0
0.35
0
0
0.000477
0
0
0
0
0
0
1
0.2125
false
0
0.00625
0
0.41875
0
0
0
0
null
0
0
0
0
0
0
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
71acaf064514ffdbe1a52492a693bd272d32dbf5
8,439
py
Python
nets/mobilenet_v2_ssd.py
GT-AcerZhang/PaddlePaddle-SSD
3833afe3470b7dc811409b3d8111b98dc31c6d0e
[ "Apache-2.0" ]
47
2020-03-25T01:42:45.000Z
2022-03-23T12:03:46.000Z
nets/mobilenet_v2_ssd.py
tianxiehu/PaddlePaddle-SSD
ae2ec69b65cc181fdb4275b295f145dc22e71ddb
[ "Apache-2.0" ]
1
2021-06-30T13:02:59.000Z
2022-01-13T09:48:07.000Z
nets/mobilenet_v2_ssd.py
tianxiehu/PaddlePaddle-SSD
ae2ec69b65cc181fdb4275b295f145dc22e71ddb
[ "Apache-2.0" ]
9
2020-06-01T13:28:44.000Z
2021-06-17T02:42:55.000Z
import paddle.fluid as fluid from paddle.fluid.initializer import MSRA from paddle.fluid.param_attr import ParamAttr class MobileNetV2SSD: def __init__(self, img, num_classes, img_shape): self.img = img self.num_classes = num_classes self.img_shape = img_shape def ssd_net(self, scale=...
44.650794
114
0.422799
799
8,439
4.20776
0.193992
0.047591
0.017847
0.017847
0.431886
0.349494
0.272457
0.25699
0.209994
0.209994
0
0.058361
0.502548
8,439
188
115
44.888298
0.742496
0.009006
0
0.363636
0
0
0.001916
0
0
0
0
0
0
1
0.058442
false
0
0.019481
0.006494
0.149351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71b98f59428322523fe15276f1dd95e05126903b
1,330
py
Python
social_auth_ragtag_id/backends.py
RagtagOpen/python-social-auth-ragtag-id
8d8e005231c09535098136213347934e9da7b3f2
[ "MIT" ]
null
null
null
social_auth_ragtag_id/backends.py
RagtagOpen/python-social-auth-ragtag-id
8d8e005231c09535098136213347934e9da7b3f2
[ "MIT" ]
3
2020-03-24T16:26:22.000Z
2021-02-02T21:55:45.000Z
social_auth_ragtag_id/backends.py
RagtagOpen/python-social-auth-ragtag-id
8d8e005231c09535098136213347934e9da7b3f2
[ "MIT" ]
null
null
null
from social_core.backends.oauth import BaseOAuth2 class RagtagOAuth2(BaseOAuth2): """Ragtag ID OAuth authentication backend""" name = "ragtag" AUTHORIZATION_URL = "https://id.ragtag.org/oauth/authorize/" ACCESS_TOKEN_URL = "https://id.ragtag.org/oauth/token/" ACCESS_TOKEN_METHOD = "POST" REVO...
35.945946
75
0.627068
153
1,330
5.267974
0.392157
0.049628
0.068238
0.079404
0.198511
0.198511
0.07196
0
0
0
0
0.00391
0.230827
1,330
36
76
36.944444
0.783969
0.088722
0
0
0
0
0.245819
0
0
0
0
0
0
1
0.111111
false
0
0.037037
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71c4e4d0291e170dbdedace4be31a3f5ab545979
3,259
py
Python
SWHT/Ylm.py
2baOrNot2ba/SWHT
738718e90d615e624dacf7746f8a2dfa973ec9fe
[ "BSD-3-Clause" ]
null
null
null
SWHT/Ylm.py
2baOrNot2ba/SWHT
738718e90d615e624dacf7746f8a2dfa973ec9fe
[ "BSD-3-Clause" ]
null
null
null
SWHT/Ylm.py
2baOrNot2ba/SWHT
738718e90d615e624dacf7746f8a2dfa973ec9fe
[ "BSD-3-Clause" ]
null
null
null
""" An implementation on spherical harmonics in python becasue scipy.special.sph_harm in scipy<=0.13 is very slow Originally written by Jozef Vesely https://github.com/scipy/scipy/issues/1280 """ import numpy as np def xfact(m): # computes (2m-1)!!/sqrt((2m)!) res = 1. for i in xrange(1, 2*m+1): ...
32.919192
109
0.56367
574
3,259
3.094077
0.186411
0.019144
0.023649
0.02759
0.454392
0.412725
0.399212
0.399212
0.38964
0.38964
0
0.051916
0.255293
3,259
98
110
33.255102
0.679852
0.080393
0
0.239437
0
0
0.174848
0.016482
0
0
0
0
0.042254
0
null
null
0
0.140845
null
null
0.140845
0
0
0
null
0
0
0
0
0
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
71c972e7ade9ba017ed68282dda02ffa0b10d89d
5,110
py
Python
src/solana/rpc/responses.py
broper2/solana-py
146390d959f017e137238335ee6fa362ad1a1ab4
[ "MIT" ]
1
2021-12-13T05:28:52.000Z
2021-12-13T05:28:52.000Z
src/solana/rpc/responses.py
broper2/solana-py
146390d959f017e137238335ee6fa362ad1a1ab4
[ "MIT" ]
1
2021-08-11T10:33:16.000Z
2021-08-11T10:33:16.000Z
src/solana/rpc/responses.py
broper2/solana-py
146390d959f017e137238335ee6fa362ad1a1ab4
[ "MIT" ]
2
2021-06-23T15:29:56.000Z
2022-01-29T06:24:01.000Z
"""This module contains code for parsing RPC responses.""" from dataclasses import dataclass, field from typing import Union, Tuple, Any, Dict, List, Optional, Literal from apischema import alias from apischema.conversions import as_str from solana.publickey import PublicKey from solana.transaction import Transactio...
19.429658
112
0.73816
450
5,110
8.355556
0.286667
0.115426
0.027128
0.027926
0.0375
0
0
0
0
0
0
0
0.163601
5,110
262
113
19.503817
0.879738
0.199022
0
0.273438
0
0
0.043998
0.028484
0
0
0
0
0
1
0
false
0
0.046875
0
0.65625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71cb7166ebfc6dcb81586c67d3970300c6d339d5
2,850
py
Python
src/tools/pch.py
MaxSac/build
482c25f3a26171073c7e6c59f0427f2259a63fec
[ "BSL-1.0" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/tools/pch.py
MaxSac/build
482c25f3a26171073c7e6c59f0427f2259a63fec
[ "BSL-1.0" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/tools/pch.py
MaxSac/build
482c25f3a26171073c7e6c59f0427f2259a63fec
[ "BSL-1.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
# Status: Being ported by Steven Watanabe # Base revision: 47077 # # Copyright (c) 2005 Reece H. Dunn. # Copyright 2006 Ilya Sokolov # Copyright (c) 2008 Steven Watanabe # # Use, modification and distribution is subject to the Boost Software # License Version 1.0. (See accompanying file LICENSE_1_0.txt or # http://www....
33.928571
84
0.635789
369
2,850
4.848238
0.452575
0.040246
0.028508
0.030184
0.116266
0.0872
0
0
0
0
0
0.011715
0.251228
2,850
83
85
34.337349
0.826617
0.513684
0
0.142857
0
0
0.166922
0.090352
0
0
0
0
0
1
0.107143
false
0.071429
0.071429
0.035714
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
71cba591b2f2458645ed1d92e6c6191526e0649e
3,274
py
Python
packages/pytest-simcore/src/pytest_simcore/helpers/utils_login.py
GitHK/osparc-simcore-forked
5b01a28d1b8028afcf9a735e1d46a73daa13686e
[ "MIT" ]
null
null
null
packages/pytest-simcore/src/pytest_simcore/helpers/utils_login.py
GitHK/osparc-simcore-forked
5b01a28d1b8028afcf9a735e1d46a73daa13686e
[ "MIT" ]
17
2020-10-15T16:06:05.000Z
2022-03-21T18:48:21.000Z
packages/pytest-simcore/src/pytest_simcore/helpers/utils_login.py
GitHK/osparc-simcore-forked
5b01a28d1b8028afcf9a735e1d46a73daa13686e
[ "MIT" ]
null
null
null
import re from typing import Dict from aiohttp import web from yarl import URL from simcore_service_webserver.db_models import UserRole, UserStatus from simcore_service_webserver.login.cfg import cfg, get_storage from simcore_service_webserver.login.registration import create_invitation from simcore_service_webserver...
28.224138
85
0.668907
426
3,274
4.892019
0.260563
0.03071
0.035988
0.051823
0.172265
0.083013
0.055182
0
0
0
0
0.007874
0.224191
3,274
115
86
28.469565
0.812598
0.035736
0
0.1625
0
0
0.042743
0
0
0
0
0.008696
0.025
1
0.0625
false
0.0625
0.1125
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
1
0
0
0
0
0
1
71cc3ccb2a64dc7939c236363e16d9e1816e901e
2,806
py
Python
indra/tests/test_sparser.py
jmuhlich/indra
feab2c08541ea73f328579faa6a21b08082cb026
[ "BSD-2-Clause" ]
null
null
null
indra/tests/test_sparser.py
jmuhlich/indra
feab2c08541ea73f328579faa6a21b08082cb026
[ "BSD-2-Clause" ]
null
null
null
indra/tests/test_sparser.py
jmuhlich/indra
feab2c08541ea73f328579faa6a21b08082cb026
[ "BSD-2-Clause" ]
null
null
null
from indra import sparser xml_str1 = ''' <article pmid="54321"> <interpretation> <sentence-text>MEK1 phosphorylates ERK1</sentence-text> <sem> <ref category="phosphorylate"> <var name="agent"> <ref category="protein"> <var name="name">MP2K1_HUMAN</var> <var name="uid...
29.229167
98
0.573414
340
2,806
4.670588
0.238235
0.092569
0.075567
0.065491
0.56864
0.511335
0.358312
0.358312
0.212846
0.212846
0
0.035394
0.244833
2,806
95
99
29.536842
0.714016
0
0
0.528736
0
0.022989
0.660727
0.207413
0
0
0
0
0.195402
1
0.034483
false
0
0.011494
0
0.045977
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71cd46d78b6a8276fbfad5958ac1ac90396f36d3
685
py
Python
examples/quickstart/run_example.py
siforrer/coreali
261e321b546192e608edf87c47719d2173ab4645
[ "MIT" ]
null
null
null
examples/quickstart/run_example.py
siforrer/coreali
261e321b546192e608edf87c47719d2173ab4645
[ "MIT" ]
null
null
null
examples/quickstart/run_example.py
siforrer/coreali
261e321b546192e608edf87c47719d2173ab4645
[ "MIT" ]
null
null
null
""" Simple Example using coreali to access a register model. Needs no h^ardware""" # Import dependencies and compile register model with systemrdl-compiler from systemrdl import RDLCompiler import coreali import numpy as np import os from coreali import RegisterModel rdlc = RDLCompiler() rdlc.compile_file(os.path.di...
28.541667
82
0.769343
98
685
5.326531
0.591837
0.099617
0.061303
0
0
0
0
0
0
0
0
0.02623
0.109489
685
23
83
29.782609
0.829508
0.318248
0
0
0
0
0.052402
0.052402
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
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
71d0fd4625a3f29310594a80dc408cff1d45b254
1,196
py
Python
gamesystem.py
cristilianojr/JOKENPOH
604970d4f3cfbcc5f851e993af72d3bc86926ae5
[ "MIT" ]
1
2022-02-02T15:23:00.000Z
2022-02-02T15:23:00.000Z
gamesystem.py
cristilianojr/JOKENPOH
604970d4f3cfbcc5f851e993af72d3bc86926ae5
[ "MIT" ]
null
null
null
gamesystem.py
cristilianojr/JOKENPOH
604970d4f3cfbcc5f851e993af72d3bc86926ae5
[ "MIT" ]
null
null
null
import random from tkinter import PhotoImage """ Esse arquivo define os estados do game """ def ia_chocer(): """IA faz a escolha de um numero aleatório""" posibility = ['rock', 'paper', 'scissor'] value = posibility[random.randint(0, 2)] return value def battle_verification(player_choice, ia_choic...
23
50
0.598662
123
1,196
5.601626
0.341463
0.287373
0.104499
0.060958
0.502177
0.502177
0
0
0
0
0
0.002372
0.295151
1,196
51
51
23.45098
0.814947
0.032609
0
0.6
0
0
0.119854
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71dbada9e9753ae2bf8f715ece9e73e4bfe13daa
418
py
Python
google_search.py
Jaram2019/minwoo
d98ce8a84675281e237368cbe97d8a2120ce5840
[ "MIT" ]
null
null
null
google_search.py
Jaram2019/minwoo
d98ce8a84675281e237368cbe97d8a2120ce5840
[ "MIT" ]
null
null
null
google_search.py
Jaram2019/minwoo
d98ce8a84675281e237368cbe97d8a2120ce5840
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup import re rq = requests.get("https://play.google.com/store/apps/category/GAME_MUSIC?hl=ko") rqctnt = rq.content soup = BeautifulSoup(rqctnt,"html.parser") soup = soup.find_all(attrs={'class':'title'}) blacklsit = ["앱","영화/TV","음악","도서","기기","엔터테인먼트","음악"] for link in sou...
24.588235
81
0.674641
62
418
4.516129
0.741935
0.057143
0.092857
0
0
0
0
0
0
0
0
0.002801
0.145933
418
16
82
26.125
0.781513
0
0
0
0
0
0.241627
0
0
0
0
0
0
1
0
false
0.076923
0.230769
0
0.230769
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
71e26509acc4657f75e6829c9ddc1b7eeabb62a1
2,530
py
Python
Files/joinfiles.py
LeoCruzG/4chan-thread-downloader
d449e50fc7f2a6273a11da3d8ff2f46aad4951d2
[ "MIT" ]
null
null
null
Files/joinfiles.py
LeoCruzG/4chan-thread-downloader
d449e50fc7f2a6273a11da3d8ff2f46aad4951d2
[ "MIT" ]
null
null
null
Files/joinfiles.py
LeoCruzG/4chan-thread-downloader
d449e50fc7f2a6273a11da3d8ff2f46aad4951d2
[ "MIT" ]
null
null
null
# Importamos la librería para leer archivos json import json # Abrimos el archivo master en modo lectura ('r') con todos los id de los archivos descargados with open('master.json', 'r') as f: # Guardamos en la variable lista el contenido de master lista = json.load(f) # En este ejemplo se representa cómo se a...
42.166667
94
0.633992
334
2,530
4.805389
0.428144
0.02243
0.028037
0.02243
0.041122
0.041122
0.041122
0.041122
0
0
0
0.010957
0.314625
2,530
60
95
42.166667
0.914072
0.613043
0
0.291667
0
0
0.052576
0
0
0
0
0.016667
0
1
0
false
0
0.041667
0
0.041667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
71e353fb7e64c4a4a126f497726d3763f4f1a40c
2,860
py
Python
pycopula/archimedean_generators.py
SvenSerneels/pycopula
27c703ab0d25356f6e78b7cc16c8ece1ed80f871
[ "Apache-2.0" ]
2
2020-05-09T21:08:34.000Z
2021-02-23T06:58:51.000Z
pycopula/archimedean_generators.py
SvenSerneels/pycopula
27c703ab0d25356f6e78b7cc16c8ece1ed80f871
[ "Apache-2.0" ]
null
null
null
pycopula/archimedean_generators.py
SvenSerneels/pycopula
27c703ab0d25356f6e78b7cc16c8ece1ed80f871
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This file contains the generators and their inverses for common archimedean copulas. """ import numpy as np def boundsConditions(x): if x < 0 or x > 1: raise ValueError("Unable to compute generator for x equals to {}".format(x)) def claytonGenerator(...
37.142857
114
0.642308
432
2,860
4.252315
0.199074
0.052259
0.127382
0.176375
0.641807
0.62221
0.62221
0.592814
0.592814
0.584105
0
0.028195
0.231119
2,860
76
115
37.631579
0.807185
0.044406
0
0.508772
0
0
0.330515
0
0
0
0
0
0
1
0.192982
false
0
0.017544
0
0.385965
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
e07cfc67fee77a3b15475a7b5db3f7fe4ab08200
14,515
py
Python
rbc/libfuncs.py
plures/rbc
57c170c148000e7b56f0cda2f0dbea7bdcfa0e1b
[ "BSD-3-Clause" ]
1
2019-02-15T14:14:58.000Z
2019-02-15T14:14:58.000Z
rbc/libfuncs.py
plures/rbc
57c170c148000e7b56f0cda2f0dbea7bdcfa0e1b
[ "BSD-3-Clause" ]
null
null
null
rbc/libfuncs.py
plures/rbc
57c170c148000e7b56f0cda2f0dbea7bdcfa0e1b
[ "BSD-3-Clause" ]
null
null
null
"""Collections of library function names. """ class Library: """Base class for a collection of library function names. """ @staticmethod def get(libname, _cache={}): if libname in _cache: return _cache[libname] if libname == 'stdlib': r = Stdlib() elif ...
46.822581
98
0.759904
1,884
14,515
5.737261
0.420913
0.080859
0.028865
0.006291
0.073365
0.064113
0.058932
0.042557
0.02979
0.019243
0
0.019511
0.180779
14,515
309
99
46.97411
0.889496
0.060558
0
0.066116
0
0.004132
0.824235
0.187986
0
0
0
0
0
1
0.033058
false
0
0
0.004132
0.190083
0.008264
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e086489d041ecf108f68b331e71375202940ac34
2,768
py
Python
.leetcode/506.relative-ranks.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/506.relative-ranks.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/506.relative-ranks.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=506 lang=python3 # # [506] Relative Ranks # # https://leetcode.com/problems/relative-ranks/description/ # # algorithms # Easy (53.46%) # Likes: 188 # Dislikes: 9 # Total Accepted: 71.1K # Total Submissions: 132.4K # Testcase Example: '[5,4,3,2,1]' # # You are given an integer array score of...
22.322581
79
0.600795
437
2,768
3.784897
0.299771
0.050786
0.048368
0.009674
0.345224
0.232164
0.079807
0.079807
0
0
0
0.046154
0.225072
2,768
124
80
22.322581
0.724942
0.566835
0
0.25
0
0
0.230427
0
0
0
0
0
0
1
0.0625
false
0.03125
0.03125
0
0.21875
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e086d33095f9872583586fa709b215338a8bb617
8,084
py
Python
application/core/migrations/0001_initial.py
victor-freitas/ProjetoNCS
7c80fad11e49f4ed00eefb90638730d340d78e1f
[ "Apache-2.0" ]
null
null
null
application/core/migrations/0001_initial.py
victor-freitas/ProjetoNCS
7c80fad11e49f4ed00eefb90638730d340d78e1f
[ "Apache-2.0" ]
2
2020-06-05T18:58:17.000Z
2021-06-10T20:50:12.000Z
application/core/migrations/0001_initial.py
victor-freitas/ProjetoNCS
7c80fad11e49f4ed00eefb90638730d340d78e1f
[ "Apache-2.0" ]
1
2018-09-17T18:14:18.000Z
2018-09-17T18:14:18.000Z
# Generated by Django 2.0.6 on 2018-06-17 04:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cliente', fields=[ ('id', models.SmallInteg...
44.662983
120
0.530678
743
8,084
5.578735
0.129206
0.111942
0.106635
0.14427
0.783353
0.629674
0.591797
0.591797
0.591797
0.566224
0
0.018069
0.322241
8,084
180
121
44.911111
0.738456
0.005567
0
0.653179
1
0
0.144581
0
0
0
0
0
0
1
0
false
0
0.00578
0
0.028902
0
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
e088029d2dd84f5afa6eb4738d0ecbd65b7b7d99
3,718
py
Python
awacs/proton.py
alanjjenkins/awacs
0065e1833eae6a6070edb4ab4f180fd10b26c19a
[ "BSD-2-Clause" ]
null
null
null
awacs/proton.py
alanjjenkins/awacs
0065e1833eae6a6070edb4ab4f180fd10b26c19a
[ "BSD-2-Clause" ]
null
null
null
awacs/proton.py
alanjjenkins/awacs
0065e1833eae6a6070edb4ab4f180fd10b26c19a
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2012-2021, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. from .aws import Action as BaseAction from .aws import BaseARN service_name = "AWS Proton" prefix = "proton" class Action(BaseAction): def __init__(self, action: str = None) -> None: super(...
49.573333
88
0.839161
221
3,718
14.040724
0.393665
0.005156
0.008379
0
0
0
0
0
0
0
0
0.002323
0.073696
3,718
74
89
50.243243
0.898664
0.02851
0
0
0
0
0.343222
0.252287
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
0
0
0
1
null
0
0
0
0
0
0
0
0
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
e08bf2bd2a9a71b40e56dae49102323a555d5695
3,664
py
Python
test/unit/mysql_class/slaverep_isslverror.py
deepcoder42/mysql-lib
d3d2459e0476fdbc4465e1d9389612e58d36fb25
[ "MIT" ]
1
2022-03-23T04:53:19.000Z
2022-03-23T04:53:19.000Z
test/unit/mysql_class/slaverep_isslverror.py
deepcoder42/mysql-lib
d3d2459e0476fdbc4465e1d9389612e58d36fb25
[ "MIT" ]
null
null
null
test/unit/mysql_class/slaverep_isslverror.py
deepcoder42/mysql-lib
d3d2459e0476fdbc4465e1d9389612e58d36fb25
[ "MIT" ]
null
null
null
#!/usr/bin/python # Classification (U) """Program: slaverep_isslverror.py Description: Unit testing of SlaveRep.is_slv_error in mysql_class.py. Usage: test/unit/mysql_class/slaverep_isslverror.py Arguments: """ # Libraries and Global Variables # Standard import sys import os if sys.version...
24.264901
74
0.570142
411
3,664
4.800487
0.23601
0.035479
0.030411
0.038013
0.482007
0.430309
0.430309
0.376077
0.35631
0.35631
0
0.003769
0.348253
3,664
150
75
24.426667
0.822446
0.283297
0
0.482143
0
0
0.037869
0
0
0
0
0
0.071429
1
0.089286
false
0.089286
0.125
0
0.232143
0
0
0
0
null
0
0
0
0
0
0
0
0
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
e09320dd89276dff3fa36b0f354e1b3cd7cffc60
1,767
py
Python
Python2/src/main.py
nataddrho/digicueblue
246c87129e6a70d384b1553688672bb3d5c6643e
[ "MIT" ]
8
2017-11-02T16:04:15.000Z
2021-11-21T18:36:18.000Z
Python2/src/main.py
nataddrho/digicueblue
246c87129e6a70d384b1553688672bb3d5c6643e
[ "MIT" ]
2
2018-01-09T15:15:12.000Z
2018-10-11T23:56:59.000Z
Python2/src/main.py
nataddrho/digicueblue
246c87129e6a70d384b1553688672bb3d5c6643e
[ "MIT" ]
5
2018-01-08T16:06:45.000Z
2021-11-21T19:50:20.000Z
#!/usr/bin/env python # Nathan Rhoades 10/13/2017 import serial import serialport import bgapi import gui import digicueblue import traceback import time import threading import sys if sys.version_info[0] < 3: import Tkinter as Tk else: import tkinter as Tk class App(threading.Thread): # thread GUI to tha...
24.887324
88
0.612903
219
1,767
4.853881
0.493151
0.030103
0.028222
0.031985
0
0
0
0
0
0
0
0.016706
0.288625
1,767
70
89
25.242857
0.828958
0.090549
0
0.150943
0
0
0.167915
0
0
0
0
0
0
0
null
null
0.018868
0.207547
null
null
0.09434
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e098554863c066d539fc03234656fd767444cd09
477
py
Python
webapp/ex.py
jykim-rust/python
50efe51733976d9f8ae3be47d628601ad002d836
[ "MIT" ]
null
null
null
webapp/ex.py
jykim-rust/python
50efe51733976d9f8ae3be47d628601ad002d836
[ "MIT" ]
null
null
null
webapp/ex.py
jykim-rust/python
50efe51733976d9f8ae3be47d628601ad002d836
[ "MIT" ]
null
null
null
from flask import escape '''with open('ex') as full: for line in full: print(line,end='**') ''' ''' a=[] with open('ex') as full: for line in full: a.append(line.split('|')) print(a) ''' ''' with open('ex') as full: for line in full.readline(): print(line) ''' contents=[] with o...
14.90625
36
0.540881
66
477
3.909091
0.318182
0.124031
0.155039
0.186047
0.344961
0.344961
0.344961
0.344961
0.344961
0.232558
0
0
0.27044
477
31
37
15.387097
0.741379
0.039832
0
0
0
0
0.016129
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
e09cac0b5e9ae4638a705a4871a79857b3f43a52
1,049
py
Python
analysis/migrations/0032_auto_20210409_1333.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
analysis/migrations/0032_auto_20210409_1333.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
analysis/migrations/0032_auto_20210409_1333.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
# Generated by Django 3.1.3 on 2021-04-09 04:03 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('snpdb', '0030_one_off_fix_cohort_sample_order'), ('analysis', '0031_auto_20210331_1826'), ] operations = [ ...
33.83871
163
0.613918
115
1,049
5.452174
0.556522
0.051037
0.066986
0.105263
0.318979
0.318979
0.188198
0.188198
0.188198
0.188198
0
0.045226
0.241182
1,049
30
164
34.966667
0.742462
0.042898
0
0.333333
1
0
0.215569
0.058882
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0a616cc9e84aa1cf90226b12de930157c9cb478
2,538
py
Python
src/Products/Five/viewlet/viewlet.py
rbanffy/Zope
ecf6770219052e7c7f8c9634ddf187a1e6280742
[ "ZPL-2.1" ]
289
2015-01-05T12:38:21.000Z
2022-03-05T21:20:39.000Z
src/Products/Five/viewlet/viewlet.py
rbanffy/Zope
ecf6770219052e7c7f8c9634ddf187a1e6280742
[ "ZPL-2.1" ]
732
2015-02-09T23:35:57.000Z
2022-03-31T09:10:13.000Z
src/Products/Five/viewlet/viewlet.py
rbanffy/Zope
ecf6770219052e7c7f8c9634ddf187a1e6280742
[ "ZPL-2.1" ]
102
2015-01-12T14:03:35.000Z
2022-03-30T11:02:44.000Z
############################################################################## # # Copyright (c) 2006 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
29.511628
78
0.648542
267
2,538
6.044944
0.434457
0.040892
0.066915
0.022305
0.154895
0.154895
0.096654
0.096654
0.096654
0.096654
0
0.002948
0.198188
2,538
85
79
29.858824
0.790172
0.306147
0
0.166667
0
0
0.092249
0.013453
0
0
0
0
0
1
0.083333
false
0.111111
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
1
0
0
0
0
0
1
e0a621c3b559223c04896e67f79d61f3971a7ebf
920
py
Python
problema21.py
bptfreitas/Project-Euler
02b3ef8f8e3754b886b266fcd5eee7fd00d97dde
[ "MIT" ]
null
null
null
problema21.py
bptfreitas/Project-Euler
02b3ef8f8e3754b886b266fcd5eee7fd00d97dde
[ "MIT" ]
null
null
null
problema21.py
bptfreitas/Project-Euler
02b3ef8f8e3754b886b266fcd5eee7fd00d97dde
[ "MIT" ]
null
null
null
#Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). #If d(a) = b and d(b) = a, where a b, then a and b are an amicable pair and each of a and b are called amicable numbers. #For example, the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110; th...
20.444444
181
0.661957
185
920
3.275676
0.394595
0.024752
0.079208
0.026403
0.069307
0
0
0
0
0
0
0.095041
0.21087
920
44
182
20.909091
0.739669
0.501087
0
0
0
0
0.0837
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.272727
0
0
0
null
0
0
0
0
0
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
e0a906006c6cdb005397afa90c409162626abaca
536
py
Python
tkinter_examples/draw_chess_board.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
tkinter_examples/draw_chess_board.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
tkinter_examples/draw_chess_board.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' from tkinter import * root = Tk() root.title('Chess board') canvas = Canvas(root, width=700, height=700, bg='#fff') canvas.pack() fill = '#fff' outline = '#000' size = 88 for i in range(8): for j in range(8): x1, y1, x2, y2 = i * ...
18.482759
77
0.606343
80
536
4
0.5125
0.103125
0.16875
0.20625
0.1625
0
0
0
0
0
0
0.05569
0.229478
536
28
78
19.142857
0.719128
0.080224
0
0.125
0
0
0.063136
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
e0b07a325b5b8caffedac977ee80452502819e41
4,103
py
Python
reproducing/generator_datacreation/data/readers/SEReader.py
UKPLab/emnlp2019-duplicate_question_detection
17a9d97c2414666fcc08015a58619fe9722daf2b
[ "Apache-2.0" ]
5
2019-09-30T11:09:39.000Z
2020-07-17T07:32:17.000Z
reproducing/generator_datacreation/data/readers/SEReader.py
UKPLab/emnlp2019-duplicate_question_detection
17a9d97c2414666fcc08015a58619fe9722daf2b
[ "Apache-2.0" ]
1
2020-07-17T07:32:46.000Z
2020-07-17T07:34:19.000Z
reproducing/generator_datacreation/data/readers/SEReader.py
UKPLab/emnlp2019-duplicate_question_detection
17a9d97c2414666fcc08015a58619fe9722daf2b
[ "Apache-2.0" ]
2
2020-04-09T01:27:50.000Z
2022-03-12T07:53:15.000Z
import logging import subprocess import xml.etree.ElementTree as ET from tqdm import tqdm logger = logging.getLogger('root') POST_TYPE_QUESTION = '1' POST_TYPE_ANSWER = '2' class SEDataReader(object): """ NOTE: - a typical xml string for question in original data looks like <row Id="4"...
55.445946
1,284
0.604436
562
4,103
4.265125
0.371886
0.012516
0.020859
0.014602
0.112641
0.10096
0.076763
0
0
0
0
0.035857
0.265903
4,103
73
1,285
56.205479
0.75996
0.341945
0
0.102041
0
0
0.08509
0
0
0
0
0
0
1
0.081633
false
0
0.081633
0.020408
0.285714
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0b36f9e11e7c9c01752718dbe837832a4596d2c
533
py
Python
sra_django_api/user/migrations/0003_auto_20180914_1242.py
tflati/ncbi-search
2f31c57ffb95c2c874b65c03c58edd96eb822dfb
[ "MIT" ]
null
null
null
sra_django_api/user/migrations/0003_auto_20180914_1242.py
tflati/ncbi-search
2f31c57ffb95c2c874b65c03c58edd96eb822dfb
[ "MIT" ]
null
null
null
sra_django_api/user/migrations/0003_auto_20180914_1242.py
tflati/ncbi-search
2f31c57ffb95c2c874b65c03c58edd96eb822dfb
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-09-14 12:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0002_project'), ] operations = [ migrations.RenameField( model_name='project', old_name='file_path', ...
22.208333
58
0.572233
55
533
5.363636
0.745455
0.061017
0.108475
0
0
0
0
0
0
0
0
0.052055
0.315197
533
23
59
23.173913
0.756164
0.084428
0
0.235294
1
0
0.125514
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0b6b0833654d657edf6b38b5e343a5dbb47c6d9
825
py
Python
text.py
Kedyn/PingPong
47e39a9d30e1a3a7b828c5b5e85b0666d67b0d7b
[ "MIT" ]
null
null
null
text.py
Kedyn/PingPong
47e39a9d30e1a3a7b828c5b5e85b0666d67b0d7b
[ "MIT" ]
null
null
null
text.py
Kedyn/PingPong
47e39a9d30e1a3a7b828c5b5e85b0666d67b0d7b
[ "MIT" ]
null
null
null
import pygame.font import copy class Text: """Draws a text to the screen.""" def __init__(self, rect, size, color, screen, text): self.screen = screen self.rect = copy.deepcopy(rect) self.text = text self.color = color self.font = pygame.font.SysFont(None, size) ...
27.5
76
0.604848
111
825
4.324324
0.315315
0.166667
0.216667
0.141667
0
0
0
0
0
0
0
0
0.293333
825
29
77
28.448276
0.823328
0.109091
0
0
0
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.315789
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
e0ba84d4c91d76772295ffa29072d6de02d1a1ae
4,516
py
Python
analyzer/BannerTool.py
Gr1ph00n/staticwebanalyzer
8bf6337a77192b85913d75778830ccbb9006081f
[ "MIT" ]
null
null
null
analyzer/BannerTool.py
Gr1ph00n/staticwebanalyzer
8bf6337a77192b85913d75778830ccbb9006081f
[ "MIT" ]
null
null
null
analyzer/BannerTool.py
Gr1ph00n/staticwebanalyzer
8bf6337a77192b85913d75778830ccbb9006081f
[ "MIT" ]
null
null
null
#FILE NAME: BannerTool.py #created by: Ciro Veneruso #purpose: banner localization #last edited by: Ciro Veneruso #INSTALL: BeautifulSoup #TODO: this code is a blob, must be refactorized!!!! import re import mechanize import socket import urllib from tools import BaseTool from bs4 import BeautifulSoup from pprint i...
31.802817
125
0.601639
542
4,516
4.933579
0.249077
0.044877
0.049364
0.02917
0.148841
0.133882
0.090501
0.090501
0.090501
0.07255
0
0.006454
0.245128
4,516
141
126
32.028369
0.777941
0.077059
0
0.118812
0
0
0.158855
0.005894
0
0
0
0.007092
0
0
null
null
0
0.118812
null
null
0.128713
0
0
0
null
0
0
0
0
0
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
e0bb4548a5ce53a84a9faca646cafe6530aa2def
12,725
py
Python
app/AccountManagment.py
fredpan/Prosopagnosia_Web_Server
b56b58eccdbbde6b158802d49f7bcc1b44b18b69
[ "Apache-2.0" ]
null
null
null
app/AccountManagment.py
fredpan/Prosopagnosia_Web_Server
b56b58eccdbbde6b158802d49f7bcc1b44b18b69
[ "Apache-2.0" ]
null
null
null
app/AccountManagment.py
fredpan/Prosopagnosia_Web_Server
b56b58eccdbbde6b158802d49f7bcc1b44b18b69
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 EraO Prosopagnosia Helper Dev Team, Liren Pan, Yixiao Hong, Hongzheng Xu, Stephen Huang, Tiancong Wang # # Supervised by Prof. Steve Mann (http://www.eecg.toronto.edu/~mann/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with th...
41.9967
124
0.659018
1,612
12,725
5.115385
0.200372
0.029469
0.022071
0.03153
0.360296
0.309483
0.279529
0.233447
0.233447
0.223502
0
0.008575
0.202672
12,725
302
125
42.135762
0.804159
0.376503
0
0.272059
0
0.007353
0.220709
0.038156
0
0
0
0
0
1
0.066176
false
0.191176
0.066176
0
0.272059
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
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
e0d2d2e5b75b0d0e7b995b20657ba25ef18190ee
1,351
py
Python
login.py
harryzcy/canvas-file-syncer
16b98ee164df8570605b1a274c02f0dc7403730e
[ "MIT" ]
null
null
null
login.py
harryzcy/canvas-file-syncer
16b98ee164df8570605b1a274c02f0dc7403730e
[ "MIT" ]
null
null
null
login.py
harryzcy/canvas-file-syncer
16b98ee164df8570605b1a274c02f0dc7403730e
[ "MIT" ]
null
null
null
import time from config import get_password, get_username from playwright.sync_api import Page def login(page: Page, url: str, landing_url: str): raise RuntimeError("default login not supported") def login_kenan_flagler(page: Page, url: str, landing_url: str) -> None: page.goto(url) page.wait_for_load_...
29.369565
78
0.635085
177
1,351
4.745763
0.40678
0.117857
0.066667
0.114286
0.334524
0.19881
0.157143
0
0
0
0
0.005515
0.194671
1,351
45
79
30.022222
0.766544
0.009623
0
0.1875
0
0
0.155689
0
0
0
0
0
0.03125
1
0.0625
false
0.0625
0.09375
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
1
0
0
0
0
0
1
e0d3e0406d466ee1eb3c15b25d95347feecab756
1,265
py
Python
custom_components/ge_home/entities/common/ge_water_heater.py
olds/ha_gehome
5cb24deab64bcade45861da0497a84631845922c
[ "MIT" ]
41
2021-08-02T02:15:54.000Z
2022-03-30T11:11:42.000Z
custom_components/ge_home/entities/common/ge_water_heater.py
olds/ha_gehome
5cb24deab64bcade45861da0497a84631845922c
[ "MIT" ]
46
2021-08-03T02:20:59.000Z
2022-03-30T11:17:15.000Z
custom_components/ge_home/entities/common/ge_water_heater.py
olds/ha_gehome
5cb24deab64bcade45861da0497a84631845922c
[ "MIT" ]
15
2021-08-31T00:21:33.000Z
2022-03-30T12:53:21.000Z
import abc import logging from typing import Any, Dict, List, Optional from homeassistant.components.water_heater import WaterHeaterEntity from homeassistant.const import ( TEMP_FAHRENHEIT, TEMP_CELSIUS ) from gehomesdk import ErdCode, ErdMeasurementUnits from ...const import DOMAIN from .ge_erd_entity import ...
28.111111
83
0.728854
144
1,265
6.194444
0.458333
0.073991
0.060538
0.078475
0.150224
0.065022
0.065022
0
0
0
0
0
0.192885
1,265
44
84
28.75
0.873653
0.052964
0
0.264706
0
0
0.079698
0.062081
0
0
0
0
0
1
0.176471
false
0
0.235294
0.058824
0.558824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e0d9891ebc981dc1dd6b1f55b9d60d1a276b4e1d
1,283
py
Python
setup.py
Cloudlock/bravado
bacf49ea9d791ec9f564a3a141c77995d2f395b0
[ "BSD-3-Clause" ]
null
null
null
setup.py
Cloudlock/bravado
bacf49ea9d791ec9f564a3a141c77995d2f395b0
[ "BSD-3-Clause" ]
2
2016-12-14T07:33:33.000Z
2017-05-11T13:40:48.000Z
setup.py
Cloudlock/bravado
bacf49ea9d791ec9f564a3a141c77995d2f395b0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2013, Digium, Inc. # Copyright (c) 2014-2016, Yelp, Inc. import os from setuptools import setup import bravado setup( name="bravado", # cloudlock version, no twisted dependency version=bravado.version + "cl", license="BSD 3-Clause License", description="Lib...
29.159091
71
0.59392
136
1,283
5.536765
0.654412
0.075697
0.099602
0.069057
0
0
0
0
0
0
0
0.024262
0.261107
1,283
43
72
29.837209
0.770042
0.101325
0
0.057143
0
0
0.482158
0.023499
0
0
0
0
0
1
0
true
0
0.085714
0
0.085714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e0daa9911332d847f463b64cda5a0ec1b5c5fe82
562
py
Python
server/website/website/migrations/0003_background_task_optimization.py
mjain2/ottertune
011e896bf89df831fb1189b1ab4c9a7d7dca420a
[ "Apache-2.0" ]
1
2019-08-16T19:35:35.000Z
2019-08-16T19:35:35.000Z
server/website/website/migrations/0003_background_task_optimization.py
mjain2/ottertune
011e896bf89df831fb1189b1ab4c9a7d7dca420a
[ "Apache-2.0" ]
null
null
null
server/website/website/migrations/0003_background_task_optimization.py
mjain2/ottertune
011e896bf89df831fb1189b1ab4c9a7d7dca420a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2018-08-02 07:58 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('website', '0002_enable_compression'), ] operations...
25.545455
129
0.631673
62
562
5.596774
0.758065
0.04611
0
0
0
0
0
0
0
0
0
0.057737
0.229537
562
21
130
26.761905
0.743649
0.120996
0
0
1
0
0.144603
0.046843
0
0
0
0
0
1
0
false
0
0.214286
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0e302f950371ae0056fe68d4bc413f86d8a3bb5
1,180
py
Python
tests/pure-req.py
rbanffy/bjoern
b177b62aa626cee97972a2e73f8543e6d86b5eb7
[ "BSD-2-Clause" ]
2,326
2015-01-05T21:20:29.000Z
2022-03-31T15:42:24.000Z
tests/pure-req.py
rbanffy/bjoern
b177b62aa626cee97972a2e73f8543e6d86b5eb7
[ "BSD-2-Clause" ]
127
2015-04-09T03:33:17.000Z
2022-03-11T13:43:55.000Z
tests/pure-req.py
rbanffy/bjoern
b177b62aa626cee97972a2e73f8543e6d86b5eb7
[ "BSD-2-Clause" ]
190
2015-01-20T10:54:38.000Z
2022-02-23T05:45:45.000Z
import sys import socket conn = socket.create_connection(('0.0.0.0', 8080)) msgs = [ # 0 Keep-Alive, Transfer-Encoding chunked 'GET / HTTP/1.1\r\nConnection: Keep-Alive\r\n\r\n', # 1,2,3 Close, EOF "encoding" 'GET / HTTP/1.1\r\n\r\n', 'GET / HTTP/1.1\r\nConnection: close\r\n\r\n', 'GET / HTTP/...
28.780488
70
0.580508
232
1,180
2.935345
0.344828
0.073421
0.052863
0.064611
0.38326
0.358297
0.28047
0.215859
0.140969
0.099853
0
0.076514
0.202542
1,180
40
71
29.5
0.647184
0.128814
0
0
0
0.269231
0.557409
0.168793
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0e46a7c483f2f163fea7d76f7af991fbac7e1d8
1,167
py
Python
stack.py
henryoliver/data-structures
eb3d709543ace5197236164998b8295e72187cb0
[ "MIT" ]
null
null
null
stack.py
henryoliver/data-structures
eb3d709543ace5197236164998b8295e72187cb0
[ "MIT" ]
null
null
null
stack.py
henryoliver/data-structures
eb3d709543ace5197236164998b8295e72187cb0
[ "MIT" ]
null
null
null
class Stack: def __init__(self): self.stack = [] self.minMaxStack = [] # O(1) time | O(1) space def peek(self): if (len(self.stack)): return self.stack[-1] return None # O(1) time | O(1) space def pop(self): if (len(self.stack)): sel...
22.882353
55
0.533847
138
1,167
4.485507
0.210145
0.242326
0.048465
0.056543
0.416801
0.358643
0.358643
0.332795
0.332795
0
0
0.023316
0.338475
1,167
50
56
23.34
0.778497
0.107112
0
0.28125
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0
0
0.46875
0.0625
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0e6d5767d002512b6411fc77a77af2956e16766
19,876
py
Python
graph-to-graph/elf_correlate.py
mbrcknl/graph-refine
78c74f18127db53606f18f775a5a50de86bc6b97
[ "BSD-2-Clause", "MIT" ]
6
2017-03-17T17:57:48.000Z
2019-12-28T13:03:23.000Z
graph-to-graph/elf_correlate.py
myuluo/graph-refine
8924af0c61c3c863db7957e0ebac7ae1ceefad9d
[ "BSD-2-Clause", "MIT" ]
3
2020-04-07T09:15:55.000Z
2022-03-23T01:36:26.000Z
graph-to-graph/elf_correlate.py
myuluo/graph-refine
8924af0c61c3c863db7957e0ebac7ae1ceefad9d
[ "BSD-2-Clause", "MIT" ]
7
2020-04-16T00:32:41.000Z
2022-03-09T05:25:23.000Z
# # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # # SPDX-License-Identifier: BSD-2-Clause # import re import graph_refine.syntax as syntax import graph_refine.problem as problem import graph_refine.stack_logic as stack_logic from graph_refine.syntax import true_term, false_term, mk_not from graph_refine.check i...
33.574324
132
0.550513
2,886
19,876
3.563063
0.119543
0.027132
0.007877
0.008169
0.25158
0.188272
0.136439
0.126617
0.112516
0.095984
0
0.005503
0.350875
19,876
591
133
33.631134
0.791505
0.098209
0
0.295652
0
0
0.028772
0
0
0
0
0.003384
0.063043
0
null
null
0
0.032609
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
e0f788d3a6de0a5319ec594f010d2fc7e6bb3c93
3,206
py
Python
third_party/logging.py
sweeneyb/iot-core-micropython
7fc341902fbf8fa587f0dc3aa10c0803a5e0d6a5
[ "Apache-2.0" ]
50
2019-06-12T22:30:43.000Z
2022-02-22T18:30:26.000Z
third_party/logging.py
cashoefman/Resto-Score-for-Hack-2021-for-Positivity
cb3227c8db4b1be0e46cfe4b8d3973c1af4fe49b
[ "Apache-2.0" ]
12
2019-07-05T09:39:45.000Z
2022-03-12T05:45:01.000Z
third_party/logging.py
cashoefman/Resto-Score-for-Hack-2021-for-Positivity
cb3227c8db4b1be0e46cfe4b8d3973c1af4fe49b
[ "Apache-2.0" ]
16
2019-06-13T09:12:24.000Z
2022-03-12T05:47:22.000Z
# MIT License # # Copyright (c) 2019 Johan Brichau # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
27.637931
80
0.647224
446
3,206
4.585202
0.343049
0.06846
0.037653
0.04401
0.114425
0.056724
0.025428
0
0
0
0
0.006664
0.251092
3,206
115
81
27.878261
0.845065
0.333437
0
0.056338
0
0
0.061939
0
0
0
0
0
0
1
0.225352
false
0
0.014085
0.014085
0.338028
0.070423
0
0
0
null
0
0
0
0
0
0
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
e0f88df1e0c707f34a922f07d69b31d76bda43ee
536
py
Python
assessments/migrations/0003_auto_20210212_1943.py
acounsel/django_msat
86a54e43429001cb6433e28b294d6b8a94b97e6e
[ "MIT" ]
null
null
null
assessments/migrations/0003_auto_20210212_1943.py
acounsel/django_msat
86a54e43429001cb6433e28b294d6b8a94b97e6e
[ "MIT" ]
null
null
null
assessments/migrations/0003_auto_20210212_1943.py
acounsel/django_msat
86a54e43429001cb6433e28b294d6b8a94b97e6e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-12 19:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('assessments', '0002_auto_20210212_1904'), ] operations = [ migrations.AlterField( model_name='country', name='region...
28.210526
195
0.600746
57
536
5.561404
0.807018
0
0
0
0
0
0
0
0
0
0
0.082324
0.229478
536
18
196
29.777778
0.68523
0.083955
0
0
1
0
0.220859
0.047035
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0f9f1296b023c0d6516cc11729dc5f2eb6ecdd7
4,291
py
Python
sdk/python/tests/dsl/metadata_tests.py
ConverJens/pipelines
a1d453af214ec9eebad73fb05845dd3499d60d00
[ "Apache-2.0" ]
6
2020-05-19T02:35:11.000Z
2020-05-29T17:58:42.000Z
sdk/python/tests/dsl/metadata_tests.py
ConverJens/pipelines
a1d453af214ec9eebad73fb05845dd3499d60d00
[ "Apache-2.0" ]
1,932
2021-01-25T11:23:37.000Z
2022-03-31T17:10:18.000Z
sdk/python/tests/dsl/metadata_tests.py
ConverJens/pipelines
a1d453af214ec9eebad73fb05845dd3499d60d00
[ "Apache-2.0" ]
11
2020-05-19T22:26:41.000Z
2021-01-25T09:56:21.000Z
# Copyright 2018 Google LLC # # 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 writing, ...
42.91
88
0.316476
240
4,291
5.595833
0.466667
0.047655
0.01936
0.023827
0.486969
0.486969
0.427401
0.427401
0.427401
0.427401
0
0.021053
0.601491
4,291
99
89
43.343434
0.764327
0.127709
0
0.256098
0
0
0.147761
0
0
0
0
0
0.012195
1
0.012195
false
0
0.02439
0
0.04878
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46023337d875860607f4a1fabbf53f963a80b88e
2,647
py
Python
users/migrations/0008_profile_fields_optional.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
10
2019-02-20T18:41:32.000Z
2021-07-26T10:39:58.000Z
users/migrations/0008_profile_fields_optional.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
2,226
2019-02-20T20:03:57.000Z
2022-03-31T11:18:56.000Z
users/migrations/0008_profile_fields_optional.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
4
2020-08-26T19:26:02.000Z
2021-03-09T17:46:47.000Z
# Generated by Django 2.2.3 on 2019-07-15 19:24 from django.db import migrations, models def backpopulate_incomplete_profiles(apps, schema): """Backpopulate users who don't have a profile record""" User = apps.get_model("users", "User") Profile = apps.get_model("users", "Profile") for user in User.o...
32.280488
87
0.574613
267
2,647
5.520599
0.397004
0.09498
0.118725
0.13772
0.423338
0.403664
0.28019
0.28019
0.28019
0.28019
0
0.01779
0.299207
2,647
81
88
32.679012
0.776819
0.066113
0
0.447761
1
0
0.09102
0.012597
0
0
0
0
0
1
0.029851
false
0
0.014925
0
0.089552
0
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
4602f7f46fb5876b81f698415a8de6581f32551a
2,827
py
Python
osr_stat_generator/generator.py
brian-thomas/osr_stat_generator
89f6a71e17c274befa3af7222a24c34a77f1f40e
[ "MIT" ]
null
null
null
osr_stat_generator/generator.py
brian-thomas/osr_stat_generator
89f6a71e17c274befa3af7222a24c34a77f1f40e
[ "MIT" ]
null
null
null
osr_stat_generator/generator.py
brian-thomas/osr_stat_generator
89f6a71e17c274befa3af7222a24c34a77f1f40e
[ "MIT" ]
null
null
null
""" OSR (LOTFP) stat generator. """ import random def d(num_sides): """ Represents rolling a die of size 'num_sides'. Returns random number from that size die """ return random.randint(1, num_sides) def xdy(num_dice, num_sides): """ represents rolling num_dice of size num_sides. Re...
22.798387
81
0.562434
371
2,827
4.110512
0.277628
0.031475
0.011803
0.021639
0.095738
0.076066
0.05377
0.05377
0.05377
0
0
0.017923
0.328971
2,827
123
82
22.98374
0.785978
0.161655
0
0.072464
0
0
0.014499
0
0
0
0
0
0
1
0.202899
false
0
0.014493
0.072464
0.492754
0
0
0
0
null
0
0
0
0
0
0
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
460510280808ce5edf4deb0f4ea853f4de886f05
4,149
py
Python
TextRank/textrank.py
nihanjali/PageRank
baea9d89fb962fd1311a61127123bf36d9d2dd38
[ "Apache-2.0" ]
null
null
null
TextRank/textrank.py
nihanjali/PageRank
baea9d89fb962fd1311a61127123bf36d9d2dd38
[ "Apache-2.0" ]
null
null
null
TextRank/textrank.py
nihanjali/PageRank
baea9d89fb962fd1311a61127123bf36d9d2dd38
[ "Apache-2.0" ]
null
null
null
import os import sys import copy import collections import nltk import nltk.tokenize sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) import pagerank ''' textrank.py ----------- This module implements TextRank, an unsupervised keyword significance scoring algorithm. TextRank builds a...
33.731707
97
0.644493
460
4,149
5.721739
0.421739
0.009119
0.019377
0.028495
0.080547
0.080547
0.059271
0.038754
0.038754
0
0
0.004555
0.206315
4,149
122
98
34.008197
0.794716
0.096168
0
0.087719
0
0
0.084317
0.010118
0
0
0
0
0
0
null
null
0
0.122807
null
null
0.140351
0
0
0
null
0
0
0
0
0
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
460a17e5a2d4a382d4b56fd109a6fc2250ecd27e
535
py
Python
examples/index/context.py
rmorshea/viewdom
24c528642e9ef0179999936b2e6f3b8a9d770df8
[ "MIT" ]
null
null
null
examples/index/context.py
rmorshea/viewdom
24c528642e9ef0179999936b2e6f3b8a9d770df8
[ "MIT" ]
null
null
null
examples/index/context.py
rmorshea/viewdom
24c528642e9ef0179999936b2e6f3b8a9d770df8
[ "MIT" ]
null
null
null
from viewdom import html, render, use_context, Context expected = '<h1>My Todos</h1><ul><li>Item: first</li></ul>' # start-after title = 'My Todos' todos = ['first'] def Todo(label): prefix = use_context('prefix') return html('<li>{prefix}{label}</li>') def TodoList(todos): return html('<ul>{[Todo(lab...
20.576923
62
0.588785
74
535
4.22973
0.364865
0.067093
0.057508
0.070288
0.178914
0.178914
0.178914
0.178914
0.178914
0.178914
0
0.013544
0.171963
535
25
63
21.4
0.693002
0.11215
0
0
0
0
0.491525
0.099576
0
0
0
0.04
0
1
0.133333
false
0
0.066667
0.066667
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
460e42fc65b233b72dc53c72b8b11991e2b52abd
1,390
py
Python
snewpdag/plugins/Copy.py
SNEWS2/snewpdag
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
[ "BSD-3-Clause" ]
null
null
null
snewpdag/plugins/Copy.py
SNEWS2/snewpdag
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
[ "BSD-3-Clause" ]
21
2021-06-09T10:31:40.000Z
2022-03-21T17:14:03.000Z
snewpdag/plugins/Copy.py
SNEWS2/snewpdag
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
[ "BSD-3-Clause" ]
9
2021-07-11T17:45:42.000Z
2021-09-09T22:07:18.000Z
""" Copy - copy fields into other (possibly new) fields configuration: on: list of 'alert', 'revoke', 'report', 'reset' (optional: def 'alert' only) cp: ( (in,out), ... ) Field names take the form of dir1/dir2/dir3, which in the payload will be data[dir1][dir2][dir3] """ import logging from snewpdag.dag import N...
25.272727
79
0.576978
220
1,390
3.609091
0.345455
0.037783
0.070529
0.09068
0.232997
0.212846
0.141058
0
0
0
0
0.013917
0.276259
1,390
54
80
25.740741
0.775348
0.245324
0
0
0
0
0.061598
0
0
0
0
0
0
1
0.171429
false
0
0.057143
0.114286
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
460ec208b3e5e026467442540a94ba66de7fb38a
1,562
py
Python
pages/aboutus.py
BuildWeek-AirBnB-Optimal-Price/application
c65e1ec3db309dd3afbcf9429d16489ccda534d8
[ "MIT" ]
null
null
null
pages/aboutus.py
BuildWeek-AirBnB-Optimal-Price/application
c65e1ec3db309dd3afbcf9429d16489ccda534d8
[ "MIT" ]
1
2021-08-23T21:22:51.000Z
2021-08-23T21:22:51.000Z
pages/aboutus.py
BuildWeek-AirBnB-Optimal-Price/application
c65e1ec3db309dd3afbcf9429d16489ccda534d8
[ "MIT" ]
null
null
null
''' houses each team member's link to personal GitHub io or website or blog space RJProctor ''' # Imports from 3rd party libraries import dash import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from app import app ...
20.025641
77
0.518566
156
1,562
5.147436
0.628205
0.049813
0.052304
0.042341
0.054795
0
0
0
0
0
0
0.015707
0.388604
1,562
78
78
20.025641
0.825131
0.145327
0
0.315789
0
0
0
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
46114f85ae8065583b2a1f11692dfc71d3d35a86
480
py
Python
3. count_words/solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
3. count_words/solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
3. count_words/solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
import os from glob import iglob from concurrent.futures import ThreadPoolExecutor def count_words_file(path): if not os.path.isfile(path): return 0 with open(path) as file: return sum(len(line.split()) for line in file) def count_words_sequential(pattern): return sum(map(count_words_fil...
24
62
0.729167
69
480
4.927536
0.463768
0.147059
0.114706
0.1
0.170588
0.170588
0
0
0
0
0
0.002545
0.18125
480
19
63
25.263158
0.862595
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
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
4612f94a5e19222b82ccef62fa3f6a2d792d2930
2,617
py
Python
tests/test_apyhgnc.py
robertopreste/apyhgnc
26efa764a2262cfa12c8a2f0f077569e7f3e4e79
[ "MIT" ]
null
null
null
tests/test_apyhgnc.py
robertopreste/apyhgnc
26efa764a2262cfa12c8a2f0f077569e7f3e4e79
[ "MIT" ]
64
2019-04-21T09:22:01.000Z
2022-03-31T23:01:14.000Z
tests/test_apyhgnc.py
robertopreste/apyhgnc
26efa764a2262cfa12c8a2f0f077569e7f3e4e79
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Created by Roberto Preste import pytest import asyncio from pandas.testing import assert_frame_equal from apyhgnc import apyhgnc # apyhgnc.info def test_info_searchableFields(searchable_fields): result = apyhgnc.info().searchableFields assert result == searchab...
27.840426
69
0.762323
361
2,617
5.085873
0.152355
0.069717
0.095861
0.119826
0.679194
0.561547
0.510893
0.510893
0.510893
0.510893
0
0.007576
0.14253
2,617
93
70
28.139785
0.810606
0.042033
0
0.344828
0
0
0.047181
0
0
0
0
0
0.241379
1
0.224138
false
0
0.068966
0
0.293103
0
0
0
0
null
0
0
0
0
0
0
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
46134dbafabea71d237df09c989e61b23906b699
2,770
py
Python
bdaq/tools/extract_enums.py
magnium/pybdaq
8511cff42b7f953c105e7a78c8c62f6deb2430ec
[ "MIT" ]
null
null
null
bdaq/tools/extract_enums.py
magnium/pybdaq
8511cff42b7f953c105e7a78c8c62f6deb2430ec
[ "MIT" ]
null
null
null
bdaq/tools/extract_enums.py
magnium/pybdaq
8511cff42b7f953c105e7a78c8c62f6deb2430ec
[ "MIT" ]
1
2018-08-28T06:12:06.000Z
2018-08-28T06:12:06.000Z
import os.path import argparse from xml.etree import ElementTree as ET class ExtractedEnum(object): def __init__(self, tag_name, value_names): self.tag_name = tag_name self.value_names = value_names def write_pxd(self, file_): file_.write("\n ctypedef enum {}:\n".format(self.tag_n...
27.156863
78
0.640794
372
2,770
4.548387
0.268817
0.053191
0.026005
0.020095
0.191489
0.148936
0.148936
0.148936
0.148936
0.06383
0
0.001882
0.232852
2,770
101
79
27.425743
0.794353
0.048014
0
0.063492
0
0
0.203196
0
0
0
0
0
0
0
null
null
0
0.079365
null
null
0.047619
0
0
0
null
0
0
0
0
0
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
46138642b2c4dc6d2e31c500bf65e34679d07086
1,230
py
Python
Objetos/biblioteca.py
SebaB29/Python
8fe7b375e200d2a629e3ef83a2356002621267a6
[ "MIT" ]
null
null
null
Objetos/biblioteca.py
SebaB29/Python
8fe7b375e200d2a629e3ef83a2356002621267a6
[ "MIT" ]
null
null
null
Objetos/biblioteca.py
SebaB29/Python
8fe7b375e200d2a629e3ef83a2356002621267a6
[ "MIT" ]
null
null
null
class Libro: def __init__(self, titulo, autor): """...""" self.titulo = titulo self.autor = autor def obtener_titulo(self): """...""" return str(self.titulo) def obtener_autor(self): """...""" return str(self.autor) class Biblioteca: def...
27.954545
63
0.582927
141
1,230
4.950355
0.29078
0.110315
0.057307
0.048711
0.187679
0.083095
0
0
0
0
0
0.00431
0.245528
1,230
44
64
27.954545
0.747845
0.021951
0
0.066667
0
0
0.098459
0
0
0
0
0
0
1
0.233333
false
0
0
0
0.433333
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
0
1
0
0
0
0
0
0
0
1
461741b98d074cd4fe4db2b2b85584fd2a2f2b2d
442
py
Python
11.-Operaciones_entero_con_float_python.py
emiliocarcanobringas/11.-Operaciones_entero_con_float_python
faf3bf2fae3b7a990e0d20483ac9ac219dcb7857
[ "MIT" ]
null
null
null
11.-Operaciones_entero_con_float_python.py
emiliocarcanobringas/11.-Operaciones_entero_con_float_python
faf3bf2fae3b7a990e0d20483ac9ac219dcb7857
[ "MIT" ]
null
null
null
11.-Operaciones_entero_con_float_python.py
emiliocarcanobringas/11.-Operaciones_entero_con_float_python
faf3bf2fae3b7a990e0d20483ac9ac219dcb7857
[ "MIT" ]
null
null
null
# Este programa muestra la suma de dos variables, de tipo int y float print("Este programa muestra la suma de dos variables, de tipo int y float") print("También muestra que la variable que realiza la operación es de tipo float") numero1 = 7 numero2 = 3.1416 sumadeambos = numero1 + numero2 print("El resultado d...
34
83
0.748869
69
442
4.797101
0.492754
0.108761
0.114804
0.126888
0.356495
0.356495
0.356495
0.356495
0.356495
0.356495
0
0.027855
0.187783
442
12
84
36.833333
0.89415
0.271493
0
0
0
0
0.547231
0
0
0
0
0
0
1
0
false
0
0
0
0
0.625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
46195f448a6bacb19ed1a57308155484d10e7c8b
2,137
py
Python
datadog_cluster_agent/tests/test_datadog_cluster_agent.py
tdimnet/integrations-core
a78133a3b71a1b8377fa214d121a98647031ab06
[ "BSD-3-Clause" ]
1
2021-12-15T22:45:14.000Z
2021-12-15T22:45:14.000Z
datadog_cluster_agent/tests/test_datadog_cluster_agent.py
tdimnet/integrations-core
a78133a3b71a1b8377fa214d121a98647031ab06
[ "BSD-3-Clause" ]
null
null
null
datadog_cluster_agent/tests/test_datadog_cluster_agent.py
tdimnet/integrations-core
a78133a3b71a1b8377fa214d121a98647031ab06
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2021-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from typing import Any, Dict from datadog_checks.base.stubs.aggregator import AggregatorStub from datadog_checks.datadog_cluster_agent import DatadogClusterAgentCheck from datadog_checks.dev.utils import ...
34.467742
87
0.759944
236
2,137
6.54661
0.470339
0.075728
0.041424
0.059547
0
0
0
0
0
0
0
0.00272
0.139916
2,137
61
88
35.032787
0.837867
0.091717
0
0.042553
0
0
0.499225
0.439793
0
0
0
0
0.085106
1
0.021277
false
0
0.085106
0
0.106383
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
461c16f8a2b21046567d37b8c2d1c4dfd8195d43
1,415
py
Python
pyeccodes/defs/grib2/tables/15/3_11_table.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
7
2020-04-14T09:41:17.000Z
2021-08-06T09:38:19.000Z
pyeccodes/defs/grib2/tables/8/3_11_table.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
null
null
null
pyeccodes/defs/grib2/tables/8/3_11_table.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
3
2020-04-30T12:44:48.000Z
2020-12-15T08:40:26.000Z
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'There is no appended list'}, {'abbr': 1, 'code': 1, 'title': 'Numbers define number of points corresponding to full coordinate ' 'circles (i.e. parallels), coordinate values on each circle are ' ...
58.958333
91
0.530035
167
1,415
4.491018
0.502994
0.048
0.072
0.064
0.333333
0.293333
0.293333
0.293333
0.168
0.168
0
0.017045
0.378092
1,415
23
92
61.521739
0.835227
0
0
0
0
0
0.613428
0
0
0
0
0
0
1
0.043478
false
0
0
0.043478
0.086957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ca867b22f2e4c2942595bca95ab919246220f6f
342
py
Python
python/Recursion.py
itzsoumyadip/vs
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
[ "Unlicense" ]
1
2019-07-05T04:27:05.000Z
2019-07-05T04:27:05.000Z
python/Recursion.py
itzsoumyadip/vs
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
[ "Unlicense" ]
null
null
null
python/Recursion.py
itzsoumyadip/vs
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
[ "Unlicense" ]
null
null
null
## to change recursion limit import sys print(sys.getrecursionlimit()) #Return the current value of the recursion limit #1000 ## change the limit sys.setrecursionlimit(2000) # change value of the recursion limit #2000 i=0 def greet(): global i i+=1 print('hellow',i) greet() greet() # hellow...
18
80
0.678363
48
342
4.833333
0.541667
0.181034
0.086207
0.163793
0.206897
0
0
0
0
0
0
0.068182
0.22807
342
19
81
18
0.810606
0.479532
0
0.2
0
0
0.035714
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
0.2
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
1cb668eb96e3db81034b5b4b90591cfcdc750510
2,325
py
Python
tests/test_clients.py
rodrigoapereira/python-hydra-sdk
ea3d61ed6f7ef1bc1990c442548d21b10155d075
[ "MIT" ]
null
null
null
tests/test_clients.py
rodrigoapereira/python-hydra-sdk
ea3d61ed6f7ef1bc1990c442548d21b10155d075
[ "MIT" ]
null
null
null
tests/test_clients.py
rodrigoapereira/python-hydra-sdk
ea3d61ed6f7ef1bc1990c442548d21b10155d075
[ "MIT" ]
null
null
null
# Copyright (C) 2017 O.S. Systems Software LTDA. # This software is released under the MIT License import unittest from hydra import Hydra, Client class ClientsTestCase(unittest.TestCase): def setUp(self): self.hydra = Hydra('http://localhost:4444', 'client', 'secret') self.client = Client( ...
40.086207
77
0.67871
294
2,325
5.272109
0.193878
0.110323
0.185806
0.099355
0.611613
0.543871
0.467097
0.427097
0.371613
0.371613
0
0.007463
0.193118
2,325
57
78
40.789474
0.818763
0.04043
0
0.181818
0
0
0.089318
0
0
0
0
0
0.25
1
0.136364
false
0
0.045455
0
0.204545
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
1cb6b746023f10a214f482d1a5a600bbf6962f4e
4,097
py
Python
test/PR_test/unit_test/backend/test_binary_crossentropy.py
Phillistan16/fastestimator
54c9254098aee89520814ed54b6e6016b821424f
[ "Apache-2.0" ]
null
null
null
test/PR_test/unit_test/backend/test_binary_crossentropy.py
Phillistan16/fastestimator
54c9254098aee89520814ed54b6e6016b821424f
[ "Apache-2.0" ]
null
null
null
test/PR_test/unit_test/backend/test_binary_crossentropy.py
Phillistan16/fastestimator
54c9254098aee89520814ed54b6e6016b821424f
[ "Apache-2.0" ]
1
2020-04-28T12:16:10.000Z
2020-04-28T12:16:10.000Z
# Copyright 2020 The FastEstimator Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
48.77381
115
0.608494
508
4,097
4.683071
0.228346
0.064733
0.047079
0.087432
0.705338
0.699454
0.699454
0.688525
0.681799
0.681799
0
0.080324
0.276788
4,097
83
116
49.361446
0.722578
0.161826
0
0.578947
0
0
0
0
0
0
0
0
0.140351
1
0.157895
false
0
0.087719
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cb6d29da4f211a81a8c27dc9b9e2bda5b85f6c6
619
py
Python
ats_hex.py
kyeser/scTools
c4c7dee0c41c8afe1da6350243df5f9d9b929c7f
[ "MIT" ]
null
null
null
ats_hex.py
kyeser/scTools
c4c7dee0c41c8afe1da6350243df5f9d9b929c7f
[ "MIT" ]
null
null
null
ats_hex.py
kyeser/scTools
c4c7dee0c41c8afe1da6350243df5f9d9b929c7f
[ "MIT" ]
null
null
null
#!/usr/bin/env python from scTools import interval, primeForm from scTools.rowData import ats from scTools.scData import * count = 1 for w in ats: prime = primeForm(w[0:6]) print '%3d\t' % count, for x in w: print '%X' % x, print ' ', intervals = interval(w) for y in intervals: ...
20.633333
65
0.544426
94
619
3.585106
0.43617
0.166172
0.148368
0
0
0
0
0
0
0
0
0.058685
0.311793
619
29
66
21.344828
0.732394
0.03231
0
0
0
0
0.040134
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.363636
0
0
0
null
0
0
0
0
0
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
1cbc8c259914408b1b3a8b596c9f92062c17a6d8
1,902
py
Python
OpenCV/bookIntroCV_008_binarizacao.py
fotavio16/PycharmProjects
f5be49db941de69159ec543e8a6dde61f9f94d86
[ "MIT" ]
null
null
null
OpenCV/bookIntroCV_008_binarizacao.py
fotavio16/PycharmProjects
f5be49db941de69159ec543e8a6dde61f9f94d86
[ "MIT" ]
null
null
null
OpenCV/bookIntroCV_008_binarizacao.py
fotavio16/PycharmProjects
f5be49db941de69159ec543e8a6dde61f9f94d86
[ "MIT" ]
null
null
null
''' Livro-Introdução-a-Visão-Computacional-com-Python-e-OpenCV-3 Repositório de imagens https://github.com/opencv/opencv/tree/master/samples/data ''' import cv2 import numpy as np from matplotlib import pyplot as plt #import mahotas VERMELHO = (0, 0, 255) VERDE = (0, 255, 0) AZUL = (255, 0, 0) AMARELO = (0, 255, ...
24.384615
102
0.684017
287
1,902
4.473868
0.337979
0.049844
0.046729
0.05919
0.336449
0.316978
0.316978
0.154984
0.095794
0
0
0.079975
0.151945
1,902
77
103
24.701299
0.716057
0.160358
0
0.266667
0
0
0.062315
0
0
0
0
0.012987
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1ccbfd84ed556c53c45b775bad63d6e98f029035
2,444
py
Python
accounts/migrations/0001_initial.py
vikifox/CMDB
bac9b7da204c3eee344f55bb2187df38ef3b3d4c
[ "Apache-2.0" ]
16
2020-08-13T04:28:50.000Z
2021-06-10T06:24:51.000Z
accounts/migrations/0001_initial.py
vikifox/CMDB
bac9b7da204c3eee344f55bb2187df38ef3b3d4c
[ "Apache-2.0" ]
1
2019-04-15T07:01:42.000Z
2019-04-15T07:01:42.000Z
accounts/migrations/0001_initial.py
vikifox/CMDB
bac9b7da204c3eee344f55bb2187df38ef3b3d4c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-18 05:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cmdb', '0001_initial'), ('appc...
40.733333
128
0.576105
240
2,444
5.729167
0.379167
0.052364
0.052364
0.069818
0.336727
0.266909
0.266909
0.216
0.216
0.216
0
0.025583
0.280278
2,444
59
129
41.423729
0.756111
0.028232
0
0.352941
1
0
0.121417
0.009696
0
0
0
0
0
1
0
false
0.019608
0.058824
0
0.137255
0
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
1cce392f19d05213758223c7be8ae0c890defc93
772
py
Python
sort_insertion.py
rachitmishra/45
c38650f4fa2ea1857848b95320cdc37929b39197
[ "MIT" ]
null
null
null
sort_insertion.py
rachitmishra/45
c38650f4fa2ea1857848b95320cdc37929b39197
[ "MIT" ]
null
null
null
sort_insertion.py
rachitmishra/45
c38650f4fa2ea1857848b95320cdc37929b39197
[ "MIT" ]
null
null
null
""" Insertion Sort Approach: Loop Complexity: O(n2) """ def sort_insertion(input_arr): print("""""""""""""""""""""""""") print("input " + str(input_arr)) print("""""""""""""""""""""""""") ln = len(input_arr) i = 1 # Assuming first element is sorted while i < ln: # n times c = inpu...
22.057143
56
0.443005
98
772
3.285714
0.418367
0.248447
0.161491
0.149068
0
0
0
0
0
0
0
0.040367
0.294041
772
34
57
22.705882
0.550459
0.126943
0
0.190476
0
0
0.040663
0
0
0
0
0
0
1
0.047619
false
0.047619
0
0
0.047619
0.333333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cd0eac7f0e61913c8d825507589abb58c69759a
14,852
py
Python
tests/rest/test_rest.py
sapshah-cisco/cobra
e2b5a75495931844180b05d776c15829e63f0dab
[ "Apache-2.0" ]
93
2015-02-11T01:41:22.000Z
2022-02-03T22:55:57.000Z
tests/rest/test_rest.py
sapshah-cisco/cobra
e2b5a75495931844180b05d776c15829e63f0dab
[ "Apache-2.0" ]
112
2015-02-23T22:20:29.000Z
2022-03-22T21:46:52.000Z
tests/rest/test_rest.py
sapshah-cisco/cobra
e2b5a75495931844180b05d776c15829e63f0dab
[ "Apache-2.0" ]
61
2015-02-22T01:34:01.000Z
2022-01-19T09:50:21.000Z
# Copyright 2015 Cisco Systems, 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 ...
36.581281
99
0.606181
1,635
14,852
5.458104
0.217737
0.025101
0.025213
0.035298
0.424922
0.374048
0.360601
0.34424
0.315329
0.293366
0
0.004698
0.283396
14,852
405
100
36.671605
0.833787
0.140587
0
0.34717
0
0
0.071139
0.010545
0
0
0
0
0.139623
1
0.098113
false
0.060377
0.090566
0
0.233962
0.011321
0
0
0
null
0
0
0
0
0
0
0
0
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
1cd87eec694df1d23bb94dc59dabf36d48ef6f7d
445
py
Python
setup.py
ninezerozeronine/raytracing-one-weekend
22ca36dcec679cbd78a7711734ca22e01ef06ef2
[ "MIT" ]
null
null
null
setup.py
ninezerozeronine/raytracing-one-weekend
22ca36dcec679cbd78a7711734ca22e01ef06ef2
[ "MIT" ]
null
null
null
setup.py
ninezerozeronine/raytracing-one-weekend
22ca36dcec679cbd78a7711734ca22e01ef06ef2
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="raytracing-one-weekend", version="0.0.0", author="Andy Palmer", author_email="contactninezerozeronine@gmail.com", description="A raytracer achievable in a weekend.", url="https://github.com/ninezerozeronine/raytracing-one-weekend", in...
26.176471
69
0.662921
49
445
5.918367
0.714286
0.082759
0.137931
0
0
0
0
0
0
0
0
0.008287
0.186517
445
16
70
27.8125
0.792818
0
0
0
0
0
0.408989
0.123596
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1cdc6e1e4c787b21a5dbe8f394976972f434c199
3,025
py
Python
divsum_stats.py
fjruizruano/SatIntExt
90b39971ee6ea3d7cfa63fbb906df3df714a5012
[ "MIT" ]
null
null
null
divsum_stats.py
fjruizruano/SatIntExt
90b39971ee6ea3d7cfa63fbb906df3df714a5012
[ "MIT" ]
null
null
null
divsum_stats.py
fjruizruano/SatIntExt
90b39971ee6ea3d7cfa63fbb906df3df714a5012
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys from subprocess import call print "divsum_count.py ListOfDivsumFiles\n" try: files = sys.argv[1] except: files = raw_input("Introduce RepeatMasker's list of Divsum files with library size (tab separated): ") files = open(files).readlines() to_join = [] header = "Coverage for ea...
27.752294
131
0.57686
451
3,025
3.762749
0.252772
0.014143
0.021214
0.023571
0.176783
0.152033
0.152033
0.08132
0.08132
0.08132
0
0.015364
0.26843
3,025
108
132
28.009259
0.751469
0.005289
0
0.072289
0
0.024096
0.154588
0.080785
0
0
0
0
0
0
null
null
0
0.024096
null
null
0.012048
0
0
0
null
0
0
0
0
0
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
1ce550dcd34ad1e54a6bb3af57029219d257f4d1
742
py
Python
source/blog/migrations/0004_postcomments.py
JakubGutowski/PersonalBlog
96122b36486f7e874c013e50d939732a43db309f
[ "BSD-3-Clause" ]
null
null
null
source/blog/migrations/0004_postcomments.py
JakubGutowski/PersonalBlog
96122b36486f7e874c013e50d939732a43db309f
[ "BSD-3-Clause" ]
null
null
null
source/blog/migrations/0004_postcomments.py
JakubGutowski/PersonalBlog
96122b36486f7e874c013e50d939732a43db309f
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.5 on 2018-07-02 19:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0003_blogpost_author'), ] operations = [ migrations.CreateModel( name='Po...
30.916667
115
0.58221
77
742
5.506494
0.675325
0.056604
0.066038
0.103774
0
0
0
0
0
0
0
0.045283
0.285714
742
23
116
32.26087
0.754717
0.060647
0
0
1
0
0.10119
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ce6c087a65ed77b98463ac3f530b83170cfd6d6
241
py
Python
submissions/aising2019/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
1
2021-05-10T01:16:28.000Z
2021-05-10T01:16:28.000Z
submissions/aising2019/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
3
2021-05-11T06:14:15.000Z
2021-06-19T08:18:36.000Z
submissions/aising2019/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
null
null
null
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n = int(readline()) h = int(readline()) w = int(readline()) print((n - h + 1) * (n - w + 1))
21.909091
38
0.676349
37
241
4.405405
0.432432
0.147239
0.257669
0
0
0
0
0
0
0
0
0.024272
0.145228
241
10
39
24.1
0.76699
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
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
1ce813d53ecf60bcfa1c5a10f665cbdcffd14f05
1,579
py
Python
config/cf.py
rbsdev/config-client
761f39cd8839daba10bf21b98ccdd44d33eaebe8
[ "Apache-2.0" ]
null
null
null
config/cf.py
rbsdev/config-client
761f39cd8839daba10bf21b98ccdd44d33eaebe8
[ "Apache-2.0" ]
null
null
null
config/cf.py
rbsdev/config-client
761f39cd8839daba10bf21b98ccdd44d33eaebe8
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict, KeysView import attr from config.auth import OAuth2 from config.cfenv import CFenv from config.spring import ConfigClient @attr.s(slots=True) class CF: cfenv = attr.ib( type=CFenv, factory=CFenv, validator=attr.validators.instance_of(CFenv), ) oauth2 = attr.ib(type=...
28.709091
80
0.644712
189
1,579
5.216931
0.333333
0.073022
0.085193
0.054767
0.046653
0
0
0
0
0
0
0.006809
0.255858
1,579
54
81
29.240741
0.83234
0
0
0.071429
0
0
0.024699
0
0
0
0
0
0
1
0.166667
false
0
0.119048
0.119048
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1cea0e3fced4fc9fe2a48efd4c3e8de95165a2da
948
py
Python
src/git_portfolio/use_cases/config_repos.py
staticdev/github-portfolio
850461eed8160e046ee16664ac3dbc19e3ec0965
[ "MIT" ]
null
null
null
src/git_portfolio/use_cases/config_repos.py
staticdev/github-portfolio
850461eed8160e046ee16664ac3dbc19e3ec0965
[ "MIT" ]
null
null
null
src/git_portfolio/use_cases/config_repos.py
staticdev/github-portfolio
850461eed8160e046ee16664ac3dbc19e3ec0965
[ "MIT" ]
null
null
null
"""Config repositories use case.""" from __future__ import annotations import git_portfolio.config_manager as cm import git_portfolio.domain.gh_connection_settings as cs import git_portfolio.responses as res class ConfigReposUseCase: """Gitp config repositories use case.""" def __init__(self, config_manager...
37.92
83
0.74789
109
948
6.201835
0.431193
0.153846
0.150888
0.136095
0.128698
0
0
0
0
0
0
0
0.167722
948
24
84
39.5
0.856781
0.118143
0
0
0
0
0.051534
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1cea0f437c7a9f8ccbc1159b25612a99704a7170
943
py
Python
test/test_logic.py
mateuszkowalke/sudoku_game
800e33a6fe755b493d8e9c3c9a20204af5865148
[ "MIT" ]
null
null
null
test/test_logic.py
mateuszkowalke/sudoku_game
800e33a6fe755b493d8e9c3c9a20204af5865148
[ "MIT" ]
null
null
null
test/test_logic.py
mateuszkowalke/sudoku_game
800e33a6fe755b493d8e9c3c9a20204af5865148
[ "MIT" ]
null
null
null
import pytest from ..logic import Board, empty_board, example_board, solved_board class TestBoard: def test_create_board(self): board = Board(example_board) assert board.tiles == example_board def test_solve_board(self): board = Board(example_board) board.solve() asse...
27.735294
67
0.66702
124
943
4.782258
0.25
0.151771
0.172007
0.141653
0.450253
0.450253
0.328836
0.175379
0.175379
0.175379
0
0.011268
0.247084
943
33
68
28.575758
0.823944
0
0
0.24
0
0
0
0
0
0
0
0
0.28
1
0.24
false
0
0.08
0
0.36
0
0
0
0
null
0
0
0
0
0
0
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
1cecb0baeee1d541b67de121aac28491961e0c43
2,234
py
Python
scripts/vcf_filter.py
bunop/cyvcf
f58860dd06b215b9d9ae80e2b46337fb6ab59139
[ "MIT" ]
46
2015-01-31T17:24:34.000Z
2021-01-15T01:29:07.000Z
scripts/vcf_filter.py
arq5x/cyvcf
f58860dd06b215b9d9ae80e2b46337fb6ab59139
[ "MIT" ]
11
2015-01-13T17:59:32.000Z
2016-09-23T21:50:00.000Z
scripts/vcf_filter.py
mandawilson/PyVCF
d23ab476237aced75635e543c061c1bf80a7c2a4
[ "MIT" ]
7
2015-02-10T09:12:00.000Z
2016-06-30T03:37:37.000Z
#!/usr/bin/env python import sys import argparse import pkg_resources import vcf from vcf.parser import _Filter parser = argparse.ArgumentParser(description='Filter a VCF file', formatter_class=argparse.RawDescriptionHelpFormatter, ) parser.add_argument('input', metavar='input', type=str, nargs=1, ...
30.60274
81
0.651746
287
2,234
4.944251
0.400697
0.031712
0.059901
0.026779
0
0
0
0
0
0
0
0.001172
0.2359
2,234
72
82
31.027778
0.830111
0.15667
0
0
0
0
0.173077
0
0
0
0
0.013889
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
1
0
0
0
0
0
0
0
0
0
0
1
1cf2c5ea382bc1bc6087303216c79dc6b5f0dc2a
2,681
py
Python
features/cpp/simple/test.py
xbabka01/retdec-regression-tests
1ac40cca5165740364e6f7fb72b20820eac9bc7c
[ "MIT" ]
8
2017-12-14T14:25:17.000Z
2019-03-09T03:29:12.000Z
features/cpp/simple/test.py
xbabka01/retdec-regression-tests
1ac40cca5165740364e6f7fb72b20820eac9bc7c
[ "MIT" ]
10
2019-06-14T09:12:55.000Z
2021-10-01T12:15:43.000Z
features/cpp/simple/test.py
xbabka01/retdec-regression-tests
1ac40cca5165740364e6f7fb72b20820eac9bc7c
[ "MIT" ]
8
2019-05-10T14:59:48.000Z
2022-03-07T16:34:23.000Z
from regression_tests import * class TestBase(Test): def test_for_main(self): assert self.out_c.has_funcs('main') or self.out_c.has_funcs('entry_point') def test_check_main_is_not_ctor_or_dtor(self): for c in self.out_config.classes: assert "main" not in c.constructors ...
31.174419
82
0.638941
371
2,681
4.407008
0.221024
0.085627
0.095413
0.053823
0.770031
0.685627
0.594495
0.53945
0.479511
0.479511
0
0.01332
0.243939
2,681
85
83
31.541176
0.793291
0.0511
0
0.47619
0
0
0.091339
0.034252
0
0
0
0
0.412698
1
0.142857
false
0
0.015873
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1