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
60099617ee434da572759077c7ea7be632ca1953
2,020
py
Python
alipay/aop/api/domain/AlipayEbppInvoiceAuthSignModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
1
2022-03-07T06:11:10.000Z
2022-03-07T06:11:10.000Z
alipay/aop/api/domain/AlipayEbppInvoiceAuthSignModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayEbppInvoiceAuthSignModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
1
2021-10-05T03:01:09.000Z
2021-10-05T03:01:09.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayEbppInvoiceAuthSignModel(object): def __init__(self): self._authorization_type = None self._m_short_name = None self._user_id = None @property def authoriza...
28.450704
87
0.614851
253
2,020
4.557312
0.173913
0.221162
0.130095
0.084996
0.323504
0.267997
0.084996
0.052038
0
0
0
0.0007
0.293069
2,020
70
88
28.857143
0.806723
0.020792
0
0.109091
0
0
0.096251
0
0
0
0
0
0
1
0.163636
false
0
0.036364
0.054545
0.327273
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
600a51b33a2bb56f14ea62360d44dde1324b6215
1,968
py
Python
anonlink-entity-service/backend/entityservice/tasks/solver.py
Sam-Gresh/linkage-agent-tools
f405c7efe3fa82d99bc047f130c0fac6f3f5bf82
[ "Apache-2.0" ]
1
2020-05-19T07:29:31.000Z
2020-05-19T07:29:31.000Z
backend/entityservice/tasks/solver.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
backend/entityservice/tasks/solver.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
import anonlink from anonlink.candidate_generation import _merge_similarities from entityservice.object_store import connect_to_object_store from entityservice.async_worker import celery, logger from entityservice.settings import Config as config from entityservice.tasks.base_task import TracedTask from entityservice....
48
117
0.760163
258
1,968
5.496124
0.434109
0.098731
0.024683
0.039492
0.146685
0.146685
0.101551
0.059238
0.059238
0.059238
0
0.010198
0.152947
1,968
40
118
49.2
0.840432
0.043699
0
0
0
0
0.184141
0.035125
0
0
0
0.025
0
1
0.032258
false
0
0.225806
0
0.258065
0
0
0
0
null
0
0
0
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
601651a2b4d6d062db448e75989e40e985eb13df
1,661
py
Python
migrations/versions/e86dd3bc539c_change_admin_to_boolean.py
jonzxz/project-piscator
588c8b1ac9355f9a82ac449fdbeaa1ef7eb441ef
[ "MIT" ]
null
null
null
migrations/versions/e86dd3bc539c_change_admin_to_boolean.py
jonzxz/project-piscator
588c8b1ac9355f9a82ac449fdbeaa1ef7eb441ef
[ "MIT" ]
null
null
null
migrations/versions/e86dd3bc539c_change_admin_to_boolean.py
jonzxz/project-piscator
588c8b1ac9355f9a82ac449fdbeaa1ef7eb441ef
[ "MIT" ]
1
2021-02-18T03:08:21.000Z
2021-02-18T03:08:21.000Z
"""change admin to boolean Revision ID: e86dd3bc539c Revises: 6f63ef516cdc Create Date: 2020-11-11 22:32:00.707936 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e86dd3bc539c' down_revision = '6f63ef516cdc' branch_labels = None depends_on = None def upgrade...
38.627907
102
0.712222
226
1,661
5.017699
0.300885
0.106702
0.15873
0.070547
0.547619
0.452381
0.402998
0.347443
0.153439
0
0
0.032481
0.128838
1,661
42
103
39.547619
0.751209
0.183624
0
0
0
0
0.289613
0.033359
0
0
0
0
0
1
0.083333
false
0.083333
0.083333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
601e1228f0fc5110925548eceed16ee0fac450d1
3,654
py
Python
pynyzo/pynyzo/keyutil.py
EggPool/pynyzo
7f3b86f15caa51a975e6a428f4dff578a1f24bcb
[ "MIT" ]
6
2019-02-09T02:46:18.000Z
2021-03-29T04:15:15.000Z
pynyzo/pynyzo/keyutil.py
EggPool/pynyzo
7f3b86f15caa51a975e6a428f4dff578a1f24bcb
[ "MIT" ]
1
2020-05-17T18:29:20.000Z
2020-05-18T08:31:33.000Z
pynyzo/pynyzo/keyutil.py
EggPool/pynyzo
7f3b86f15caa51a975e6a428f4dff578a1f24bcb
[ "MIT" ]
5
2019-02-09T02:46:19.000Z
2021-01-08T06:49:50.000Z
""" Eddsa Ed25519 key handling From https://github.com/n-y-z-o/nyzoVerifier/blob/b73bc25ba3094abe3470ec070ce306885ad9a18f/src/main/java/co/nyzo/verifier/KeyUtil.java plus https://github.com/n-y-z-o/nyzoVerifier/blob/17509f03a7f530c0431ce85377db9b35688c078e/src/main/java/co/nyzo/verifier/util/SignatureUtil.java """ # ...
38.463158
179
0.678982
458
3,654
5.218341
0.31441
0.058577
0.035565
0.045188
0.396234
0.349791
0.305021
0.261088
0.261088
0.176569
0
0.054073
0.210454
3,654
94
180
38.87234
0.77435
0.29283
0
0.232143
0
0
0.029145
0
0
0
0
0.010638
0
1
0.142857
false
0
0.053571
0
0.339286
0.035714
0
0
0
null
0
0
0
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
6021d213fcca1b9fd94f8cf2d534f74eefae66dc
3,522
py
Python
src/python/pants/backend/docker/lint/hadolint/subsystem.py
xyzst/pants
d6a357fe67ee7e8e1aefeae625e107f5609f1717
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/docker/lint/hadolint/subsystem.py
xyzst/pants
d6a357fe67ee7e8e1aefeae625e107f5609f1717
[ "Apache-2.0" ]
28
2021-12-27T15:53:46.000Z
2022-03-23T11:01:42.000Z
src/python/pants/backend/docker/lint/hadolint/subsystem.py
riisi/pants
b33327389fab67c47b919710ea32f20ca284b1a6
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations from typing import cast from pants.core.util_rules.config_files import ConfigFilesRequest from pants.core.util_rules.external_tool import TemplatedExte...
35.938776
122
0.615559
373
3,522
5.686327
0.399464
0.016502
0.007544
0.04149
0.11834
0.036775
0
0
0
0
0
0.077074
0.277967
3,522
97
123
36.309278
0.75698
0.097956
0
0.2125
0
0
0.364583
0.127525
0
0
0
0.010309
0
1
0.0625
false
0.0125
0.0625
0.05
0.275
0
0
0
0
null
0
0
0
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
6026e4bb115c40518d8be86f2973d4fb63be08f1
2,019
py
Python
hanlp/pretrained/tok.py
chen88358323/HanLP
ee9066c3b7aad405dfe0ccffb7f66c59017169ae
[ "Apache-2.0" ]
2
2022-03-23T08:50:39.000Z
2022-03-23T08:50:48.000Z
hanlp/pretrained/tok.py
kingfan1998/HanLP
ee9066c3b7aad405dfe0ccffb7f66c59017169ae
[ "Apache-2.0" ]
null
null
null
hanlp/pretrained/tok.py
kingfan1998/HanLP
ee9066c3b7aad405dfe0ccffb7f66c59017169ae
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Author: hankcs # Date: 2019-12-28 21:12 from hanlp_common.constant import HANLP_URL SIGHAN2005_PKU_CONVSEG = HANLP_URL + 'tok/sighan2005-pku-convseg_20200110_153722.zip' 'Conv model (:cite:`wang-xu-2017-convolutional`) trained on sighan2005 pku dataset.' SIGHAN2005_MSR_CONVSEG = HANLP_URL + 't...
67.3
146
0.788014
323
2,019
4.696594
0.362229
0.052736
0.06526
0.047462
0.476599
0.383652
0.350692
0.305867
0.208965
0.13975
0
0.142303
0.105498
2,019
29
147
69.62069
0.697674
0.045072
0
0.130435
0
0.173913
0.75923
0.360374
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0
0
0
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
6029de67c839bfcae337c354721a055f1b81107e
2,452
py
Python
model_selection.py
HrishikV/ineuron_inceome_prediction_internship
4a97a7f29d80198f394fcfd880cc5250fe2a0d1e
[ "MIT" ]
null
null
null
model_selection.py
HrishikV/ineuron_inceome_prediction_internship
4a97a7f29d80198f394fcfd880cc5250fe2a0d1e
[ "MIT" ]
null
null
null
model_selection.py
HrishikV/ineuron_inceome_prediction_internship
4a97a7f29d80198f394fcfd880cc5250fe2a0d1e
[ "MIT" ]
null
null
null
from featur_selection import df,race,occupation,workclass,country import pandas as pd from sklearn.preprocessing import StandardScaler from sklearn.model_selection import cross_val_score,KFold from sklearn.linear_model import LogisticRegression from imblearn.pipeline import Pipeline from sklearn.compose import ColumnT...
45.407407
240
0.722675
288
2,452
6
0.423611
0.050926
0.064815
0.063657
0
0
0
0
0
0
0
0.013612
0.161093
2,452
54
241
45.407407
0.826446
0
0
0
0
0
0.069303
0
0
0
0
0
0
1
0.021277
false
0.021277
0.340426
0
0.382979
0.021277
0
0
0
null
0
0
0
0
0
0
0
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
602de82ea89f13dcd9f29b60fb46750634f30aed
7,711
py
Python
app/auth/views.py
MainaKamau92/apexselftaught
9f9a3bd1ba23e57a12e173730917fb9bb7003707
[ "MIT" ]
4
2019-01-02T19:52:00.000Z
2022-02-21T11:07:34.000Z
app/auth/views.py
MainaKamau92/apexselftaught
9f9a3bd1ba23e57a12e173730917fb9bb7003707
[ "MIT" ]
2
2019-12-04T13:36:54.000Z
2019-12-04T13:49:21.000Z
app/auth/views.py
MainaKamau92/apexselftaught
9f9a3bd1ba23e57a12e173730917fb9bb7003707
[ "MIT" ]
1
2021-11-28T13:23:14.000Z
2021-11-28T13:23:14.000Z
# app/auth/views.py import os from flask import flash, redirect, render_template, url_for, request from flask_login import login_required, login_user, logout_user, current_user from . import auth from .forms import (LoginForm, RegistrationForm, RequestResetForm, ResetPasswordForm) from .. import db,...
43.8125
99
0.664765
968
7,711
5.143595
0.14876
0.034947
0.059048
0.052219
0.569994
0.515565
0.515565
0.503515
0.503515
0.503515
0
0
0.244586
7,711
175
100
44.062857
0.854764
0.170017
0
0.413793
0
0
0.174925
0.03261
0
0
0
0
0
1
0.051724
false
0.146552
0.077586
0
0.344828
0.008621
0
0
0
null
0
0
0
0
0
0
0
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
6030d536392f2700f6b4fca762988c6115c81681
268
py
Python
examples/tinytag/fuzz.py
MJ-SEO/py_fuzz
789fbfea21bf644ba4d00554fe4141694b0a190a
[ "Apache-2.0" ]
null
null
null
examples/tinytag/fuzz.py
MJ-SEO/py_fuzz
789fbfea21bf644ba4d00554fe4141694b0a190a
[ "Apache-2.0" ]
null
null
null
examples/tinytag/fuzz.py
MJ-SEO/py_fuzz
789fbfea21bf644ba4d00554fe4141694b0a190a
[ "Apache-2.0" ]
null
null
null
from pythonfuzz.main import PythonFuzz from tinytag import TinyTag import io @PythonFuzz def fuzz(buf): try: f = open('temp.mp4', "wb") f.write(buf) f.seek(0) tag = TinyTag.get(f.name) except UnicodeDecodeError: pass if __name__ == '__main__': fuzz()
14.105263
38
0.69403
39
268
4.564103
0.641026
0.146067
0
0
0
0
0
0
0
0
0
0.009091
0.179104
268
18
39
14.888889
0.8
0
0
0
0
0
0.067669
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
603be24384736b5da4440432a56324e5b621091a
260
py
Python
examples/test_yield_8.py
MateuszG/django_auth
4cda699c1b6516ffaa26329f545a674a7c849a16
[ "MIT" ]
2
2015-01-12T09:43:59.000Z
2015-01-12T10:39:31.000Z
examples/test_yield_8.py
MateuszG/django_auth
4cda699c1b6516ffaa26329f545a674a7c849a16
[ "MIT" ]
null
null
null
examples/test_yield_8.py
MateuszG/django_auth
4cda699c1b6516ffaa26329f545a674a7c849a16
[ "MIT" ]
null
null
null
import pytest @pytest.yield_fixture def passwd(): print ("\nsetup before yield") f = open("/etc/passwd") yield f.readlines() print ("teardown after yield") f.close() def test_has_lines(passwd): print ("test called") assert passwd
18.571429
34
0.653846
34
260
4.911765
0.617647
0.107784
0
0
0
0
0
0
0
0
0
0
0.215385
260
13
35
20
0.818627
0
0
0
0
0
0.238462
0
0
0
0
0
0.090909
1
0.181818
false
0.363636
0.090909
0
0.272727
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
0
0
0
1
0
0
0
0
0
1
60416481c613049aa881c1d91f118e1ecab9fdbf
1,194
py
Python
create_augmented_versions.py
jakobabesser/piano_aug
37f78c77465749c80d7aa91d9e804b89024eb278
[ "MIT" ]
null
null
null
create_augmented_versions.py
jakobabesser/piano_aug
37f78c77465749c80d7aa91d9e804b89024eb278
[ "MIT" ]
null
null
null
create_augmented_versions.py
jakobabesser/piano_aug
37f78c77465749c80d7aa91d9e804b89024eb278
[ "MIT" ]
null
null
null
from pedalboard import Reverb, Compressor, Gain, LowpassFilter, Pedalboard import soundfile as sf if __name__ == '__main__': # replace by path of unprocessed piano file if necessar fn_wav_source = 'live_grand_piano.wav' # augmentation settings using Pedalboard library settings = {'rev-': [Reverb(roo...
34.114286
74
0.61139
138
1,194
5.057971
0.514493
0.045845
0.047278
0.048711
0.094556
0
0
0
0
0
0
0.020525
0.265494
1,194
34
75
35.117647
0.775371
0.187605
0
0
0
0
0.079084
0
0
0
0
0
0
1
0
false
0.166667
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6043f0f0c5013421d3026505d50e50aa5fb67097
9,333
py
Python
src/python/Vector2_TEST.py
clalancette/ign-math
84eb1bfe470d00d335c048f102b56c49a15b56be
[ "ECL-2.0", "Apache-2.0" ]
43
2019-08-21T20:50:05.000Z
2022-03-27T11:48:25.000Z
src/python/Vector2_TEST.py
clalancette/ign-math
84eb1bfe470d00d335c048f102b56c49a15b56be
[ "ECL-2.0", "Apache-2.0" ]
277
2020-04-16T23:38:50.000Z
2022-03-31T11:11:58.000Z
src/python/Vector2_TEST.py
clalancette/ign-math
84eb1bfe470d00d335c048f102b56c49a15b56be
[ "ECL-2.0", "Apache-2.0" ]
48
2020-04-15T21:15:43.000Z
2022-03-14T19:29:04.000Z
# Copyright (C) 2021 Open Source Robotics Foundation # # 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...
29.165625
74
0.585985
1,241
9,333
4.357776
0.142627
0.159209
0.047152
0.055473
0.536982
0.426775
0.346709
0.346154
0.276257
0.195451
0
0.09168
0.280081
9,333
319
75
29.257053
0.713201
0.131898
0
0.160622
0
0
0.001739
0
0
0
0
0
0.481865
1
0.067358
false
0
0.020725
0
0.093264
0
0
0
0
null
0
0
0
0
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
604b36210d2f64d1a79dd2e280534e5bf39ec7cb
4,737
py
Python
facerec-master/py/facerec/distance.py
ArianeFire/HaniCam
8a940486a613d680a0b556209a596cdf3eb71f53
[ "MIT" ]
776
2015-01-01T11:34:42.000Z
2022-02-26T10:25:51.000Z
facerec-master/py/facerec/distance.py
ArianeFire/HaniCam
8a940486a613d680a0b556209a596cdf3eb71f53
[ "MIT" ]
43
2015-03-17T07:48:38.000Z
2019-08-21T05:16:36.000Z
facerec-master/py/facerec/distance.py
ArianeFire/HaniCam
8a940486a613d680a0b556209a596cdf3eb71f53
[ "MIT" ]
479
2015-01-01T12:34:38.000Z
2022-02-28T23:57:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) Philipp Wagner. All rights reserved. # Licensed under the BSD license. See LICENSE file in the project root for full license information. import numpy as np class AbstractDistance(object): def __init__(self, name): self._name = name ...
33.595745
125
0.617479
617
4,737
4.551053
0.222042
0.019231
0.011752
0.038462
0.629274
0.622151
0.601496
0.565171
0.565171
0.565171
0
0.012538
0.242347
4,737
140
126
33.835714
0.769852
0.278657
0
0.525641
0
0
0.07103
0.021092
0
0
0
0
0
1
0.25641
false
0
0.012821
0.025641
0.512821
0
0
0
0
null
0
0
0
0
0
0
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
604ecb6f7cdc9275682b21b948b61c6eab42174d
2,988
py
Python
src/dispatch/incident_cost/views.py
vj-codes/dispatch
f9354781956380cac290be02fb987eb50ddc1a5d
[ "Apache-2.0" ]
1
2021-06-16T17:02:35.000Z
2021-06-16T17:02:35.000Z
src/dispatch/incident_cost/views.py
dilbwagsingh/dispatch
ca7c9730dea64e196c6653321552d570dfdad069
[ "Apache-2.0" ]
10
2021-07-17T04:28:07.000Z
2022-02-05T00:40:59.000Z
src/dispatch/incident_cost/views.py
dilbwagsingh/dispatch
ca7c9730dea64e196c6653321552d570dfdad069
[ "Apache-2.0" ]
null
null
null
from fastapi import APIRouter, Depends, HTTPException from sqlalchemy.orm import Session from dispatch.database.core import get_db from dispatch.database.service import common_parameters, search_filter_sort_paginate from dispatch.auth.permissions import SensitiveProjectActionPermission, PermissionsDependency from .mo...
32.835165
100
0.749665
358
2,988
5.980447
0.209497
0.246614
0.091546
0.050444
0.583839
0.548809
0.499766
0.499766
0.402616
0.402616
0
0.004779
0.159639
2,988
90
101
33.2
0.847869
0.073963
0
0.344262
0
0
0.075808
0
0
0
0
0
0
1
0.081967
false
0
0.114754
0
0.262295
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
60535516e66bf2f9d907ac1cbd0eeb26881ca2c7
2,728
py
Python
tests/tests.py
desdelgado/rheology-data-toolkit
054b1659c914b8eed86239d27a746e26404395ec
[ "MIT" ]
null
null
null
tests/tests.py
desdelgado/rheology-data-toolkit
054b1659c914b8eed86239d27a746e26404395ec
[ "MIT" ]
18
2020-04-10T15:06:50.000Z
2020-06-23T20:57:49.000Z
tests/tests.py
desdelgado/rheology-data-toolkit
054b1659c914b8eed86239d27a746e26404395ec
[ "MIT" ]
null
null
null
import sys, os sys.path.append("C:/Users/Delgado/Documents/Research/rheology-data-toolkit/rheodata/extractors") import h5py import pandas as pd from antonpaar import AntonPaarExtractor as APE from ARES_G2 import ARES_G2Extractor # %% sys.path.append("C:/Users/Delgado/Documents/Research/rheology-data-toolkit/rheodata"...
36.373333
189
0.712243
366
2,728
5.065574
0.295082
0.030205
0.029666
0.040453
0.407228
0.407228
0.357605
0.339266
0.312837
0.255663
0
0.00721
0.186584
2,728
74
190
36.864865
0.828301
0.096041
0
0.044444
0
0.022222
0.170282
0.115432
0
0
0
0.013514
0.177778
1
0.2
false
0
0.177778
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
60582c7b916077e6db28ad364408137dc3ff3825
784
py
Python
setup.py
mintmachine/arweave-python-client
69e8e2d32090de5fd276efdb9b9103d91b4182f6
[ "MIT" ]
63
2020-01-22T23:43:53.000Z
2022-03-24T23:18:13.000Z
setup.py
mintmachine/arweave-python-client
69e8e2d32090de5fd276efdb9b9103d91b4182f6
[ "MIT" ]
17
2020-01-22T23:41:07.000Z
2022-01-04T11:43:30.000Z
setup.py
mintmachine/arweave-python-client
69e8e2d32090de5fd276efdb9b9103d91b4182f6
[ "MIT" ]
25
2020-08-12T05:00:25.000Z
2022-03-31T01:43:25.000Z
from distutils.core import setup setup( name="arweave-python-client", packages = ['arweave'], # this must be the same as the name above version="1.0.15.dev0", description="Client interface for sending transactions on the Arweave permaweb", author="Mike Hibbert", author_email="mike@hibbertitsolutions.co.uk"...
28
82
0.678571
89
784
5.94382
0.730337
0.073724
0.10775
0.064272
0.177694
0.177694
0.177694
0.177694
0
0
0
0.009217
0.169643
784
27
83
29.037037
0.803379
0.049745
0
0.076923
0
0
0.577389
0.067295
0
0
0
0
0
1
0
true
0
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
60685790ed05ececd1e05f44f06a9d6c6808d671
1,380
py
Python
theonionbox/tob/credits.py
ralphwetzel/theonionbox
9812fce48153955e179755ea7a58413c3bee182f
[ "MIT" ]
120
2015-12-30T09:41:56.000Z
2022-03-23T02:30:05.000Z
theonionbox/tob/credits.py
nwithan8/theonionbox
9e51fe0b4d07fc89a8a133fdeceb5f97d5d58713
[ "MIT" ]
57
2015-12-29T21:55:14.000Z
2022-01-07T09:48:51.000Z
theonionbox/tob/credits.py
nwithan8/theonionbox
9e51fe0b4d07fc89a8a133fdeceb5f97d5d58713
[ "MIT" ]
17
2018-02-05T08:57:46.000Z
2022-02-28T16:44:41.000Z
Credits = [ ('Bootstrap', 'https://getbootstrap.com', 'The Bootstrap team', 'MIT'), ('Bottle', 'http://bottlepy.org', 'Marcel Hellkamp', 'MIT'), ('Cheroot', 'https://github.com/cherrypy/cheroot', 'CherryPy Team', 'BSD 3-Clause "New" or "Revised" License'), ('Click', 'https://github.com/pallets/click', '...
69
118
0.647101
158
1,380
5.651899
0.468354
0.110862
0.141097
0.029115
0.06495
0.06495
0.06495
0
0
0
0
0.010708
0.12029
1,380
19
119
72.631579
0.724876
0
0
0
0
0
0.747101
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
606baf8442117d47dded1db451079748f48b00b6
4,291
py
Python
nemo/collections/nlp/models/machine_translation/mt_enc_dec_config.py
vadam5/NeMo
3c5db09539293c3c19a6bb7437011f91261119af
[ "Apache-2.0" ]
1
2021-04-13T20:34:16.000Z
2021-04-13T20:34:16.000Z
nemo/collections/nlp/models/machine_translation/mt_enc_dec_config.py
vadam5/NeMo
3c5db09539293c3c19a6bb7437011f91261119af
[ "Apache-2.0" ]
null
null
null
nemo/collections/nlp/models/machine_translation/mt_enc_dec_config.py
vadam5/NeMo
3c5db09539293c3c19a6bb7437011f91261119af
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020, NVIDIA CORPORATION. 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 appli...
32.022388
110
0.718714
499
4,291
6.02004
0.41483
0.019973
0.02996
0.036618
0.299601
0.266312
0.222703
0.196738
0.196738
0.196738
0
0.01847
0.20508
4,291
133
111
32.263158
0.862211
0.193428
0
0.42268
0
0
0.014526
0.007554
0
0
0
0.007519
0
1
0
true
0
0.092784
0
0.463918
0
0
0
0
null
0
0
0
0
0
0
0
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
606fff8ef61161b6a42c08c99645ebf6b02a454f
3,618
py
Python
tests/test_button.py
MSLNZ/msl-qt
33abbb4807b54e3a06dbe9c0f9b343802ece9b97
[ "MIT" ]
1
2018-07-14T23:02:24.000Z
2018-07-14T23:02:24.000Z
tests/test_button.py
MSLNZ/msl-qt
33abbb4807b54e3a06dbe9c0f9b343802ece9b97
[ "MIT" ]
1
2019-08-12T04:52:33.000Z
2019-08-21T00:06:59.000Z
tests/test_button.py
MSLNZ/msl-qt
33abbb4807b54e3a06dbe9c0f9b343802ece9b97
[ "MIT" ]
1
2019-08-05T05:22:47.000Z
2019-08-05T05:22:47.000Z
import os import sys import pytest from msl.qt import convert, Button, QtWidgets, QtCore, Qt def test_text(): b = Button(text='hello') assert b.text() == 'hello' assert b.icon().isNull() assert b.toolButtonStyle() == Qt.ToolButtonTextOnly def test_icon(): path = os.path.dirname(__file__) + '/g...
31.46087
93
0.657546
499
3,618
4.649299
0.170341
0.090517
0.078448
0.093103
0.759483
0.611207
0.588362
0.573276
0.530603
0.459052
0
0.035897
0.191542
3,618
114
94
31.736842
0.757265
0.052239
0
0.506494
0
0
0.026316
0
0
0
0
0
0.480519
1
0.064935
false
0
0.051948
0
0.116883
0
0
0
0
null
0
0
0
0
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
60700c79a8bc5322f89b51ceab88a89b92a4de5b
499
py
Python
Exercicios/ex028.py
MateusBarboza99/Python-03-
9c6df88aaa8ba83d385b92722ed1df5873df3a77
[ "MIT" ]
null
null
null
Exercicios/ex028.py
MateusBarboza99/Python-03-
9c6df88aaa8ba83d385b92722ed1df5873df3a77
[ "MIT" ]
null
null
null
Exercicios/ex028.py
MateusBarboza99/Python-03-
9c6df88aaa8ba83d385b92722ed1df5873df3a77
[ "MIT" ]
null
null
null
from random import randint from time import sleep computador = randint(0, 5) # Faz o computador "PENSAR" print('-=-' * 20) print('Vou Pensar em Um Número Entre 0 e 5. Tente Adivinhar Paçoca...') print('-=-' * 20) jogador = int(input('Em que Número eu Pensei? ')) # Jogador tenta Adivinhar print('PROCESSANDO........') sl...
35.642857
84
0.687375
71
499
4.830986
0.605634
0.040816
0
0
0
0
0
0
0
0
0
0.021429
0.158317
499
13
85
38.384615
0.795238
0.098196
0
0.153846
0
0
0.438479
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.461538
0
0
0
null
0
0
0
0
0
0
0
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
60730c8aa9c4f71059543c43f3553248624a3054
2,322
py
Python
code/loader/lock.py
IBCNServices/StardogStreamReasoning
646db9cec7bd06ac8bfa75952b9a41773f35544d
[ "Apache-2.0" ]
5
2020-04-08T22:55:17.000Z
2021-07-30T12:12:45.000Z
code/loader/lock.py
IBCNServices/StardogStreamReasoning
646db9cec7bd06ac8bfa75952b9a41773f35544d
[ "Apache-2.0" ]
1
2021-04-29T21:58:32.000Z
2021-05-04T08:05:11.000Z
code/loader/lock.py
IBCNServices/StardogStreamReasoning
646db9cec7bd06ac8bfa75952b9a41773f35544d
[ "Apache-2.0" ]
3
2020-06-12T13:48:08.000Z
2021-07-23T11:24:27.000Z
import threading class RWLock: """Synchronization object used in a solution of so-called second readers-writers problem. In this problem, many readers can simultaneously access a share, and a writer has an exclusive access to this share. Additionally, the following constraints should be met: 1) no reader should b...
31.808219
75
0.736434
348
2,322
4.637931
0.373563
0.037175
0.040273
0.023544
0.060719
0.060719
0.060719
0.060719
0.060719
0.060719
0
0.019329
0.153316
2,322
72
76
32.25
0.801628
0.466408
0
0.157895
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.026316
0
0.289474
0
0
0
0
null
0
0
0
0
0
0
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
6073572f31a3babd2ff3a1985183c4320d96810e
5,627
py
Python
src/pyfmodex/channel_group.py
Loodoor/UnamedPy
7d154c3a652992b3c1f28050f0353451f57b2a2d
[ "MIT" ]
1
2017-02-21T16:46:21.000Z
2017-02-21T16:46:21.000Z
src/pyfmodex/channel_group.py
Loodoor/UnamedPy
7d154c3a652992b3c1f28050f0353451f57b2a2d
[ "MIT" ]
1
2017-02-21T17:57:05.000Z
2017-02-22T11:28:51.000Z
src/pyfmodex/channel_group.py
Loodoor/UnamedPy
7d154c3a652992b3c1f28050f0353451f57b2a2d
[ "MIT" ]
null
null
null
from .fmodobject import * from .globalvars import dll as _dll from .globalvars import get_class class ChannelGroup(FmodObject): def add_dsp(self, dsp): check_type(dsp, get_class("DSP")) c_ptr = c_void_p() self._call_fmod("FMOD_ChannelGroup_AddDSP", d._ptr, byref(c_ptr)) return get_...
31.61236
120
0.675671
674
5,627
5.305638
0.186944
0.138702
0.100671
0.134228
0.455537
0.35151
0.314038
0.207215
0.140101
0.073266
0
0.004112
0.222143
5,627
177
121
31.79096
0.812886
0
0
0.235714
0
0
0.159055
0.151057
0
0
0
0
0
1
0.257143
false
0
0.021429
0.014286
0.421429
0
0
0
0
null
0
0
0
0
0
0
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
608acb157c66cbf8e5a515ca2945d9dde9e8ed86
337
py
Python
morphocut_server/extensions.py
madelinetharp/morphocut-server
a82ad5916adbd168816f7b26432b4a98d978c299
[ "MIT" ]
null
null
null
morphocut_server/extensions.py
madelinetharp/morphocut-server
a82ad5916adbd168816f7b26432b4a98d978c299
[ "MIT" ]
1
2019-08-14T20:07:53.000Z
2019-08-14T20:07:53.000Z
morphocut_server/extensions.py
madelinetharp/morphocut-server
a82ad5916adbd168816f7b26432b4a98d978c299
[ "MIT" ]
2
2019-11-28T13:10:28.000Z
2021-11-19T20:37:19.000Z
from flask_sqlalchemy import SQLAlchemy from flask_redis import FlaskRedis from flask_migrate import Migrate # from flask_rq2 import RQ from rq import Queue from morphocut_server.worker import redis_conn database = SQLAlchemy() redis_store = FlaskRedis() migrate = Migrate() redis_queue = Queue(connection=redis_conn)...
22.466667
46
0.824926
47
337
5.702128
0.382979
0.134328
0
0
0
0
0
0
0
0
0
0.003401
0.127596
337
14
47
24.071429
0.908163
0.071217
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6093e41de9ab4c93dd30e9d6abbd45ef1d80f2ad
214
py
Python
Chapter11/publish_horoscope1_in_another_ipns.py
HowToBeCalculated/Hands-On-Blockchain-for-Python-Developers
f9634259dd3dc509f36a5ccf3a5182c0d2ec79c4
[ "MIT" ]
62
2019-03-18T04:41:41.000Z
2022-03-31T05:03:13.000Z
Chapter11/publish_horoscope1_in_another_ipns.py
HowToBeCalculated/Hands-On-Blockchain-for-Python-Developers
f9634259dd3dc509f36a5ccf3a5182c0d2ec79c4
[ "MIT" ]
2
2020-06-14T21:56:03.000Z
2022-01-07T05:32:01.000Z
Chapter11/publish_horoscope1_in_another_ipns.py
HowToBeCalculated/Hands-On-Blockchain-for-Python-Developers
f9634259dd3dc509f36a5ccf3a5182c0d2ec79c4
[ "MIT" ]
42
2019-02-22T03:10:36.000Z
2022-02-20T04:47:04.000Z
import ipfsapi c = ipfsapi.connect() peer_id = c.key_list()['Keys'][1]['Id'] c.name_publish('QmYjYGKXqo36GDt6f6qvp9qKAsrc72R9y88mQSLvogu8Ub', key='another_key') result = c.cat('/ipns/' + peer_id) print(result)
19.454545
83
0.728972
28
214
5.392857
0.642857
0.07947
0
0
0
0
0
0
0
0
0
0.061856
0.093458
214
10
84
21.4
0.716495
0
0
0
0
0
0.32243
0.214953
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
6093fc893ebcd37ea362c87f16107050ab4d6124
1,179
py
Python
tests/optimize/test_newton_raphson_hypo.py
dwillmer/fastats
5915423714b32ed7e953e1e3a311fe50c3f30943
[ "MIT" ]
26
2017-07-17T09:19:53.000Z
2021-11-30T01:36:56.000Z
tests/optimize/test_newton_raphson_hypo.py
dwillmer/fastats
5915423714b32ed7e953e1e3a311fe50c3f30943
[ "MIT" ]
320
2017-09-02T16:26:25.000Z
2021-07-28T05:19:49.000Z
tests/optimize/test_newton_raphson_hypo.py
dwillmer/fastats
5915423714b32ed7e953e1e3a311fe50c3f30943
[ "MIT" ]
13
2017-07-06T19:02:29.000Z
2020-01-22T11:36:34.000Z
from hypothesis import given, assume, settings from hypothesis.strategies import floats from numpy import cos from pytest import approx from fastats.optimise.newton_raphson import newton_raphson def func(x): return x**3 - x - 1 def less_or_equal(x, compared_to, rel=1e-6): return ((x < compared_to) ...
21.436364
71
0.676845
197
1,179
3.827411
0.324873
0.039788
0.043767
0.058355
0.196286
0.196286
0.196286
0.111406
0.111406
0
0
0.032839
0.199321
1,179
54
72
21.833333
0.76589
0.081425
0
0
0
0
0.007561
0
0
0
0
0
0.068966
1
0.172414
false
0
0.206897
0.103448
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
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
60a44344bf403a9af637f117e79a2de34161a730
8,141
py
Python
ptrace/oop/math_tests.py
xann16/py-path-tracing
609dbe6b80580212bd9d8e93afb6902091040d7a
[ "MIT" ]
null
null
null
ptrace/oop/math_tests.py
xann16/py-path-tracing
609dbe6b80580212bd9d8e93afb6902091040d7a
[ "MIT" ]
null
null
null
ptrace/oop/math_tests.py
xann16/py-path-tracing
609dbe6b80580212bd9d8e93afb6902091040d7a
[ "MIT" ]
null
null
null
"""Unit tests for math-oriented common classes.""" import unittest import math import numpy as np from .vector import Vec3, OrthonormalBasis from .raycast_base import Ray from .camera import Camera class Vec3Tests(unittest.TestCase): """Test for Vec3 class.""" def test_vec3_basic(self): """Basic cr...
35.550218
81
0.607051
1,141
8,141
4.241893
0.134969
0.192149
0.095455
0.052273
0.430579
0.269215
0.191116
0.091529
0.03595
0.03595
0
0.069187
0.23658
8,141
228
82
35.70614
0.709574
0.076035
0
0.012987
0
0
0.004426
0
0
0
0
0
0.584416
1
0.051948
false
0
0.038961
0
0.116883
0
0
0
0
null
0
0
0
0
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
60a44dedd81ec9521c352eb02db132ee4f4bcd33
2,336
py
Python
tests/integration/condition__browser__have_url_test.py
kianku/selene
5361938e4f34d6cfae6df3aeca80e06a3e657d8c
[ "MIT" ]
null
null
null
tests/integration/condition__browser__have_url_test.py
kianku/selene
5361938e4f34d6cfae6df3aeca80e06a3e657d8c
[ "MIT" ]
null
null
null
tests/integration/condition__browser__have_url_test.py
kianku/selene
5361938e4f34d6cfae6df3aeca80e06a3e657d8c
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2015-2020 Iakiv Kramarenko # # 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, modif...
37.079365
101
0.771404
337
2,336
5.183976
0.41543
0.112192
0.058386
0.045793
0.366342
0.328563
0.261019
0.261019
0.218661
0.218661
0
0.006523
0.146832
2,336
62
102
37.677419
0.870045
0.47988
0
0.347826
0
0
0.066331
0.024349
0
0
0
0.016129
0
1
0.173913
false
0
0.173913
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
60aacb1ea53997b926d5fc68404773f2cbe78055
852
py
Python
rooms/models.py
Neisvestney/SentSyncServer
45e9572b6c9b274ed2cbad28749fcb2154c98757
[ "MIT" ]
null
null
null
rooms/models.py
Neisvestney/SentSyncServer
45e9572b6c9b274ed2cbad28749fcb2154c98757
[ "MIT" ]
null
null
null
rooms/models.py
Neisvestney/SentSyncServer
45e9572b6c9b274ed2cbad28749fcb2154c98757
[ "MIT" ]
null
null
null
from django.db import models class Room(models.Model): code = models.CharField('Code', max_length=128) tab_url = models.CharField('Tab url', max_length=512, default='', blank=True) def to_dict(self): return { 'users': [u.to_dict() for u in self.users.all()], 'tabUrl': self...
25.818182
82
0.597418
107
852
4.588785
0.429907
0.081466
0.04888
0.052953
0.14664
0
0
0
0
0
0
0.014241
0.258216
852
32
83
26.625
0.762658
0
0
0.26087
0
0
0.123239
0
0
0
0
0
0
1
0.173913
false
0
0.043478
0.173913
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
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
60afd06ba545d034d33e457e4d731a2d4625fc23
340
py
Python
dynts/lib/fallback/simplefunc.py
quantmind/dynts
21ac57c648bfec402fa6b1fe569496cf098fb5e8
[ "BSD-3-Clause" ]
57
2015-02-10T13:42:06.000Z
2022-03-28T14:48:36.000Z
dynts/lib/fallback/simplefunc.py
quantmind/dynts
21ac57c648bfec402fa6b1fe569496cf098fb5e8
[ "BSD-3-Clause" ]
1
2016-11-01T07:43:05.000Z
2016-11-01T07:43:05.000Z
dynts/lib/fallback/simplefunc.py
quantmind/dynts
21ac57c648bfec402fa6b1fe569496cf098fb5e8
[ "BSD-3-Clause" ]
17
2015-05-08T04:09:19.000Z
2021-08-02T19:24:52.000Z
from .common import * def tsminmax(v): mv = NaN xv = NaN for v in x: if x == x: if mv == mv: mv = min(mv,x) else: mv = x if xv == xv: xv = max(xv,x) else: xv = x retu...
20
31
0.297059
40
340
2.525
0.425
0.089109
0
0
0
0
0
0
0
0
0
0
0.608824
340
17
32
20
0.759399
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
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
60b09b84c56168890b3b6bd6e6a345dc11ac1a37
3,552
py
Python
week9/finance/application.py
lcsm29/edx-harvard-cs50
283f49bd6a9e4b8497e2b397d766b64527b4786b
[ "MIT" ]
null
null
null
week9/finance/application.py
lcsm29/edx-harvard-cs50
283f49bd6a9e4b8497e2b397d766b64527b4786b
[ "MIT" ]
null
null
null
week9/finance/application.py
lcsm29/edx-harvard-cs50
283f49bd6a9e4b8497e2b397d766b64527b4786b
[ "MIT" ]
null
null
null
import os from cs50 import SQL from flask import Flask, flash, redirect, render_template, request, session from flask_session import Session from tempfile import mkdtemp from werkzeug.exceptions import default_exceptions, HTTPException, InternalServerError from werkzeug.security import check_password_hash, generate_pa...
24.839161
100
0.675113
457
3,552
5.170678
0.36105
0.055015
0.043165
0.042319
0.161659
0.115954
0
0
0
0
0
0.005927
0.192568
3,552
142
101
25.014085
0.817992
0.228322
0
0.208333
0
0
0.174823
0.007845
0
0
0
0
0
1
0.138889
false
0.069444
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
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
60b4ecd85396e388011990857be8fae61e376084
517
py
Python
Cursoemvideo/desafios/desafio008.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
1
2021-03-16T13:07:29.000Z
2021-03-16T13:07:29.000Z
Cursoemvideo/desafios/desafio008.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
null
null
null
Cursoemvideo/desafios/desafio008.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
null
null
null
#Escreva um programa que leia um valor em metros e o exiba convertido em centimetros e milimetros. n = float(input('\033[32mDigite o numero:\033[m')) print('O número digitado é \033[33m{0:.0f}m\033[m.\n' 'Ele apresentado em centimetros fica \033[33m{0:.2f}cm\033[m.\n' 'Apresentado em milímetros fica \033[33...
47
98
0.686654
95
517
3.736842
0.442105
0.04507
0.059155
0.061972
0
0
0
0
0
0
0
0.110855
0.162476
517
10
99
51.7
0.709007
0.483559
0
0
0
0.2
0.729008
0.282443
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60b50f0934ca9581fa086a588f7ded362261de6d
795
py
Python
publish_fanout.py
Dordoloy/BachelorDIM-Lectures-Algorithms-2019
14e3e7132eecf62e3476dbea4d9db32adf1544ff
[ "MIT" ]
null
null
null
publish_fanout.py
Dordoloy/BachelorDIM-Lectures-Algorithms-2019
14e3e7132eecf62e3476dbea4d9db32adf1544ff
[ "MIT" ]
null
null
null
publish_fanout.py
Dordoloy/BachelorDIM-Lectures-Algorithms-2019
14e3e7132eecf62e3476dbea4d9db32adf1544ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Oct 21 08:47:08 2019 @author: dordoloy """ import os import pika import config import getpass def publish_fanout(): amqp_url=config.amqp_url # Parse CLODUAMQP_URL (fallback to localhost) url = os.environ.get('CLOUDAMQP_URL',amqp_url) params = pika...
22.714286
71
0.622642
86
795
5.616279
0.616279
0.043478
0
0
0
0
0
0
0
0
0
0.02418
0.271698
795
35
72
22.714286
0.810017
0.178616
0
0
0
0
0.062112
0
0
0
0
0
0
1
0.052632
false
0.052632
0.210526
0
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
60b585e86ccc82ac6a2eddf76170bf681c5dfe4e
364
py
Python
python/word-count/word_count.py
whitepeaony/exercism-python
5c947ba5c589f1969bcb754e88969420262c457e
[ "MIT" ]
null
null
null
python/word-count/word_count.py
whitepeaony/exercism-python
5c947ba5c589f1969bcb754e88969420262c457e
[ "MIT" ]
20
2019-08-02T13:59:21.000Z
2022-01-22T10:08:23.000Z
python/word-count/word_count.py
whitepeaony/exercism-python
5c947ba5c589f1969bcb754e88969420262c457e
[ "MIT" ]
null
null
null
def count_words(sentence): sentence = sentence.lower() words = {} shit = ',\n:!&@$%^&._' for s in shit: sentence = sentence.replace(s, ' ') for w in sentence.split(): if w.endswith('\''): w = w[:-1] if w.startswith('\''): w = w[1:] words...
20.222222
43
0.453297
44
364
3.704545
0.454545
0.294479
0.03681
0
0
0
0
0
0
0
0
0.017094
0.357143
364
17
44
21.411765
0.679487
0
0
0
0
0
0.044077
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
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
60bb3a202511a6b1b6fac3f7f1b3970bd6850c3c
367
py
Python
setup.py
monkey2000/pygazetteer
3eb6026b1473f773817a81ebc0060ec455482739
[ "MIT" ]
1
2018-01-28T09:38:56.000Z
2018-01-28T09:38:56.000Z
setup.py
monkey2000/pygazetteer
3eb6026b1473f773817a81ebc0060ec455482739
[ "MIT" ]
null
null
null
setup.py
monkey2000/pygazetteer
3eb6026b1473f773817a81ebc0060ec455482739
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pygazetteer', version='0.1.0', description='Location extractor by looking up gazetteer', url='https://github.com/monkey2000/pygazetteer', license='MIT', packages=['pygazetteer'], install_requires=[ 'pyahocorasick' ], zip...
24.466667
63
0.643052
38
367
6.105263
0.894737
0
0
0
0
0
0
0
0
0
0
0.024911
0.234332
367
14
64
26.214286
0.800712
0
0
0
0
0
0.344262
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
60cbf96ec164888707eb2ca83b141b44664c1449
821
py
Python
bouncer/blacklist/signals.py
sourcelair/bouncer-api
132c63bbd470b0635054ad71656d0303b39ee421
[ "MIT" ]
null
null
null
bouncer/blacklist/signals.py
sourcelair/bouncer-api
132c63bbd470b0635054ad71656d0303b39ee421
[ "MIT" ]
25
2018-07-17T10:58:23.000Z
2018-08-30T11:33:58.000Z
bouncer/blacklist/signals.py
sourcelair/bouncer-api
132c63bbd470b0635054ad71656d0303b39ee421
[ "MIT" ]
2
2018-07-18T10:57:20.000Z
2020-05-23T04:43:27.000Z
from django.db.models.signals import pre_save from django.dispatch import receiver from blacklist import models from hashlib import sha256 @receiver(pre_save, sender=models.EmailEntry) def email_entry_handler(sender, instance, **kwargs): """ Handler that assigns to lower_case_entry_value the entry_value.lower...
31.576923
74
0.774665
109
821
5.568807
0.311927
0.14827
0.115321
0.156507
0.576606
0.398682
0.398682
0.398682
0.398682
0.398682
0
0.00838
0.127893
821
25
75
32.84
0.839385
0.171742
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
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
60ccdf38e3f7af2b3782dcf2b849f63822752423
2,181
py
Python
matcher/utils.py
BlueRidgeLabs/slack-meetups
aca850d4265f30f6d76bed1b1baeb2973c60c83d
[ "MIT" ]
12
2019-05-23T03:55:06.000Z
2022-02-25T07:11:27.000Z
matcher/utils.py
BlueRidgeLabs/slack-meetups
aca850d4265f30f6d76bed1b1baeb2973c60c83d
[ "MIT" ]
11
2020-03-27T18:43:58.000Z
2021-06-10T18:00:50.000Z
matcher/utils.py
BlueRidgeLabs/slack-meetups
aca850d4265f30f6d76bed1b1baeb2973c60c83d
[ "MIT" ]
9
2019-11-15T23:18:44.000Z
2022-02-10T19:27:37.000Z
import re # regex for a user or channel mention at the beginning of a message # example matches: " <@UJQ07L30Q> ", "<#C010P8N1ABB|interns>" # interactive playground: https://regex101.com/r/2Z7eun/2 MENTION_PATTERN = r"(?:^\s?<@(.*?)>\s?)|(?:^\s?<#(.*?)\|.*?>\s?)" def get_set_element(_set): """get the element fr...
30.291667
78
0.643283
318
2,181
4.298742
0.279874
0.070227
0.043892
0.05267
0.433065
0.402341
0.383321
0.343819
0.340892
0.340892
0
0.020581
0.242549
2,181
71
79
30.71831
0.806901
0.371848
0
0.529412
0
0
0.13587
0.034161
0
0
0
0
0
1
0.176471
false
0.058824
0.029412
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
60d863fc0a0729ad229e95ea37c2cad1dd4545ab
2,165
py
Python
toontown/fishing/FishCollection.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
99
2019-11-02T22:25:00.000Z
2022-02-03T03:48:00.000Z
toontown/fishing/FishCollection.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
42
2019-11-03T05:31:08.000Z
2022-03-16T22:50:32.000Z
toontown/fishing/FishCollection.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
57
2019-11-03T07:47:37.000Z
2022-03-22T00:41:49.000Z
from . import FishBase from . import FishGlobals class FishCollection: def __init__(self): self.fishList = [] def __len__(self): return len(self.fishList) def getFish(self): return self.fishList def makeFromNetLists(self, genusList, speciesList, weightList): self.fis...
30.069444
99
0.597229
214
2,165
5.929907
0.247664
0.113475
0.035461
0.051221
0.297084
0.171001
0.171001
0.090623
0.063042
0
0
0.004011
0.309007
2,165
71
100
30.492958
0.844251
0
0
0.240741
0
0
0.012933
0
0
0
0
0
0
1
0.203704
false
0
0.037037
0.074074
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
60d8c3596ef6ebab1b92b84940522e5139154989
1,550
py
Python
lead/strategies/strategy_base.py
M4gicT0/Distribute
af903cdf6ae271f4b1152007ea4ba3928af57936
[ "MIT" ]
null
null
null
lead/strategies/strategy_base.py
M4gicT0/Distribute
af903cdf6ae271f4b1152007ea4ba3928af57936
[ "MIT" ]
null
null
null
lead/strategies/strategy_base.py
M4gicT0/Distribute
af903cdf6ae271f4b1152007ea4ba3928af57936
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # # Distributed under terms of the MIT license. """ Strategy base class """ from abc import ABCMeta, abstractmethod from tinydb import TinyDB, Query from node import Node import json class Strategy(object): def __init__(self, this_controller, thi...
25.833333
82
0.60129
184
1,550
4.978261
0.369565
0.068777
0.026201
0.034935
0.131004
0.091703
0.091703
0.091703
0.091703
0
0
0.001771
0.271613
1,550
59
83
26.271186
0.809566
0.07871
0
0.325
0
0
0.04311
0
0
0
0
0
0
1
0.175
false
0.075
0.1
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
60def5370c10bc67986c4becccbe96488e2d1a66
3,924
py
Python
venv/Lib/site-packages/pafy/g.py
DavidJohnKelly/YoutubeDownloader
29cb4aa90946803474959f60d7b7e2f07c6e4de2
[ "MIT" ]
2
2021-10-05T03:09:57.000Z
2022-01-12T09:50:31.000Z
venv/Lib/site-packages/pafy/g.py
DavidJohnKelly/YoutubeDownloader
29cb4aa90946803474959f60d7b7e2f07c6e4de2
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pafy/g.py
DavidJohnKelly/YoutubeDownloader
29cb4aa90946803474959f60d7b7e2f07c6e4de2
[ "MIT" ]
1
2021-05-23T17:10:20.000Z
2021-05-23T17:10:20.000Z
import sys if sys.version_info[:2] >= (3, 0): # pylint: disable=E0611,F0401,I0011 from urllib.request import build_opener else: from urllib2 import build_opener from . import __version__ urls = { 'gdata': "https://www.googleapis.com/youtube/v3/", 'watchv': "http://www.youtube.com/watch?v=%s", ...
41.305263
77
0.509429
438
3,924
4.495434
0.46347
0.082275
0.073134
0.019807
0.024378
0.024378
0
0
0
0
0
0.181139
0.181193
3,924
94
78
41.744681
0.431684
0.028797
0
0
0
0
0.464004
0.034945
0
0
0
0
0
1
0
false
0
0.045977
0
0.045977
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60e50a2d4456ade56ee11c29fccdf4c73a092641
5,590
py
Python
sympy/polys/tests/test_monomialtools.py
ichuang/sympy
18afbcc7df2ebf2280ea5a88fde8ece34182ae71
[ "BSD-3-Clause" ]
1
2015-10-06T21:51:51.000Z
2015-10-06T21:51:51.000Z
sympy/polys/tests/test_monomialtools.py
ichuang/sympy
18afbcc7df2ebf2280ea5a88fde8ece34182ae71
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/tests/test_monomialtools.py
ichuang/sympy
18afbcc7df2ebf2280ea5a88fde8ece34182ae71
[ "BSD-3-Clause" ]
null
null
null
"""Tests for tools and arithmetics for monomials of distributed polynomials. """ from sympy.polys.monomialtools import ( monomials, monomial_count, monomial_key, lex, grlex, grevlex, monomial_mul, monomial_div, monomial_gcd, monomial_lcm, monomial_max, monomial_min, monomial_divides, Monomi...
29.114583
97
0.549911
998
5,590
3.023046
0.073146
0.041763
0.032814
0.065628
0.433875
0.327478
0.241299
0.191913
0.129267
0.042426
0
0.102831
0.210197
5,590
191
98
29.267016
0.580521
0.013059
0
0
0
0
0.02196
0
0
0
0
0
0.731884
1
0.115942
false
0
0.028986
0
0.144928
0
0
0
0
null
0
0
0
0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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