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
ca0f8935849a303fbba95f69b04309b363fb4396
283
py
Python
src/web.py
zmcx16/ChaldeaStockObservatory-Core
7e8a063961de7568c34f8e6c228757923e8c05cf
[ "MIT" ]
null
null
null
src/web.py
zmcx16/ChaldeaStockObservatory-Core
7e8a063961de7568c34f8e6c228757923e8c05cf
[ "MIT" ]
null
null
null
src/web.py
zmcx16/ChaldeaStockObservatory-Core
7e8a063961de7568c34f8e6c228757923e8c05cf
[ "MIT" ]
null
null
null
import requests from common import * def send_request(url): try: res = requests.get(url) res.raise_for_status() except Exception as exc: print('Generated an exception: %s' % exc) return ERR_WEB_ERROR, exc return ERR_SUCCESS, res.text
17.6875
49
0.64311
38
283
4.631579
0.736842
0.102273
0.136364
0
0
0
0
0
0
0
0
0
0.275618
283
15
50
18.866667
0.858537
0
0
0
1
0
0.092199
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.5
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca0fa23769829004e7ffb2c63d03ff9112e69e4d
837
py
Python
app/account/migrations/0009_relation.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
null
null
null
app/account/migrations/0009_relation.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
9
2020-07-09T15:29:48.000Z
2020-07-29T13:05:30.000Z
app/account/migrations/0009_relation.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-03 11:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('account', '0008_auto_20200530_1309'), ] operations = [ migrations.CreateM...
34.875
158
0.658303
98
837
5.479592
0.530612
0.05959
0.078212
0.122905
0.353818
0.268156
0.268156
0.268156
0.268156
0.268156
0
0.048706
0.215054
837
23
159
36.391304
0.768645
0.054958
0
0
1
0
0.08872
0.029151
0
0
0
0
0
1
0
false
0
0.176471
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca1122f4acfb056bec2609b88ea6a3ab622c77e3
1,502
py
Python
data-storage-manager/src/simcore_service_dsm/rest/generated_code/models/error_model.py
mguidon/aiohttp-dsm
612e4c7f6f73df7d6752269965c428fda0276191
[ "MIT" ]
null
null
null
data-storage-manager/src/simcore_service_dsm/rest/generated_code/models/error_model.py
mguidon/aiohttp-dsm
612e4c7f6f73df7d6752269965c428fda0276191
[ "MIT" ]
null
null
null
data-storage-manager/src/simcore_service_dsm/rest/generated_code/models/error_model.py
mguidon/aiohttp-dsm
612e4c7f6f73df7d6752269965c428fda0276191
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from .base_model_ import Model from .. import util class ErrorModel(Model): """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator....
23.107692
96
0.591877
175
1,502
4.977143
0.354286
0.041332
0.110218
0.086108
0.253731
0.082664
0.082664
0
0
0
0
0.015429
0.309587
1,502
64
97
23.46875
0.824494
0.424767
0
0.086957
0
0
0.052113
0
0
0
0
0
0
1
0.173913
false
0
0.217391
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca13cd70000bf83f234b4a5745e0f78ca209c481
3,555
py
Python
pysnmp/CISCO-CAS-IF-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-CAS-IF-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-CAS-IF-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-CAS-IF-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-CAS-IF-CAPABILITY # Produced by pysmi-0.3.4 at Mon Apr 29 17:35:01 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
101.571429
477
0.775527
358
3,555
7.695531
0.379888
0.008711
0.041379
0.056624
0.445372
0.349546
0.349546
0.349546
0.349546
0.345554
0
0.096005
0.091702
3,555
34
478
104.558824
0.7572
0.09564
0
0.222222
0
0
0.247037
0.020898
0
0
0
0
0
1
0
false
0
0.259259
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca19502a1cceb17f754e2906fb093b11b8434812
2,136
py
Python
simulation/model/blocks/order.py
fladdimir/csa-simulation-based-sc-forecast
80f176a783496f8859609f63b56c6199a73d9909
[ "MIT" ]
2
2020-11-04T17:34:38.000Z
2021-08-13T07:55:23.000Z
simulation/model/blocks/order.py
fladdimir/csa-simulation-based-sc-forecast
80f176a783496f8859609f63b56c6199a73d9909
[ "MIT" ]
null
null
null
simulation/model/blocks/order.py
fladdimir/csa-simulation-based-sc-forecast
80f176a783496f8859609f63b56c6199a73d9909
[ "MIT" ]
2
2021-05-28T02:55:44.000Z
2021-08-03T13:56:10.000Z
import logging from casymda.blocks.entity import Entity from simpy.core import Environment class Order(Entity): def __init__(self, env: Environment, name: str): super().__init__(env, name) self._time_of_acceptance = -1 self._initial_eta = -1 self._eta = -1 self._ready_at ...
25.428571
86
0.623596
281
2,136
4.455516
0.163701
0.057508
0.102236
0.091054
0.242812
0.107827
0.087859
0
0
0
0
0.003856
0.271536
2,136
83
87
25.73494
0.800771
0.028558
0
0.09375
0
0.015625
0.063676
0
0
0
0
0
0
1
0.21875
false
0
0.046875
0.09375
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
1
0
0
0
0
0
0
0
1
ca1b5eb38de0a406ce502a3a1fd87938d360c350
3,498
py
Python
python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-python-containers_dictionary.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-python-containers_dictionary.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-python-containers_dictionary.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CS231n Convolutional Neural Networks for Visual Recognition http://cs231n.github.io/ Python Numpy Tutorial http://cs231n.github.io/python-numpy-tutorial/  ̄ python_numpy_tutorial-python-containers_dictionary.py 2019-07-03 (Wed) """ # Python Numpy Tutorial > Python > C...
26.70229
81
0.636078
512
3,498
4.337891
0.361328
0.01891
0.034219
0.032418
0.235029
0.167042
0.139127
0.105808
0.105808
0.03602
0
0.02115
0.22956
3,498
131
82
26.70229
0.801113
0.785592
0
0.190476
0
0
0.201849
0
0
0
0
0
0
1
0
false
0
0
0
0
0.619048
0
0
0
null
0
0
0
0
0
0
0
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
ca23c1c1fb9f0996c3429cd643f93153fd251931
307
py
Python
tracker/migrations/0016_merge_20190914_1249.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
39
2016-01-04T04:13:27.000Z
2022-01-18T19:17:24.000Z
tracker/migrations/0016_merge_20190914_1249.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
140
2015-11-01T01:19:54.000Z
2022-03-10T13:00:33.000Z
tracker/migrations/0016_merge_20190914_1249.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
35
2016-01-20T12:42:21.000Z
2022-01-20T07:06:47.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-09-14 16:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tracker', '0015_add_speedrun_twitch_name'), ('tracker', '0015_add_allow_donations'), ] operations = [ ]
18.058824
53
0.638436
37
307
5.108108
0.837838
0.116402
0.148148
0
0
0
0
0
0
0
0
0.109244
0.224756
307
16
54
19.1875
0.684874
0.224756
0
0
1
0
0.285106
0.225532
0
0
0
0
0
1
0
false
0
0.125
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca2c0ab19ea859d07a1be0aeaa1c9e6aba93dfd7
5,424
py
Python
mitzasql/ui/widgets/session_popup_launcher.py
vladbalmos/mitzasql
06c2a96eb4494095b2b72bc1454199a4940b0700
[ "MIT" ]
69
2019-05-16T06:40:18.000Z
2022-03-24T06:23:49.000Z
mitzasql/ui/widgets/session_popup_launcher.py
vladbalmos/mitzasql
06c2a96eb4494095b2b72bc1454199a4940b0700
[ "MIT" ]
36
2019-05-15T19:55:24.000Z
2021-07-22T07:07:14.000Z
mitzasql/ui/widgets/session_popup_launcher.py
vladbalmos/mitzasql
06c2a96eb4494095b2b72bc1454199a4940b0700
[ "MIT" ]
8
2019-05-16T06:56:28.000Z
2022-02-11T02:24:12.000Z
# Copyright (c) 2021 Vlad Balmos <vladbalmos@yahoo.com> # Author: Vlad Balmos <vladbalmos@yahoo.com> # See LICENSE file import urwid from .. import main_loop as shared_main_loop from .error_dialog import ErrorDialog from .info_dialog import InfoDialog from .quit_dialog import QuitDialog class SessionPopupLauncher(ur...
34.113208
91
0.6309
658
5,424
4.869301
0.18693
0.093321
0.034332
0.061798
0.5902
0.526217
0.456305
0.456305
0.456305
0.427591
0
0.007176
0.280605
5,424
158
92
34.329114
0.813942
0.030236
0
0.459677
0
0
0.028566
0
0
0
0
0
0
1
0.201613
false
0
0.040323
0.008065
0.419355
0
0
0
0
null
0
0
0
0
0
0
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
ca2e5ef930ba43da3724f81c6111b142413377f8
266
py
Python
Desafios/Desafio110.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
Desafios/Desafio110.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
Desafios/Desafio110.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
#Adicione ao módulo moeda.py criado nos desafios anteriores, uma função chamada resumo(), que mostre na tela algumas #informaçôes geradas pelas funções que já temos no módulo criado até aqui. import moeda p = float(input('Preço: R$')) moeda.resumo(p, 20, 12)
20.461538
116
0.74812
42
266
4.738095
0.833333
0
0
0
0
0
0
0
0
0
0
0.0181
0.169173
266
12
117
22.166667
0.882353
0.706767
0
0
0
0
0.126761
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ca32957679bae1dd771e128856697fc064b21819
1,066
py
Python
devices/ssh_connection.py
premandfriends/boardfarm-1
3c952c94507fff25ba9955cad993610ea4a95e2e
[ "BSD-3-Clause-Clear" ]
74
2015-08-25T22:50:38.000Z
2022-01-04T16:32:00.000Z
devices/ssh_connection.py
premandfriends/boardfarm-1
3c952c94507fff25ba9955cad993610ea4a95e2e
[ "BSD-3-Clause-Clear" ]
72
2015-10-12T17:42:47.000Z
2019-01-19T14:11:18.000Z
devices/ssh_connection.py
mgualco-contractor/boardfarm
6a033e5dc84c7368fdd8ec2738b08b35ca7b07e7
[ "BSD-3-Clause-Clear" ]
50
2015-08-25T22:45:44.000Z
2022-01-05T09:47:04.000Z
import pexpect class SshConnection: ''' To use, set conn_cmd in your json to "ssh root@192.168.1.1 -i ~/.ssh/id_rsa"" and set connection_type to "ssh" ''' def __init__(self, device=None, conn_cmd=None, ssh_password='None', **kwargs): self.device = device self.conn_cmd ...
34.387097
108
0.586304
134
1,066
4.507463
0.477612
0.149007
0.074503
0
0
0
0
0
0
0
0
0.013405
0.300188
1,066
30
109
35.533333
0.796247
0.103189
0
0
0
0
0.140845
0
0
0
0
0
0.05
1
0.15
false
0.25
0.05
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ca3bd3a376645b025849e3f06f5829483ac7b31b
222
py
Python
10 days of statistics/Day5PoissonDistribution2.py
rahamath2009/git-github.com-nishant-sethi-HackerRank
14d9bd3e772a863aceba22d9a3361a8325cca4bc
[ "Apache-2.0" ]
76
2018-06-28T04:29:14.000Z
2022-03-21T01:57:27.000Z
10 days of statistics/Day5PoissonDistribution2.py
rahamath2009/git-github.com-nishant-sethi-HackerRank
14d9bd3e772a863aceba22d9a3361a8325cca4bc
[ "Apache-2.0" ]
31
2018-10-01T09:12:05.000Z
2022-03-08T23:39:01.000Z
10 days of statistics/Day5PoissonDistribution2.py
rahamath2009/git-github.com-nishant-sethi-HackerRank
14d9bd3e772a863aceba22d9a3361a8325cca4bc
[ "Apache-2.0" ]
44
2018-07-09T11:31:20.000Z
2022-01-12T19:21:20.000Z
''' Created on May 28, 2018 @author: nishant.sethi ''' import math mean_x=0.88 mean_y=1.55 result_x=160+40*(mean_x+mean_x**2) result_y=128+40*(mean_y+mean_y**2) print(round(result_x,3)) print(round(result_y,3))
18.5
35
0.693694
46
222
3.130435
0.543478
0.104167
0.222222
0
0
0
0
0
0
0
0
0.134021
0.126126
222
12
36
18.5
0.608247
0.211712
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
0
0
0
null
0
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
ca44efe3a14324ad455173735e360004c5e5aad2
2,136
py
Python
PortScan/portScan.py
Pter18/PruebasPentest
4775a686fe1b82a4227b16a91e1f11de6a38ba3c
[ "MIT" ]
null
null
null
PortScan/portScan.py
Pter18/PruebasPentest
4775a686fe1b82a4227b16a91e1f11de6a38ba3c
[ "MIT" ]
null
null
null
PortScan/portScan.py
Pter18/PruebasPentest
4775a686fe1b82a4227b16a91e1f11de6a38ba3c
[ "MIT" ]
null
null
null
#|/bin/python ''' Rodriguez Gallardo Pedro Alejandro Plan de Becarios generacion 13 Curso: Pruebas de penetracion Programa que escanea una IP y detenrmina los puertos abiertos con ayuda de scapy. ''' import time from scapy.all import * # IP a escanear ip = "192.168.2.70" # Cuenta de puertos cerrados closed_ports = 0 ...
35.016393
113
0.603933
289
2,136
4.373702
0.49481
0.03481
0.016614
0.022152
0.10443
0.10443
0.056962
0.056962
0.056962
0.056962
0
0.030181
0.301966
2,136
60
114
35.6
0.817572
0.269195
0
0.111111
0
0
0.114054
0
0
0
0.005887
0
0
0
null
null
0
0.055556
null
null
0.138889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ca495ff6d99e320548bea5450f91415d2d462394
836
py
Python
pygfa/operations.py
Francesco2304/pygfa
9bf6fb5f0a959685300ab863a0e716a2268109f7
[ "MIT" ]
3
2020-06-25T22:47:02.000Z
2022-02-27T15:16:02.000Z
pygfa/operations.py
Francesco2304/pygfa
9bf6fb5f0a959685300ab863a0e716a2268109f7
[ "MIT" ]
3
2017-08-08T12:24:23.000Z
2022-02-27T15:17:25.000Z
pygfa/operations.py
Francesco2304/pygfa
9bf6fb5f0a959685300ab863a0e716a2268109f7
[ "MIT" ]
4
2019-02-04T20:54:53.000Z
2020-05-14T19:52:24.000Z
from networkx.algorithms.components.connected import node_connected_component as nx_node_connected_component from networkx.algorithms.components.connected import connected_components as nx_connected_components import pygfa.gfa # required for GFAError (gives error otherwise) def nodes_connected_component(gfa_, nid): ...
38
108
0.748804
113
836
5.327434
0.389381
0.179402
0.109635
0.106312
0.215947
0.156146
0
0
0
0
0
0
0.191388
836
21
109
39.809524
0.890533
0.303828
0
0
0
0
0.065574
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca4e61922979fa286da153af698ea6dab0729124
266
py
Python
server/opendp_apps/model_helpers/msg_util.py
mikephelan/opendp-ux
80c65da0ed17adc01c69b05dbc9cbf3a5973a016
[ "MIT" ]
6
2021-05-25T18:50:58.000Z
2022-03-23T19:52:15.000Z
server/opendp_apps/model_helpers/msg_util.py
mikephelan/opendp-ux
80c65da0ed17adc01c69b05dbc9cbf3a5973a016
[ "MIT" ]
298
2021-05-19T17:34:09.000Z
2022-03-29T18:45:22.000Z
server/opendp_apps/model_helpers/msg_util.py
opendp/dpcreator
6ba3c58ecdcd81ca1f4533a14ce7604eccf6a646
[ "MIT" ]
2
2020-10-16T22:03:24.000Z
2020-11-15T22:45:19.000Z
def msg(m): """ Shorthand for print statement """ print(m) def dashes(cnt=40): """ Print dashed line """ msg('-' * cnt) def msgt(m): """ Add dashed line pre/post print statment """ dashes() msg(m) dashes()
12.090909
43
0.492481
32
266
4.09375
0.53125
0.061069
0
0
0
0
0
0
0
0
0
0.011494
0.345865
266
21
44
12.666667
0.741379
0.327068
0
0.25
0
0
0.007519
0
0
0
0
0
0
1
0.375
false
0
0
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ca56829f893d1be24d8f759f0e5d686d90b4ce8d
1,467
py
Python
scrapy/selector/lxmlsel.py
hobson/scrapy
9f2465fb81628f2bb70d8d03fd23aa41e9801eae
[ "BSD-3-Clause" ]
null
null
null
scrapy/selector/lxmlsel.py
hobson/scrapy
9f2465fb81628f2bb70d8d03fd23aa41e9801eae
[ "BSD-3-Clause" ]
null
null
null
scrapy/selector/lxmlsel.py
hobson/scrapy
9f2465fb81628f2bb70d8d03fd23aa41e9801eae
[ "BSD-3-Clause" ]
null
null
null
""" XPath selectors based on lxml """ from .unified import Selector, SelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', 'XPathSelectorList'] class XPathSelector(Selector): __slots__ = () _default_type = 'html' def __init__(self, *a, **kw): import warnin...
30.5625
79
0.637355
127
1,467
7
0.377953
0.016873
0.053993
0.044994
0.482565
0.31946
0.31946
0.31946
0.202475
0.202475
0
0.001843
0.260395
1,467
47
80
31.212766
0.817512
0.019768
0
0.419355
0
0
0.207692
0.053147
0
0
0
0
0
1
0.096774
false
0
0.16129
0
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca605c6ef1b2ca158ae12b5e670631d41c835b07
302
py
Python
src/myResume.py
charlielin99/Jobalytics
cf0461eb3862e375032cfe2ef05eadf7bf465fec
[ "MIT" ]
13
2018-08-19T14:10:32.000Z
2021-10-01T20:20:38.000Z
src/myResume.py
charlielin99/Jobalytics
cf0461eb3862e375032cfe2ef05eadf7bf465fec
[ "MIT" ]
1
2021-04-06T04:58:43.000Z
2021-04-06T04:58:43.000Z
src/myResume.py
charlielin99/Jobalytics
cf0461eb3862e375032cfe2ef05eadf7bf465fec
[ "MIT" ]
4
2018-09-20T19:43:29.000Z
2020-01-23T10:33:16.000Z
import indicoio, os, json indicoio.config.api_key = '27df1eee04c5b65fb3113e9458d1d701' fileDir = os.path.dirname(os.path.realpath('__file__')) fileResumeTxt = open(os.path.join(fileDir, "data/resume.txt"), 'w') resume = "data/resumePDF.pdf" print(json.dumps(indicoio.pdf_extraction(resume)))
33.555556
68
0.751656
38
302
5.815789
0.657895
0.081448
0
0
0
0
0
0
0
0
0
0.07326
0.096026
302
9
69
33.555556
0.736264
0
0
0
0
0
0.250847
0.108475
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca6901950982a690817b33bf00b4352b3b47bec5
10,056
py
Python
test/unit/parser/test_parser_helper.py
buddly27/champollion
aa53804ad11e32f1bb8dcb02668c6df3771efcaa
[ "Apache-2.0" ]
3
2017-06-13T01:36:32.000Z
2020-12-14T18:26:01.000Z
test/unit/parser/test_parser_helper.py
buddly27/champollion
aa53804ad11e32f1bb8dcb02668c6df3771efcaa
[ "Apache-2.0" ]
1
2018-09-27T16:13:48.000Z
2020-06-03T22:27:56.000Z
test/unit/parser/test_parser_helper.py
buddly27/champollion
aa53804ad11e32f1bb8dcb02668c6df3771efcaa
[ "Apache-2.0" ]
null
null
null
# :coding: utf-8 import pytest import os import champollion.parser.helper @pytest.mark.parametrize( ("content_lines", "line_number", "expected"), [ ( [ "/**", " * An function example.", " *", " * Detailed description.", ...
24.952854
77
0.3393
836
10,056
4.028708
0.151914
0.058195
0.044537
0.023753
0.704572
0.628563
0.552257
0.49228
0.428741
0.383017
0
0.011866
0.513922
10,056
402
78
25.014925
0.677169
0.026154
0
0.657895
0
0
0.36265
0.014436
0
0
0
0
0.013158
1
0.013158
false
0
0.007895
0
0.021053
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
ca6e2b256c330324a67fb4aa6dd0d2a9b8cc825c
9,706
py
Python
MyHDLSim/Manager.py
mattsnowboard/msu-myhdlsim
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
[ "BSD-2-Clause" ]
1
2021-03-30T10:20:06.000Z
2021-03-30T10:20:06.000Z
MyHDLSim/Manager.py
mattsnowboard/msu-myhdlsim
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
[ "BSD-2-Clause" ]
null
null
null
MyHDLSim/Manager.py
mattsnowboard/msu-myhdlsim
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
[ "BSD-2-Clause" ]
null
null
null
import wx import wx.lib.ogl as ogl from myhdl import Signal, Simulation, delay, instance, StopSimulation, now from MyHDLSim.Wrappers.SignalWrapper import SignalWrapper from MyHDLSim.Module import Module from MyHDLSim.wxApplication import MainWindow, ThreadTimer, EVT_THREAD_TIMER class Manager: """ This class will ...
33.353952
92
0.571914
1,209
9,706
4.498759
0.234905
0.023166
0.018018
0.01765
0.329472
0.305939
0.305939
0.289024
0.267696
0.242692
0
0.007995
0.329899
9,706
290
93
33.468966
0.82826
0.268082
0
0.132867
0
0
0.003212
0
0
0
0
0.013793
0
1
0.188811
false
0
0.041958
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ca713885917f88c7111540d8832e21eb26208818
1,438
py
Python
tests/src/dirac_notation/test_bra.py
KaroliShp/Quantumformatics
4166448706c06a1a45abd106da8152b4f4c40a25
[ "MIT" ]
2
2019-10-28T20:26:14.000Z
2019-10-29T08:28:45.000Z
tests/src/dirac_notation/test_bra.py
KaroliShp/Quantumformatics
4166448706c06a1a45abd106da8152b4f4c40a25
[ "MIT" ]
3
2019-10-28T09:19:27.000Z
2019-10-28T13:42:08.000Z
tests/src/dirac_notation/test_bra.py
KaroliShp/Quantumformatics
4166448706c06a1a45abd106da8152b4f4c40a25
[ "MIT" ]
null
null
null
import pytest from pytest_mock import mocker from hamcrest import * import numpy as np from src.dirac_notation.ket import Ket from src.dirac_notation.bra import Bra from src.dirac_notation.matrix import Matrix @pytest.mark.parametrize('input_1,input_2,expected_output_1,expected_output_2', [ ( Bra([1,1]),...
24.372881
84
0.604312
209
1,438
3.904306
0.186603
0.205882
0.107843
0.117647
0.539216
0.474265
0.474265
0.442402
0.442402
0.301471
0
0.061355
0.240612
1,438
59
85
24.372881
0.685897
0.00904
0
0.326531
0
0
0.079354
0.079354
0
0
0
0
0.081633
1
0.061224
false
0
0.142857
0
0.204082
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
ca7a85095b1b2b5b29546e3e20953394398b0936
297
py
Python
bmi.py
manmik2323/lifeisawesome.online
286b6a252c58d4751f07c28a343343a8fbb862fc
[ "CC-BY-3.0" ]
null
null
null
bmi.py
manmik2323/lifeisawesome.online
286b6a252c58d4751f07c28a343343a8fbb862fc
[ "CC-BY-3.0" ]
null
null
null
bmi.py
manmik2323/lifeisawesome.online
286b6a252c58d4751f07c28a343343a8fbb862fc
[ "CC-BY-3.0" ]
null
null
null
import cgitb cgitb.enable() print("This is a simple BMI convertor") weight = float(input("Enter weight in pounds: ")) height = float(input("Enter height in inches: ")) weight_kg = weight / 2.205 # pounds to kg height_m = height / 39.37 BMI = weight_kg / (height_m ** 2) print(f'BMI is {BMI:.2f}')
29.7
49
0.693603
50
297
4.04
0.54
0.09901
0.148515
0
0
0
0
0
0
0
0
0.04
0.158249
297
9
50
33
0.768
0.040404
0
0
0
0
0.332155
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca891eab678acc220da14e7299f6f382535e0a94
1,910
py
Python
BI-IOS/semester-project/webapp/beecon/campaigns/libs/cinemas/mvMovieSchedules.py
josefdolezal/fit-cvut
6b6abea4232b946246d33290718d6c5007926b63
[ "MIT" ]
20
2016-05-15T10:39:53.000Z
2022-03-29T00:06:06.000Z
BI-IOS/semester-project/webapp/beecon/campaigns/libs/cinemas/mvMovieSchedules.py
josefdolezal/fit-cvut
6b6abea4232b946246d33290718d6c5007926b63
[ "MIT" ]
3
2017-05-27T16:44:01.000Z
2019-01-02T21:02:59.000Z
BI-IOS/semester-project/webapp/beecon/campaigns/libs/cinemas/mvMovieSchedules.py
josefdolezal/fit-cvut
6b6abea4232b946246d33290718d6c5007926b63
[ "MIT" ]
11
2018-08-22T21:16:32.000Z
2021-04-10T22:42:34.000Z
# -*- coding: utf-8 -*- from DataSource import CinemaCity from bs4 import BeautifulSoup from datetime import datetime import re class MovieSchedule: def __init__( self, url, date ): self.url = url self._load_schedule() def closest_movies( self ): print( self.movies ) def _load_schedule( self ): ...
25.466667
111
0.611518
250
1,910
4.464
0.284
0.026882
0.058244
0.0681
0.150538
0.041219
0
0
0
0
0
0.002037
0.228796
1,910
74
112
25.810811
0.755601
0.010995
0
0.072727
0
0
0.064653
0
0
0
0
0
0
1
0.218182
false
0
0.072727
0.036364
0.4
0.018182
0
0
0
null
0
0
0
0
0
0
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
ca8c2762f3fbfac9e880ce9182c81186e49f9ea1
2,305
py
Python
django_fileuploadvalidation/modules/validation/validator.py
IV1T3/django-middleware-fileuploadvalidation
7396702415a623424e3e790edc2f5dd51041d908
[ "Apache-2.0" ]
null
null
null
django_fileuploadvalidation/modules/validation/validator.py
IV1T3/django-middleware-fileuploadvalidation
7396702415a623424e3e790edc2f5dd51041d908
[ "Apache-2.0" ]
34
2021-07-22T14:43:20.000Z
2022-03-14T08:40:49.000Z
django_fileuploadvalidation/modules/validation/validator.py
IV1T3/django-middleware-fileuploadvalidation
7396702415a623424e3e790edc2f5dd51041d908
[ "Apache-2.0" ]
null
null
null
import clamd import logging from io import BytesIO from . import basic, image, quicksand def get_clamAV_results(file_object): # Connects to UNIX socket on /var/run/clamav/clamd.ctl clam_daemon = clamd.ClamdUnixSocket() clamd_res = clam_daemon.instream(BytesIO(file_object.content)) return clamd_res...
32.464789
110
0.536659
225
2,305
5.32
0.333333
0.053467
0.066834
0.073517
0.188805
0
0
0
0
0
0
0.00071
0.38872
2,305
70
111
32.928571
0.848829
0.121475
0
0.166667
0
0
0.130025
0.014392
0
0
0
0
0
1
0.047619
false
0.071429
0.095238
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
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
ca93f06b436cc477a9fe3786cd6aa0d7c14c1cf3
1,861
py
Python
001146StepikPyBegin/Stepik001146PyBeginсh11p06st07TASK03_20210311_lists_methods.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001146StepikPyBegin/Stepik001146PyBeginсh11p06st07TASK03_20210311_lists_methods.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001146StepikPyBegin/Stepik001146PyBeginсh11p06st07TASK03_20210311_lists_methods.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
import string def onlyletters(s): s1 = [] for i in s: if i not in string.punctuation: # проверяем посимвольно, есть ли в списке пунктуационных знаков s1.append(i) s2 = ''.join(s1) # соединяем массив символов в слово return s2 words = (input().lower()).split() # преобразуем сло...
26.211268
107
0.626008
286
1,861
4.052448
0.311189
0.129422
0.198447
0.090595
0.36497
0.236411
0.203624
0.203624
0.129422
0.129422
0
0.017027
0.179473
1,861
70
108
26.585714
0.741978
0.118216
0
0.095238
0
0.02381
0.267857
0
0
0
0
0
0
1
0.02381
false
0
0.047619
0
0.095238
0.238095
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
ca968827ae8ca82e5994b430fbeebecd32c70e99
1,027
py
Python
setup.py
schyczewski/electrum-sum-server
3e78c225290e8b21dc59e14aac5df7c6d99e0d8c
[ "MIT" ]
null
null
null
setup.py
schyczewski/electrum-sum-server
3e78c225290e8b21dc59e14aac5df7c6d99e0d8c
[ "MIT" ]
null
null
null
setup.py
schyczewski/electrum-sum-server
3e78c225290e8b21dc59e14aac5df7c6d99e0d8c
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="electrum-sum-server", version="1.0", scripts=['run_electrum_sum_server.py','electrum-sum-server'], install_requires=['plyvel','jsonrpclib', 'irc >= 11, <=14.0'], package_dir={ 'electrumsumserver':'src' }, py_modules=[ 'electrumsu...
33.129032
77
0.668939
92
1,027
7.304348
0.619565
0.065476
0.10119
0
0
0
0
0
0
0
0
0.008495
0.197663
1,027
30
78
34.233333
0.807039
0
0
0
0
0
0.578384
0.326193
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
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
ca99e20a87727779716fbe845133ce076ca3fec6
997
py
Python
dimsim/tests/test_dimsim.py
NTHU-NLPLAB/DimSim
c851d76c228088ee84064c5bda2ca3ef9feb34dd
[ "Apache-2.0" ]
null
null
null
dimsim/tests/test_dimsim.py
NTHU-NLPLAB/DimSim
c851d76c228088ee84064c5bda2ca3ef9feb34dd
[ "Apache-2.0" ]
null
null
null
dimsim/tests/test_dimsim.py
NTHU-NLPLAB/DimSim
c851d76c228088ee84064c5bda2ca3ef9feb34dd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Dependencies import pytest # The module to test from dimsim.core.model import get_distance, get_candidates def test_distance_near(): dist = get_distance(u'大侠', u'大虾') assert dist == 0.0002380952380952381 def test_distance_far(): dist = get_distance(u'大侠', u'大人') assert di...
23.186047
70
0.673019
143
997
4.454545
0.412587
0.065934
0.070644
0.065934
0.299843
0.276295
0.100471
0.100471
0.100471
0.100471
0
0.07824
0.179539
997
42
71
23.738095
0.700489
0.053159
0
0.173913
0
0
0.078723
0
0
0
0
0
0.26087
1
0.26087
false
0
0.086957
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
0
0
0
1
0
0
0
0
0
0
0
1
ca9c42a3546a2a31de0428c29562026775458eb1
3,812
py
Python
run_measure_seeing.py
marissakotze/timDIMM
dde00a3bb6ca7c3d9b71e24f9363350a0e2a323f
[ "BSD-3-Clause" ]
1
2021-06-06T15:26:36.000Z
2021-06-06T15:26:36.000Z
run_measure_seeing.py
marissakotze/timDIMM
dde00a3bb6ca7c3d9b71e24f9363350a0e2a323f
[ "BSD-3-Clause" ]
null
null
null
run_measure_seeing.py
marissakotze/timDIMM
dde00a3bb6ca7c3d9b71e24f9363350a0e2a323f
[ "BSD-3-Clause" ]
3
2015-07-29T15:16:35.000Z
2017-12-01T13:02:36.000Z
#!/usr/bin/env python import os, shutil import datetime import ox_wagon import pick_star from find_boxes import find_boxes from guide_gto900 import guide_gto900 from pygto900 import GTO900, status from spiral_search_gto900 import spiralsearch import time import sys old_star = None repeat = 1 niter = 15 spiral_log ...
30.99187
106
0.612802
526
3,812
4.36692
0.372624
0.055725
0.016979
0.018285
0.149325
0.104484
0.084458
0.084458
0.047018
0.047018
0
0.028255
0.266527
3,812
122
107
31.245902
0.793276
0.137198
0
0.243902
0
0.036585
0.346883
0.014364
0
0
0
0
0
0
null
null
0.02439
0.121951
null
null
0.134146
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0465d285875f7341d40eda1201940586861d778c
3,325
py
Python
checker.py
nautilusPrime/howdy_checker
e2dfc2962a54d93d62d1f7dcc1b4690bd1760c95
[ "Unlicense" ]
null
null
null
checker.py
nautilusPrime/howdy_checker
e2dfc2962a54d93d62d1f7dcc1b4690bd1760c95
[ "Unlicense" ]
null
null
null
checker.py
nautilusPrime/howdy_checker
e2dfc2962a54d93d62d1f7dcc1b4690bd1760c95
[ "Unlicense" ]
null
null
null
# coding: utf-8 # author: Ankur Roy Chowdhury from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support.ui import Select from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver...
31.971154
108
0.668571
410
3,325
5.14878
0.331707
0.080531
0.059687
0.069635
0.254382
0.210801
0.123164
0.094742
0.059687
0.059687
0
0.007719
0.220752
3,325
103
109
32.281553
0.807024
0.035188
0
0.060606
0
0
0.079975
0.04936
0
0
0
0
0
1
0.075758
false
0.060606
0.106061
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
046adc53c7fe3e03006b675d1e1ef4fb8a9ffa29
924
py
Python
src/airflow_fs/sensors.py
Sergfalt/airflow-fs
b1e09035242b4feb70faf1626a12d6078d0883c1
[ "MIT" ]
16
2019-03-14T22:21:36.000Z
2021-10-05T20:34:13.000Z
src/airflow_fs/sensors.py
Sergfalt/airflow-fs
b1e09035242b4feb70faf1626a12d6078d0883c1
[ "MIT" ]
1
2019-10-15T19:24:06.000Z
2020-04-06T12:56:17.000Z
src/airflow_fs/sensors.py
Sergfalt/airflow-fs
b1e09035242b4feb70faf1626a12d6078d0883c1
[ "MIT" ]
8
2019-03-15T22:11:15.000Z
2021-07-07T18:45:50.000Z
"""Module containing file system sensors.""" from airflow.sensors.base_sensor_operator import BaseSensorOperator from airflow.utils.decorators import apply_defaults from airflow_fs.hooks import LocalHook class FileSensor(BaseSensorOperator): """Sensor that waits for files matching a given file pattern. :pa...
28.875
71
0.6829
116
924
5.275862
0.577586
0.053922
0
0
0
0
0
0
0
0
0
0
0.234848
924
31
72
29.806452
0.865629
0.322511
0
0
0
0
0.020067
0
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
046be80319f651476fa1099fd611e380f14e2ece
412
py
Python
pkg/tests/test_range.py
arita37/pyvtreat
c32e7ce6db11a2ccdd63e545b25028cbec03a3ff
[ "BSD-3-Clause" ]
1
2020-08-16T12:07:56.000Z
2020-08-16T12:07:56.000Z
pkg/tests/test_range.py
arita37/pyvtreat
c32e7ce6db11a2ccdd63e545b25028cbec03a3ff
[ "BSD-3-Clause" ]
null
null
null
pkg/tests/test_range.py
arita37/pyvtreat
c32e7ce6db11a2ccdd63e545b25028cbec03a3ff
[ "BSD-3-Clause" ]
null
null
null
import vtreat.util import pandas import numpy def test_range(): # https://github.com/WinVector/pyvtreat/blob/master/Examples/Bugs/asarray_issue.md # https://github.com/WinVector/pyvtreat/issues/7 numpy.random.seed(2019) arr = numpy.random.randint(2, size=10) sparr = pandas.arrays.SparseArray(arr, ...
29.428571
86
0.740291
60
412
5
0.633333
0.1
0.093333
0.153333
0.366667
0
0
0
0
0
0
0.02521
0.133495
412
13
87
31.692308
0.815126
0.308252
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.111111
false
0
0.333333
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
0
1
0
0
0
0
1
046d31d158fc4b7351831f3cd9d74c5e9eb6c08b
2,592
py
Python
nipype/interfaces/ants/tests/test_auto_KellyKapowski.py
sebastientourbier/nipype
99c5904176481520c5bf42a501aae1a12184e672
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/ants/tests/test_auto_KellyKapowski.py
sebastientourbier/nipype
99c5904176481520c5bf42a501aae1a12184e672
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/ants/tests/test_auto_KellyKapowski.py
sebastientourbier/nipype
99c5904176481520c5bf42a501aae1a12184e672
[ "Apache-2.0" ]
null
null
null
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from __future__ import unicode_literals from ..segmentation import KellyKapowski def test_KellyKapowski_inputs(): input_map = dict(args=dict(argstr='%s', ), convergence=dict(argstr='--convergence "%s"', usedefault=True, ), cortical_thicknes...
31.228916
114
0.68287
299
2,592
5.698997
0.314381
0.088028
0.032864
0.042254
0.288732
0.176056
0.147887
0.147887
0.147887
0.147887
0
0.000467
0.173997
2,592
82
115
31.609756
0.795423
0.019676
0
0.466667
1
0
0.192596
0.126822
0
0
0
0
0.026667
1
0.026667
false
0
0.026667
0
0.053333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
046e66b446fbf1ac3ae733e7523d1431aba5d800
1,206
py
Python
sample_project/users/models.py
CorrDyn/django-bulk-user-upload
caa5e74f295ad5b89056f588b5782fa396e502af
[ "MIT" ]
1
2022-01-27T14:38:37.000Z
2022-01-27T14:38:37.000Z
sample_project/users/models.py
CorrDyn/django-bulk-user-upload
caa5e74f295ad5b89056f588b5782fa396e502af
[ "MIT" ]
null
null
null
sample_project/users/models.py
CorrDyn/django-bulk-user-upload
caa5e74f295ad5b89056f588b5782fa396e502af
[ "MIT" ]
null
null
null
from django.contrib.auth.base_user import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin # https://wsvincent.com/django-custom-user-model-tutorial/ from django.db import models from django.utils import timezone from django.utils.translation import gettext_lazy as _ from users.managers import...
32.594595
118
0.707297
140
1,206
5.942857
0.521429
0.060096
0.040865
0.050481
0.052885
0
0
0
0
0
0
0.006141
0.189884
1,206
36
119
33.5
0.845445
0.046434
0
0
0
0
0.203833
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0471aa4a650f08ab7b5c8c85b7f2d8e99b5c94f4
6,081
py
Python
main.py
Grads2Career-Python/eliaseraphim_password_confirmation
0f3e3a9b7ad614587f24837d05c88ad3101570a1
[ "MIT" ]
null
null
null
main.py
Grads2Career-Python/eliaseraphim_password_confirmation
0f3e3a9b7ad614587f24837d05c88ad3101570a1
[ "MIT" ]
null
null
null
main.py
Grads2Career-Python/eliaseraphim_password_confirmation
0f3e3a9b7ad614587f24837d05c88ad3101570a1
[ "MIT" ]
1
2021-06-14T14:22:19.000Z
2021-06-14T14:22:19.000Z
# author: elia deppe # date 6/4/21 # # simple password confirmation program that confirms a password of size 12 to 48, with at least: one lower-case letter # one upper-case letter, one number, and one special character. # constants MIN_LENGTH, MAX_LENGTH = 8, 48 # min and max length of password # dictionaries LO...
31.837696
118
0.645617
769
6,081
5.039012
0.217165
0.048258
0.025548
0.024774
0.285161
0.231226
0.201806
0.172129
0.154065
0.154065
0
0.005538
0.257688
6,081
190
119
32.005263
0.852902
0.476073
0
0.112676
0
0
0.272845
0.031644
0
0
0
0
0
1
0.098592
false
0.309859
0
0.014085
0.126761
0.183099
0
0
0
null
0
0
0
0
0
0
0
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
0477b8704fc254929c1468f8e3c98a6ae150cd99
1,040
py
Python
problems/A/LevelStatistics.py
deveshbajpai19/CodeForces
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
55
2016-06-19T05:45:15.000Z
2022-03-31T15:18:53.000Z
problems/A/LevelStatistics.py
farhadcu/CodeForces-2
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
null
null
null
problems/A/LevelStatistics.py
farhadcu/CodeForces-2
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
25
2016-07-29T13:03:15.000Z
2021-09-17T01:45:45.000Z
__author__ = 'Devesh Bajpai' ''' https://codeforces.com/problemset/problem/1334/A Solution: Its easy to deduce that even for one player, it is impossible to clear more levels than the plays done. This also is true when multiple players are there. Secondly, the number of plays or levels cleared cannot go done as they ...
26.666667
120
0.6375
177
1,040
3.457627
0.502825
0.039216
0.04085
0.03268
0.065359
0.039216
0
0
0
0
0
0.01847
0.271154
1,040
38
121
27.368421
0.788918
0
0
0
0
0
0.042994
0
0
0
0
0
0
0
null
null
0
0
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
047ddea5eaf08f1b1d3d02d14ffa8e3bbd12dec7
3,543
py
Python
core/rest/authentication.py
macdaliot/Osmedeus
cd8020416af81a745af7b06c8c5a1c5881911234
[ "MIT" ]
1
2020-02-20T15:10:07.000Z
2020-02-20T15:10:07.000Z
core/rest/authentication.py
macdaliot/Osmedeus
cd8020416af81a745af7b06c8c5a1c5881911234
[ "MIT" ]
null
null
null
core/rest/authentication.py
macdaliot/Osmedeus
cd8020416af81a745af7b06c8c5a1c5881911234
[ "MIT" ]
null
null
null
import os import json import glob import datetime from flask_restful import Api, Resource, reqparse from flask_jwt_extended import ( JWTManager, jwt_required, create_access_token, get_jwt_identity ) from .decorators import local_only import utils ''' Check authentication ''' current_path = os.path.dirname(...
34.735294
137
0.593847
385
3,543
5.322078
0.345455
0.026842
0.02489
0.016593
0.285017
0.285017
0.285017
0.285017
0.285017
0.244021
0
0.0029
0.318657
3,543
101
138
35.079208
0.845899
0.125318
0
0.294118
0
0
0.11053
0.016678
0
0
0
0
0
1
0.044118
false
0.132353
0.117647
0
0.323529
0
0
0
0
null
0
0
0
0
0
0
0
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
047fc0cf6a71b49d6c093c09917af516389bdb89
3,862
py
Python
hanse_ros/xsens_driver/nodes/mtdef.py
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
hanse_ros/xsens_driver/nodes/mtdef.py
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
hanse_ros/xsens_driver/nodes/mtdef.py
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
"""Constant and messages definition for MT communication.""" class MID: """Values for the message id (MID)""" ## Error message, 1 data byte Error = 0x42 ErrorCodes = { 0x03: "Invalid period", 0x04: "Invalid message", 0x1E: "Timer overflow", 0x20: "Invalid baudrate", 0x21: "Invalid parameter" } # Stat...
24.75641
62
0.722683
453
3,862
6.077263
0.569536
0.018162
0.013077
0.01235
0.023974
0.023974
0.023974
0.023974
0
0
0
0.142489
0.196789
3,862
155
63
24.916129
0.745003
0.330399
0
0.040816
0
0
0.051127
0
0
0
0.179549
0
0
1
0.040816
false
0
0
0.010204
0.734694
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
048e21a34122d250073c40e802c888ac73a5c8e4
602
py
Python
src/program/migrations/0079_eventinstance_uuid.py
lgandersen/bornhack-website
fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df
[ "BSD-3-Clause" ]
7
2017-04-14T15:28:29.000Z
2021-09-10T09:45:38.000Z
src/program/migrations/0079_eventinstance_uuid.py
lgandersen/bornhack-website
fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df
[ "BSD-3-Clause" ]
799
2016-04-28T09:31:50.000Z
2022-03-29T09:05:02.000Z
src/program/migrations/0079_eventinstance_uuid.py
lgandersen/bornhack-website
fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df
[ "BSD-3-Clause" ]
35
2016-04-28T09:23:53.000Z
2021-05-02T12:36:01.000Z
# Generated by Django 3.0.3 on 2020-02-22 13:59 import uuid from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("program", "0078_auto_20200214_2100"), ] operations = [ migrations.AddField( model_name="eventinstance", ...
23.153846
104
0.55814
67
602
4.940299
0.791045
0
0
0
0
0
0
0
0
0
0
0.081841
0.350498
602
25
105
24.08
0.764706
0.074751
0
0.111111
1
0
0.21982
0.041441
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
049a005b96a52797a15d88dec327f267e14f4272
651
py
Python
kive/portal/apps.py
cfe-lab/Kive
e46b9eb40f085d579c12f47b6b5696d5ee93a9d3
[ "BSD-3-Clause" ]
2
2016-10-02T18:24:53.000Z
2019-01-19T09:37:56.000Z
kive/portal/apps.py
dmacmillan/Kive
76bc8f289f66fb133f78cb6d5689568b7d015915
[ "BSD-3-Clause" ]
1,190
2015-07-10T22:57:23.000Z
2022-03-30T05:10:14.000Z
kive/portal/apps.py
dmacmillan/Kive
76bc8f289f66fb133f78cb6d5689568b7d015915
[ "BSD-3-Clause" ]
2
2019-07-16T00:25:25.000Z
2019-11-25T16:32:58.000Z
import logging import sys from django.apps import AppConfig from django.conf import settings logger = logging.getLogger(__name__) class PortalConfig(AppConfig): name = 'portal' def ready(self): is_manage_py = sys.argv and sys.argv[0].endswith('manage.py') if is_manage_py and len(sys.argv) >...
29.590909
77
0.655914
86
651
4.825581
0.651163
0.06747
0.048193
0
0
0
0
0
0
0
0
0.00625
0.262673
651
21
78
31
0.858333
0.095238
0
0
0
0
0.207836
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
049afbb984009ea06474ce34e8657c76529b4597
533
py
Python
setup.py
getyourguide/image-quality-assessment
6e61ca2d2627e5c16a648db4097519936d86b604
[ "Apache-2.0" ]
null
null
null
setup.py
getyourguide/image-quality-assessment
6e61ca2d2627e5c16a648db4097519936d86b604
[ "Apache-2.0" ]
null
null
null
setup.py
getyourguide/image-quality-assessment
6e61ca2d2627e5c16a648db4097519936d86b604
[ "Apache-2.0" ]
null
null
null
import setuptools setuptools.setup( name="image-quality-assessment", version="0.0.1", author="gdp", author_email="engineering.data-products@getyourguide.com", description="TBD", long_description_content_type="text/markdown", url="https://github.com/getyourguide/image-quality-assessment", ...
29.611111
73
0.660413
61
533
5.655738
0.737705
0.069565
0.127536
0
0
0
0
0
0
0
0
0.013605
0.172608
533
18
74
29.611111
0.768707
0.118199
0
0
0
0
0.358209
0.140725
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
049f5f9f41f902d0b150f604248f0afb878c2c27
1,490
py
Python
setup.py
radionets-project/vipy
792b43b77e56d085c649942180f7b83383cba73d
[ "MIT" ]
null
null
null
setup.py
radionets-project/vipy
792b43b77e56d085c649942180f7b83383cba73d
[ "MIT" ]
10
2021-02-11T08:41:40.000Z
2021-12-01T14:59:18.000Z
setup.py
radionets-project/vipy
792b43b77e56d085c649942180f7b83383cba73d
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="vipy", version="0.0.3", description="Simulate radio interferometer observations and visibility generation.", url="https://github.com/radionets-project/vipy", author="Kevin Schmidt, Felix Geyer, Stefan Fröse", author_email="kevin3.schmidt@...
31.702128
88
0.587919
135
1,490
6.437037
0.681481
0.109321
0.143844
0.119678
0
0
0
0
0
0
0
0.011019
0.269128
1,490
46
89
32.391304
0.786961
0
0
0.044444
0
0
0.567114
0.078523
0
0
0
0
0
1
0
true
0
0.022222
0
0.022222
0
0
0
0
null
0
0
0
0
0
0
0
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
04a0d2b92a66841497b189be82e766ad06751727
9,152
py
Python
nicos/devices/taco/axis.py
ess-dmsc/nicos
755d61d403ff7123f804c45fc80c7ff4d762993b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
1
2021-03-26T10:30:45.000Z
2021-03-26T10:30:45.000Z
nicos/devices/taco/axis.py
ess-dmsc/nicos
755d61d403ff7123f804c45fc80c7ff4d762993b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
nicos/devices/taco/axis.py
ess-dmsc/nicos
755d61d403ff7123f804c45fc80c7ff4d762993b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
3
2020-08-04T18:35:05.000Z
2021-04-16T11:22:08.000Z
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2021 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the t...
37.052632
88
0.631556
1,056
9,152
5.354167
0.303977
0.033958
0.041387
0.054121
0.231341
0.180403
0.093031
0.06544
0.06544
0.027237
0
0.006265
0.25
9,152
246
89
37.203252
0.817453
0.190887
0
0.15
0
0
0.108835
0
0
0
0
0
0
1
0.2125
false
0
0.04375
0.08125
0.425
0
0
0
0
null
0
0
0
0
0
0
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
04a85192c223afca54121d60e415bd78114d791a
459
py
Python
Balsn_CTF_2019/Need_some_flags/solution/Need_some_flags_2_exp.py
sces60107/My-CTF-Challenges
85fe38f31b416e232e5c6ea80eb7a9c69cb5dd5f
[ "MIT" ]
3
2019-10-11T15:45:23.000Z
2019-10-16T05:42:32.000Z
Balsn_CTF_2019/Need_some_flags/solution/Need_some_flags_2_exp.py
sces60107/My-CTF-Challenges
85fe38f31b416e232e5c6ea80eb7a9c69cb5dd5f
[ "MIT" ]
null
null
null
Balsn_CTF_2019/Need_some_flags/solution/Need_some_flags_2_exp.py
sces60107/My-CTF-Challenges
85fe38f31b416e232e5c6ea80eb7a9c69cb5dd5f
[ "MIT" ]
null
null
null
from pwn import * import hashlib r=remote("18.205.38.120",10122) ## pow temp=r.recvuntil("sha256( ") prefix=r.recvline().split()[0] i=0 while True: data=prefix+str(i) Hash=hashlib.sha256(data) if Hash.hexdigest()[:5]=="0"*5: r.sendline(str(i)) break i+=1 ## get flag r.sendline("0") r.sendline("syste...
15.827586
33
0.655773
77
459
3.909091
0.532468
0.269103
0
0
0
0
0
0
0
0
0
0.086634
0.119826
459
28
34
16.392857
0.658416
0.026144
0
0
0
0
0.131222
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
04b4ad9fcdad3b668ebfdad4cb2989d436e7b726
32,672
py
Python
src/hobbits-plugins/analyzers/KaitaiStruct/ksy_py/hardware/mifare/mifare_classic.py
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
304
2020-02-07T21:05:22.000Z
2022-03-24T05:30:37.000Z
src/hobbits-plugins/analyzers/KaitaiStruct/ksy_py/hardware/mifare/mifare_classic.py
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
2,107
2019-11-05T09:26:16.000Z
2022-02-14T13:35:36.000Z
src/hobbits-plugins/analyzers/KaitaiStruct/ksy_py/hardware/mifare/mifare_classic.py
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
30
2020-03-11T14:36:43.000Z
2022-03-07T04:45:17.000Z
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO import collections if parse_version(kaitaistruct.__version__) < parse_version('0.9'): raise E...
46.27762
256
0.531219
3,975
32,672
3.947673
0.044528
0.071693
0.089472
0.096355
0.776064
0.694621
0.571247
0.516696
0.469093
0.418111
0
0.004996
0.350606
32,672
705
257
46.343262
0.7346
0.011202
0
0.455357
1
0
0.088993
0.018784
0
0
0
0
0
1
0.117857
false
0.010714
0.007143
0
0.282143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04b55157cb70920c18083d308f8864cd831540fd
5,325
py
Python
umbra/common/protobuf/umbra_grpc.py
serial-coder/umbra
156883392aad1a5af9a6ad26e07e9e3ed7102004
[ "Apache-2.0" ]
19
2018-11-19T20:31:33.000Z
2022-03-08T11:37:21.000Z
umbra/common/protobuf/umbra_grpc.py
serial-coder/umbra
156883392aad1a5af9a6ad26e07e9e3ed7102004
[ "Apache-2.0" ]
20
2018-11-01T18:22:33.000Z
2021-06-17T07:00:34.000Z
umbra/common/protobuf/umbra_grpc.py
serial-coder/umbra
156883392aad1a5af9a6ad26e07e9e3ed7102004
[ "Apache-2.0" ]
20
2018-11-07T06:10:50.000Z
2022-03-28T19:20:59.000Z
# Generated by the Protocol Buffers compiler. DO NOT EDIT! # source: umbra.proto # plugin: grpclib.plugin.main import abc import typing import grpclib.const import grpclib.client if typing.TYPE_CHECKING: import grpclib.server import google.protobuf.struct_pb2 import google.protobuf.timestamp_pb2 from umbra.common...
28.475936
110
0.589108
534
5,325
5.700375
0.14794
0.113009
0.068988
0.05749
0.71912
0.678712
0.483246
0.278909
0.278909
0.203351
0
0.012212
0.307981
5,325
186
111
28.629032
0.81384
0.019531
0
0.541667
1
0
0.134368
0.096416
0
0
0
0
0
1
0.069444
false
0.048611
0.055556
0.034722
0.229167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04bc00e7e672bb917a6554d1ba2cf036a60272b6
3,937
py
Python
configs_custom/mmcls/dog-vs-cat/resnet50_b32x8.py
apulis/ApulisVision
d1f226f4bc769b03c5565b9d6e76dd9823771cc7
[ "Apache-2.0" ]
1
2020-09-09T05:10:39.000Z
2020-09-09T05:10:39.000Z
configs_custom/mmcls/dog-vs-cat/resnet50_b32x8.py
apulis/ApulisVision
d1f226f4bc769b03c5565b9d6e76dd9823771cc7
[ "Apache-2.0" ]
null
null
null
configs_custom/mmcls/dog-vs-cat/resnet50_b32x8.py
apulis/ApulisVision
d1f226f4bc769b03c5565b9d6e76dd9823771cc7
[ "Apache-2.0" ]
1
2021-03-31T02:00:13.000Z
2021-03-31T02:00:13.000Z
model = dict( type='ImageClassifier', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(3, ), style='pytorch'), neck=dict(type='GlobalAveragePooling'), head=dict( type='LinearClsHead', num_classes=1000, in_channels=2048, ...
34.234783
77
0.554991
483
3,937
4.409938
0.285714
0.17277
0.028169
0.03662
0.669953
0.669953
0.669953
0.669953
0.669953
0.652113
0
0.090155
0.264669
3,937
114
78
34.535088
0.645596
0
0
0.587719
0
0
0.200914
0.035052
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
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
04bd8ee517fa496914814f08e7ffaa7ca9bd71d8
1,296
py
Python
setup.py
monim67/django-sslcommerz
097d6946d3b61e76502a94fd73506df2b18b4b81
[ "MIT" ]
null
null
null
setup.py
monim67/django-sslcommerz
097d6946d3b61e76502a94fd73506df2b18b4b81
[ "MIT" ]
null
null
null
setup.py
monim67/django-sslcommerz
097d6946d3b61e76502a94fd73506df2b18b4b81
[ "MIT" ]
1
2022-03-05T05:45:50.000Z
2022-03-05T05:45:50.000Z
import setuptools def get_long_description(): with open("README.md") as file: return file.read() setuptools.setup( name="django-sslcommerz", version="1.0.0", description="Sslcommerz for django.", long_description=get_long_description(), url="https://github.com/monim67/django-sslcomme...
32.4
67
0.625772
131
1,296
6.083969
0.572519
0.100376
0.045169
0
0
0
0
0
0
0
0
0.018793
0.219907
1,296
39
68
33.230769
0.769535
0
0
0
0
0
0.523148
0.037809
0
0
0
0
0
1
0.028571
true
0
0.028571
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
04c12c9b2b21dff7b4710057db02ed0b2f079d26
441
py
Python
src/init.py
sheepsushis/reddit-karma-farming-bot
5330f820991adc271ae8dddbe233378f1c52acb4
[ "MIT" ]
null
null
null
src/init.py
sheepsushis/reddit-karma-farming-bot
5330f820991adc271ae8dddbe233378f1c52acb4
[ "MIT" ]
null
null
null
src/init.py
sheepsushis/reddit-karma-farming-bot
5330f820991adc271ae8dddbe233378f1c52acb4
[ "MIT" ]
1
2021-12-05T07:23:00.000Z
2021-12-05T07:23:00.000Z
import sys from logs.logger import log from utils import check_internet , get_public_ip import bot if __name__ == "__main__": if check_internet() is True: try: log.info(f'Internet connection found : {get_public_ip()}') bot.run() except KeyboardInterrupt: # quit ...
25.941176
70
0.591837
52
441
4.75
0.596154
0.105263
0.089069
0
0
0
0
0
0
0
0
0
0.321995
441
16
71
27.5625
0.826087
0.00907
0
0.142857
0
0
0.206897
0
0
0
0
0
0
1
0
true
0
0.285714
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
1
0
0
0
0
0
0
1
04c9716dc9f82deec6e9854cb99ed45017c28d26
946
py
Python
features/editops.py
snukky/yarescorer
34650f744187afc06ce57874aff1089878db6e00
[ "MIT" ]
null
null
null
features/editops.py
snukky/yarescorer
34650f744187afc06ce57874aff1089878db6e00
[ "MIT" ]
null
null
null
features/editops.py
snukky/yarescorer
34650f744187afc06ce57874aff1089878db6e00
[ "MIT" ]
null
null
null
from base import FeatureBase from difflib import SequenceMatcher class FeatureEdits(FeatureBase): name = 'edits' desc = 'counts of word-based edit operations' def run(self, trg, src): matcher = SequenceMatcher(None, src.split(), trg.split()) ops = [tag for tag, _, _, _, _ in matcher.get_o...
32.62069
65
0.570825
98
946
5.408163
0.469388
0.090566
0.045283
0.083019
0.566038
0.566038
0.566038
0.566038
0.566038
0.426415
0
0
0.291755
946
28
66
33.785714
0.791045
0
0
0.454545
0
0
0.210359
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04d234c6a1d923e3aa845b6c358f8df54aee2efb
883
py
Python
stixy/accounting/migrations/0009_auto_20200513_0905.py
AnthonyKenny98/Stixy
5d6dd38cc590d28dc98cca2737bbacf4f1ec69ba
[ "MIT" ]
null
null
null
stixy/accounting/migrations/0009_auto_20200513_0905.py
AnthonyKenny98/Stixy
5d6dd38cc590d28dc98cca2737bbacf4f1ec69ba
[ "MIT" ]
7
2021-03-19T03:10:21.000Z
2021-09-22T19:00:19.000Z
stixy/accounting/migrations/0009_auto_20200513_0905.py
AnthonyKenny98/Stixy
5d6dd38cc590d28dc98cca2737bbacf4f1ec69ba
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-13 09:05 # flake8: noqa import accounting.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounting', '0008_auto_20200512_1021'), ] operations = [ migrations...
33.961538
174
0.689694
97
883
6.103093
0.42268
0.054054
0.070946
0.111486
0.415541
0.415541
0.415541
0.415541
0.236486
0.236486
0
0.04539
0.201586
883
25
175
35.32
0.794326
0.065685
0
0.210526
1
0
0.150852
0.083942
0
0
0
0
0
1
0
false
0
0.157895
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d422e0ed33ea11793b1e0b3c99514faee79969
609
py
Python
reo/migrations/0116_auto_20210818_2124.py
NREL/REopt_Lite_API
7cd3afeb135ef89cb65dde1b305e53fe321b2488
[ "BSD-3-Clause" ]
41
2020-02-21T08:25:17.000Z
2022-01-14T23:06:42.000Z
reo/migrations/0116_auto_20210818_2124.py
NREL/reopt_api
fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6
[ "BSD-3-Clause" ]
167
2020-02-17T17:26:47.000Z
2022-01-20T20:36:54.000Z
reo/migrations/0116_auto_20210818_2124.py
NREL/REopt_Lite_API
7cd3afeb135ef89cb65dde1b305e53fe321b2488
[ "BSD-3-Clause" ]
31
2020-02-20T00:22:51.000Z
2021-12-10T05:48:08.000Z
# Generated by Django 3.1.12 on 2021-08-18 21:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reo', '0115_auto_20210810_1550'), ] operations = [ migrations.AddField( model_name='chpmodel', name='supplementary_...
25.375
59
0.612479
63
609
5.746032
0.650794
0.099448
0.127072
0.149171
0.530387
0.530387
0.530387
0.320442
0
0
0
0.072893
0.279146
609
23
60
26.478261
0.751708
0.075534
0
0.470588
1
0
0.194296
0.160428
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d49580568da4b9856ae2f7b9b3ef7e06b1c51d
4,344
py
Python
label_funcs_with_no_xrefs.py
Flygend/IDAPythonEmbeddedToolkit
25eed67b8a67e18df5fceb362c424174128f48ae
[ "MIT" ]
4
2017-06-20T06:26:57.000Z
2022-02-12T03:50:16.000Z
label_funcs_with_no_xrefs.py
AGG2017/IDAPythonEmbeddedToolkit
da801888abf5c758bc768f2fa05779a3180a1cd6
[ "MIT" ]
null
null
null
label_funcs_with_no_xrefs.py
AGG2017/IDAPythonEmbeddedToolkit
da801888abf5c758bc768f2fa05779a3180a1cd6
[ "MIT" ]
3
2017-07-30T03:23:06.000Z
2018-04-29T20:05:47.000Z
############################################################################################## # Copyright 2017 The Johns Hopkins University Applied Physics Laboratory LLC # All rights reserved. # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documen...
54.987342
134
0.679558
596
4,344
4.822148
0.342282
0.044537
0.026792
0.033403
0.127697
0.101949
0.093946
0
0
0
0
0.002227
0.172882
4,344
78
135
55.692308
0.797662
0.484807
0
0.060606
0
0
0.276474
0.085861
0
0
0
0
0
0
null
null
0
0
null
null
0.151515
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04d4d9118ea0e8d98cd4ba6cd174a06a5c614c1a
833
py
Python
hknweb/candidate/migrations/0001_initial.py
yuji3w/hknweb
0df5369da28f46dc9016da97652cb6b8e2b7f3e6
[ "MIT" ]
20
2018-01-07T02:15:43.000Z
2021-09-15T04:25:50.000Z
hknweb/candidate/migrations/0001_initial.py
yuji3w/hknweb
0df5369da28f46dc9016da97652cb6b8e2b7f3e6
[ "MIT" ]
292
2018-02-01T18:31:18.000Z
2022-03-30T22:15:08.000Z
hknweb/candidate/migrations/0001_initial.py
yuji3w/hknweb
0df5369da28f46dc9016da97652cb6b8e2b7f3e6
[ "MIT" ]
85
2017-11-13T06:33:13.000Z
2022-03-30T20:32:55.000Z
# Generated by Django 2.1.5 on 2019-02-04 21:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('hknweb', '0006_profile_email'), ] operations = [ migrations.CreateModel( na...
30.851852
113
0.595438
86
833
5.686047
0.616279
0.04908
0.09816
0.08998
0.179959
0.179959
0.179959
0.179959
0
0
0
0.04878
0.261705
833
26
114
32.038462
0.746341
0.054022
0
0
1
0
0.100509
0
0
0
0
0
0
1
0
false
0
0.105263
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d589beef22b81909a9507279a9f0cdaee7f248
716
py
Python
netbox/virtualization/migrations/0009_custom_tag_models.py
BrnoPCmaniak/netbox
7b517abdb68a6324950dfd0375861163c7bfff00
[ "Apache-2.0" ]
6
2017-12-01T05:13:39.000Z
2020-01-23T13:04:43.000Z
netbox/virtualization/migrations/0009_custom_tag_models.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
25
2019-09-17T19:40:50.000Z
2022-03-11T04:01:55.000Z
netbox/virtualization/migrations/0009_custom_tag_models.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
3
2017-11-18T01:28:22.000Z
2018-05-17T14:04:43.000Z
# Generated by Django 2.1.4 on 2019-02-20 06:56 from django.db import migrations import taggit.managers class Migration(migrations.Migration): dependencies = [ ('virtualization', '0008_virtualmachine_local_context_data'), ('extras', '0019_tag_taggeditem'), ] operations = [ migra...
27.538462
96
0.624302
70
716
6.271429
0.585714
0.095672
0.113895
0.132118
0.346241
0.346241
0.346241
0.346241
0.346241
0.346241
0
0.042991
0.252793
716
25
97
28.64
0.77757
0.062849
0
0.421053
1
0
0.239163
0.056801
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d98f74dadaaad5c0d7e378e0dab8a3d530d233
1,075
py
Python
core/tests/factories.py
TechFrederick/ship
5af0af05e3f949a529b9eaa84e7a9a24ec410985
[ "MIT" ]
14
2020-09-09T01:21:34.000Z
2022-01-09T05:35:19.000Z
core/tests/factories.py
TechFrederick/ship
5af0af05e3f949a529b9eaa84e7a9a24ec410985
[ "MIT" ]
null
null
null
core/tests/factories.py
TechFrederick/ship
5af0af05e3f949a529b9eaa84e7a9a24ec410985
[ "MIT" ]
1
2021-09-20T09:04:12.000Z
2021-09-20T09:04:12.000Z
import factory class ServiceCategoryFactory(factory.django.DjangoModelFactory): class Meta: model = "core.ServiceCategory" name = factory.Sequence(lambda n: f"Service Category {n}") slug = factory.Sequence(lambda n: f"service-category-{n}") description = factory.Faker("sentence") icon = "...
33.59375
64
0.703256
117
1,075
6.393162
0.435897
0.192513
0.084225
0.088235
0.286096
0.286096
0.286096
0.104278
0
0
0
0.002245
0.171163
1,075
31
65
34.677419
0.837262
0
0
0.08
0
0
0.209302
0.020465
0
0
0
0
0
1
0
false
0
0.04
0
0.92
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04d9db4a9bc6ee01e77a8adb2a5269415427a678
289
py
Python
pingdom.py
SamJC-FG/microblog-ipset-builder-examples
6850acbbde8f589bb52cdce56bdad4741d8f8345
[ "MIT" ]
null
null
null
pingdom.py
SamJC-FG/microblog-ipset-builder-examples
6850acbbde8f589bb52cdce56bdad4741d8f8345
[ "MIT" ]
null
null
null
pingdom.py
SamJC-FG/microblog-ipset-builder-examples
6850acbbde8f589bb52cdce56bdad4741d8f8345
[ "MIT" ]
null
null
null
import urllib.request IPSET = [] IPLISTLINK = "https://my.pingdom.com/probes/ipv4" IPLIST = urllib.request.urlopen(IPLISTLINK) for ADDRESS in IPLIST: IPSETENTRY = (ADDRESS.decode().rstrip() + '/32') #Tack on a '/32' to the entry, and append it to the list IPSET.append(IPSETENTRY)
36.125
109
0.712803
41
289
5.02439
0.731707
0.126214
0
0
0
0
0
0
0
0
0
0.020243
0.145329
289
8
110
36.125
0.813765
0.190311
0
0
0
0
0.15812
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04dac8a52ec4cb9223eff83bae00cb4a1da30c00
416
py
Python
nxos_config_import/migrations/0010_objectconfigurationstatus_post_url.py
j-sulliman/acici
25f20bf2cdc1ceb1b4752ef0608e9628035912d3
[ "BSD-3-Clause" ]
4
2019-07-20T11:37:32.000Z
2020-02-03T07:09:12.000Z
nxos_config_import/migrations/0010_objectconfigurationstatus_post_url.py
j-sulliman/acici
25f20bf2cdc1ceb1b4752ef0608e9628035912d3
[ "BSD-3-Clause" ]
8
2019-12-04T23:46:30.000Z
2021-06-10T18:30:30.000Z
nxos_config_import/migrations/0010_objectconfigurationstatus_post_url.py
j-sulliman/acici
25f20bf2cdc1ceb1b4752ef0608e9628035912d3
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-22 01:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nxos_config_import', '0009_auto_20190322_1408'), ] operations = [ migrations.AddField( model_name='objectconfigurationstatus', ...
21.894737
58
0.622596
44
416
5.727273
0.840909
0
0
0
0
0
0
0
0
0
0
0.101639
0.266827
416
18
59
23.111111
0.72459
0.108173
0
0
1
0
0.211382
0.130081
0
0
0
0
0
1
0
false
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04e8e3089be7716286daa298c66787746a4e98c2
1,840
py
Python
administrator/controller/loginController.py
augustoberwaldt/skin-system
4ca878d3062abcf3f68c044abaaa631c88f40c5b
[ "MIT" ]
2
2017-08-29T14:17:44.000Z
2017-08-31T14:40:39.000Z
administrator/controller/loginController.py
augustoberwaldt/diseases-recognition
4ca878d3062abcf3f68c044abaaa631c88f40c5b
[ "MIT" ]
2
2020-02-11T23:27:55.000Z
2020-06-05T17:30:29.000Z
administrator/controller/loginController.py
augustoberwaldt/diseases-recognition
4ca878d3062abcf3f68c044abaaa631c88f40c5b
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login, logout from administrator.formsModel import FormUser from django.contrib import messages import json def do_login(request): if request.method == 'POST' : username = request.POST['username'] passwor...
32.857143
105
0.640761
201
1,840
5.825871
0.298507
0.047822
0.05807
0.085397
0.336465
0.336465
0.336465
0.336465
0.336465
0.336465
0
0
0.222826
1,840
55
106
33.454545
0.818881
0
0
0.307692
0
0
0.180087
0.012514
0
0
0
0
0
1
0.102564
false
0.102564
0.128205
0.025641
0.410256
0
0
0
0
null
0
0
0
0
0
0
0
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
04eca308eb0d6d73b5d0cadfa2fc74793a222035
3,081
py
Python
contentcuration/contentcuration/viewsets/task.py
rgaudin/studio
f6ce46e012c59bfd8cc38c3610db25829a3628f3
[ "MIT" ]
1
2019-03-30T18:14:25.000Z
2019-03-30T18:14:25.000Z
contentcuration/contentcuration/viewsets/task.py
rgaudin/studio
f6ce46e012c59bfd8cc38c3610db25829a3628f3
[ "MIT" ]
1
2020-07-22T02:39:07.000Z
2020-07-22T12:30:16.000Z
contentcuration/contentcuration/viewsets/task.py
MisRob/studio
92a5c780c8952f7d37db38952483ab7a28d3cb9d
[ "MIT" ]
null
null
null
from django.conf import settings from django_filters.rest_framework import DjangoFilterBackend from django_filters.rest_framework import UUIDFilter from rest_framework.permissions import IsAuthenticated from contentcuration.celery import app from contentcuration.models import Channel from contentcuration.models import...
36.678571
112
0.618306
322
3,081
5.801242
0.375776
0.061028
0.043362
0.049786
0.097966
0.038544
0
0
0
0
0
0
0.293736
3,081
83
113
37.120482
0.858456
0.103862
0
0
0
0
0.08926
0
0
0
0
0.012048
0
1
0.075758
false
0
0.151515
0.030303
0.469697
0
0
0
0
null
0
0
0
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
04edbc97eb573dfcb7e904909241b79004e0cf18
901
py
Python
setup.py
vicrsp/rto
e9e0b87533ae6bc5e6ad228bb26172384802f9b7
[ "MIT" ]
null
null
null
setup.py
vicrsp/rto
e9e0b87533ae6bc5e6ad228bb26172384802f9b7
[ "MIT" ]
17
2020-10-24T18:03:54.000Z
2020-11-11T22:25:16.000Z
setup.py
vicrsp/rto
e9e0b87533ae6bc5e6ad228bb26172384802f9b7
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='rtotools', version='0.1.0', description='Real-Time Optimization Tools', url='https://github.com/vicrsp/rto', author='Victor Ruela', author_email='victorspruela@ufmg.br', license='MIT', package_dir={"": "src"}, packages=fin...
31.068966
53
0.507214
78
901
5.782051
0.820513
0.053215
0
0
0
0
0
0
0
0
0
0.013746
0.354051
901
29
54
31.068966
0.761168
0
0
0.071429
0
0
0.379157
0.023282
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
04eddc8bdb6ec2b2c7b89832a4aae4924f428c67
1,519
py
Python
sdk/keyvault/azure-keyvault-certificates/tests/_test_case.py
GoWang/azure-sdk-for-python
f241e3734a50953c2a37c10d2d84eb4c013b3ba0
[ "MIT" ]
1
2021-09-07T18:35:49.000Z
2021-09-07T18:35:49.000Z
sdk/keyvault/azure-keyvault-certificates/tests/_test_case.py
GoWang/azure-sdk-for-python
f241e3734a50953c2a37c10d2d84eb4c013b3ba0
[ "MIT" ]
1
2021-06-23T14:50:11.000Z
2021-06-24T12:26:05.000Z
sdk/keyvault/azure-keyvault-certificates/tests/_test_case.py
GoWang/azure-sdk-for-python
f241e3734a50953c2a37c10d2d84eb4c013b3ba0
[ "MIT" ]
null
null
null
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from azure.keyvault.certificates._shared import HttpChallengeCache from azure.keyvault.certificates._shared.client_base import DEFAULT_VERSION from devtools_testutils im...
42.194444
110
0.705069
162
1,519
6.376543
0.45679
0.03485
0.065828
0.112294
0.197483
0.129719
0.129719
0
0
0
0
0.000794
0.171165
1,519
35
111
43.4
0.819698
0.093483
0
0
0
0
0.059767
0
0
0
0
0
0.04
1
0.16
false
0
0.28
0.04
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04efda0cbdd1c825ae596ff29f999628d80ef0ca
4,484
py
Python
tdigest/__init__.py
kpdemetriou/tdigest-cffi
3bd5e86151a5cc23072d30e42f3392267bfc9067
[ "BSD-3-Clause" ]
2
2020-01-03T13:41:42.000Z
2022-02-17T06:26:10.000Z
tdigest/__init__.py
kpdemetriou/tdigest-cffi
3bd5e86151a5cc23072d30e42f3392267bfc9067
[ "BSD-3-Clause" ]
2
2020-11-02T03:33:49.000Z
2020-11-02T04:42:16.000Z
tdigest/__init__.py
kpdemetriou/tdigest-cffi
3bd5e86151a5cc23072d30e42f3392267bfc9067
[ "BSD-3-Clause" ]
1
2019-12-14T05:37:29.000Z
2019-12-14T05:37:29.000Z
from collections import namedtuple from readerwriterlock.rwlock import RWLockWrite from ._tdigest import lib as _lib DEFAULT_COMPRESSION = 400 Centroid = namedtuple("Centroid", ("weight", "mean")) class RawTDigest: def __init__(self, compression=DEFAULT_COMPRESSION): if not isinstance(compression, int):...
27.509202
80
0.618198
529
4,484
5.060491
0.139887
0.067239
0.053792
0.067239
0.612253
0.522226
0.459843
0.30183
0.209937
0.115428
0
0.009222
0.274532
4,484
162
81
27.679012
0.81371
0
0
0.504274
0
0
0.093443
0
0
0
0
0
0
1
0.239316
false
0
0.025641
0.034188
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
1
0
0
0
0
0
0
0
1
04f0f376222a8dd88886d737c5f5530edda3b637
185
py
Python
fishfood/tmp_leds.py
fberlinger/BlueSwarm
cde3de25be68ba728ff31c26a7c7fbe3ff1aa6d8
[ "MIT" ]
1
2021-10-04T20:44:01.000Z
2021-10-04T20:44:01.000Z
fishfood/tmp_leds.py
fberlinger/BlueSwarm
cde3de25be68ba728ff31c26a7c7fbe3ff1aa6d8
[ "MIT" ]
null
null
null
fishfood/tmp_leds.py
fberlinger/BlueSwarm
cde3de25be68ba728ff31c26a7c7fbe3ff1aa6d8
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) import time from lib_utils import * from lib_leds import LEDS leds = LEDS() leds.on() time.sleep(30) leds.off()
14.230769
25
0.756757
32
185
4.3125
0.53125
0.173913
0.173913
0
0
0
0
0
0
0
0
0.012422
0.12973
185
13
26
14.230769
0.844721
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
04f2a0495b108a61505d38568ea3bf1b921fa496
999
py
Python
tetris/utils.py
janmaltel/pytetris
a60475c89ed0fd9666c6e0f1df42c63f62a5b2aa
[ "MIT" ]
2
2019-11-19T12:54:17.000Z
2020-08-19T13:25:35.000Z
tetris/utils.py
janmaltel/pytetris
a60475c89ed0fd9666c6e0f1df42c63f62a5b2aa
[ "MIT" ]
null
null
null
tetris/utils.py
janmaltel/pytetris
a60475c89ed0fd9666c6e0f1df42c63f62a5b2aa
[ "MIT" ]
null
null
null
from numba import njit @njit def print_board_to_string(state): string = "\n" for row_ix in range(state.representation.shape[0]): # Start from top row_ix = state.num_rows - row_ix - 1 string += "|" for col_ix in range(state.num_columns): if state.representation[row_i...
19.588235
55
0.473473
128
999
3.992188
0.296875
0.164384
0.164384
0.164384
0.403131
0.375734
0.375734
0.375734
0
0
0
0.013761
0.345345
999
50
56
19.98
0.678899
0.014014
0
0.409091
0
0
0.114053
0
0
0
0
0
0
1
0.045455
false
0
0.022727
0
0.113636
0.045455
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
04f33a4db6a3d77dadc337f038d05a2584b99585
817
py
Python
main/migrations/0017_auto_20200608_1908.py
eugenek45/project-review
7fadba65968f5c4f0d4e9c75aaadb63a3c918a2b
[ "MIT", "Unlicense" ]
null
null
null
main/migrations/0017_auto_20200608_1908.py
eugenek45/project-review
7fadba65968f5c4f0d4e9c75aaadb63a3c918a2b
[ "MIT", "Unlicense" ]
7
2021-03-30T14:10:00.000Z
2022-01-13T03:04:50.000Z
main/migrations/0017_auto_20200608_1908.py
NgugiMuthoni/django3
81569804f3f008f7a0430ecf00186e7097aca64c
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2020-06-08 16:08 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.utils.timezone from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('main', '001...
27.233333
109
0.632803
90
817
5.611111
0.588889
0.065347
0.112871
0.114851
0.158416
0.158416
0
0
0
0
0
0.080196
0.252142
817
29
110
28.172414
0.746318
0.080783
0
0.272727
1
0
0.074866
0.030749
0
0
0
0
0
1
0
false
0
0.227273
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04fde6a91399f1b1649e35274fd649d62fdf4bc6
846
py
Python
flatpages/bootstrap.py
amol-/tgapp-flatpages
f75dafbd026a40f14d84b68669b5c2d165f896c8
[ "MIT" ]
null
null
null
flatpages/bootstrap.py
amol-/tgapp-flatpages
f75dafbd026a40f14d84b68669b5c2d165f896c8
[ "MIT" ]
null
null
null
flatpages/bootstrap.py
amol-/tgapp-flatpages
f75dafbd026a40f14d84b68669b5c2d165f896c8
[ "MIT" ]
1
2018-05-02T15:03:06.000Z
2018-05-02T15:03:06.000Z
# -*- coding: utf-8 -*- """Setup the flatpages application""" from __future__ import print_function from flatpages import model from tgext.pluggable import app_model import logging log = logging.getLogger(__name__) def bootstrap(command, conf, vars): log.info('Bootstrapping flatpages...') # creating a new ...
26.4375
94
0.685579
109
846
5.165138
0.587156
0.056838
0.046181
0.078153
0
0
0
0
0
0
0
0.001481
0.202128
846
31
95
27.290323
0.832593
0.180851
0
0.105263
0
0
0.105417
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
ca014c25d096d91028ea9e83c7bd4dbddd8eb75a
474
py
Python
blog/migrations/0010_auto_20201206_2106.py
gabrielstonedelza/connectdjango
b1fd2c70695ae71144cf8c473bfa9f5e37f7e9af
[ "MIT" ]
null
null
null
blog/migrations/0010_auto_20201206_2106.py
gabrielstonedelza/connectdjango
b1fd2c70695ae71144cf8c473bfa9f5e37f7e9af
[ "MIT" ]
1
2020-11-04T18:29:10.000Z
2020-11-04T18:32:44.000Z
blog/migrations/0010_auto_20201206_2106.py
gabrielstonedelza/connectdjango
b1fd2c70695ae71144cf8c473bfa9f5e37f7e9af
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-12-06 21:06 import blog.validator from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0009_remove_chatroom_allow_any'), ] operations = [ migrations.AlterField( model_name='chatroom', ...
23.7
107
0.647679
54
474
5.5
0.740741
0.087542
0
0
0
0
0
0
0
0
0
0.052778
0.240506
474
19
108
24.947368
0.772222
0.094937
0
0
1
0
0.140515
0.070258
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6b8e6f29824ae76e1a3ea0be36034c5b768f6ae
2,058
py
Python
class7/ex7_nxapi_xml.py
sbyount/pyaut3
2fcf19851487db49d76d5b6996ee0f9194d90816
[ "Apache-2.0" ]
1
2019-04-17T02:49:58.000Z
2019-04-17T02:49:58.000Z
class7/ex7_nxapi_xml.py
sbyount/pyaut3
2fcf19851487db49d76d5b6996ee0f9194d90816
[ "Apache-2.0" ]
null
null
null
class7/ex7_nxapi_xml.py
sbyount/pyaut3
2fcf19851487db49d76d5b6996ee0f9194d90816
[ "Apache-2.0" ]
null
null
null
from getpass import getpass from nxapi_plumbing import Device from lxml import etree from pprint import pprint as pp # Disable Self-signed Certificate Warnings import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) '''...
30.716418
84
0.751701
285
2,058
5.368421
0.410526
0.033987
0.037255
0.030065
0
0
0
0
0
0
0
0.027857
0.145287
2,058
66
85
31.181818
0.841956
0.045675
0
0.054054
0
0
0.31115
0.095938
0
0
0
0
0
1
0
false
0.054054
0.162162
0
0.162162
0.243243
0
0
0
null
0
0
0
0
0
0
0
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
b6b90e06479763706578fab36f6a27abef53dde3
607
py
Python
migrations/versions/dd503a5987b5_.py
atwh0405/miniblog
820fc2ec1b38210783a6b340827f6c0213277f3e
[ "MIT" ]
null
null
null
migrations/versions/dd503a5987b5_.py
atwh0405/miniblog
820fc2ec1b38210783a6b340827f6c0213277f3e
[ "MIT" ]
null
null
null
migrations/versions/dd503a5987b5_.py
atwh0405/miniblog
820fc2ec1b38210783a6b340827f6c0213277f3e
[ "MIT" ]
null
null
null
"""empty message Revision ID: dd503a5987b5 Revises: b4722c8968df Create Date: 2016-08-30 16:48:54.954000 """ # revision identifiers, used by Alembic. revision = 'dd503a5987b5' down_revision = 'b4722c8968df' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
22.481481
82
0.691928
76
607
5.486842
0.605263
0.064748
0.100719
0.110312
0.211031
0.211031
0.211031
0.211031
0
0
0
0.107356
0.171334
607
26
83
23.346154
0.72167
0.479407
0
0
0
0
0.14841
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b6b9e50dcc239d248e5f15f0184951362519c58c
7,604
py
Python
abstract_rendering/numeric.py
detrout/python-abstract-rendering
331bc72d83d8429c547ff326a7853debbebaf471
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
abstract_rendering/numeric.py
detrout/python-abstract-rendering
331bc72d83d8429c547ff326a7853debbebaf471
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
abstract_rendering/numeric.py
detrout/python-abstract-rendering
331bc72d83d8429c547ff326a7853debbebaf471
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
from __future__ import print_function, division, absolute_import from six.moves import reduce import numpy as np import math import abstract_rendering.core as core import abstract_rendering.util as util # ----------- Aggregators ----------- class Count(core.GlyphAggregator): """Count the number of items that fal...
30.785425
78
0.577065
987
7,604
4.397163
0.221885
0.020968
0.01659
0.02212
0.426498
0.420968
0.395161
0.367742
0.341244
0.341244
0
0.014791
0.297607
7,604
246
79
30.910569
0.797791
0.194108
0
0.44375
0
0
0
0
0
0
0
0.028455
0
1
0.1375
false
0
0.0375
0.03125
0.38125
0.00625
0
0
0
null
0
0
0
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
b6bac8756d9b92c61f392defe060acf7353cfe9f
1,374
py
Python
lib/crypto/webpay.py
oremj/zamboni
a751dc6d22f7af947da327b0a091cbab0a999f49
[ "BSD-3-Clause" ]
null
null
null
lib/crypto/webpay.py
oremj/zamboni
a751dc6d22f7af947da327b0a091cbab0a999f49
[ "BSD-3-Clause" ]
null
null
null
lib/crypto/webpay.py
oremj/zamboni
a751dc6d22f7af947da327b0a091cbab0a999f49
[ "BSD-3-Clause" ]
null
null
null
import hashlib import uuid from django.conf import settings import commonware.log from moz_inapp_pay.verify import verify_claims, verify_keys import jwt log = commonware.log.getLogger('z.crypto') secret = settings.APP_PURCHASE_SECRET class InvalidSender(Exception): pass def get_uuid(): return 'webpay:%...
25.444444
72
0.664483
183
1,374
4.84153
0.415301
0.040632
0.03386
0.040632
0.121896
0.121896
0.121896
0.121896
0.121896
0.121896
0
0.001859
0.216885
1,374
53
73
25.924528
0.821561
0.038574
0
0.111111
0
0
0.181956
0.016679
0
0
0
0
0
0
null
null
0.027778
0.166667
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b6bfdebde7d1a6fa2a649af7388ae0caea348982
5,944
py
Python
nematus/lm.py
thompsonb/DL4MT
31da3b5105368c270a4f9ea66b7d134b964082bf
[ "BSD-3-Clause" ]
22
2017-09-29T09:43:59.000Z
2021-03-31T03:57:52.000Z
nematus/lm.py
thompsonb/DL4MT
31da3b5105368c270a4f9ea66b7d134b964082bf
[ "BSD-3-Clause" ]
3
2018-04-15T12:57:18.000Z
2020-02-25T12:43:21.000Z
nematus/lm.py
thompsonb/DL4MT
31da3b5105368c270a4f9ea66b7d134b964082bf
[ "BSD-3-Clause" ]
13
2017-07-18T03:45:52.000Z
2019-10-09T05:16:02.000Z
import kenlm import os import pickle import tempfile import zipfile from config import KENLM_PATH from pyro_utils import BGProc from config import PORT_NUMBER, TEMP_DIR import time import subprocess import shlex def _unzip_to_tempdir(model_zip_path): # temp folder (automatically deleted on exit) tmpdir = te...
33.206704
138
0.669751
818
5,944
4.676039
0.248166
0.047059
0.047582
0.026667
0.334379
0.286013
0.229542
0.181699
0.126536
0.104575
0
0.002836
0.228802
5,944
178
139
33.393258
0.831588
0.1393
0
0.38
0
0
0.098009
0
0
0
0
0.005618
0.03
0
null
null
0.02
0.11
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b6ca139a678c7000c7bdb0593d9843845014384f
712
py
Python
pythondata_cpu_blackparrot/system_verilog/black-parrot/external/basejump_stl/testing/bsg_cache/regression_non_blocking/test_block_ld.py
litex-hub/pythondata-cpu-blackparrot
ba50883f12d33e1d834640640c84ddc9329bb68a
[ "BSD-3-Clause" ]
3
2021-05-12T21:57:55.000Z
2021-07-29T19:56:04.000Z
pythondata_cpu_blackparrot/system_verilog/black-parrot/external/basejump_stl/testing/bsg_cache/regression_non_blocking/test_block_ld.py
litex-hub/litex-data-cpu-blackparrot
ba50883f12d33e1d834640640c84ddc9329bb68a
[ "BSD-3-Clause" ]
2
2020-05-13T06:06:49.000Z
2020-05-15T10:49:11.000Z
pythondata_cpu_blackparrot/system_verilog/black-parrot/external/basejump_stl/testing/bsg_cache/regression_non_blocking/test_block_ld.py
litex-hub/litex-data-cpu-blackparrot
ba50883f12d33e1d834640640c84ddc9329bb68a
[ "BSD-3-Clause" ]
2
2020-05-01T08:33:19.000Z
2021-07-29T19:56:12.000Z
import sys import random from test_base import * class TestBlockLD(TestBase): def generate(self): self.clear_tag() for n in range(50000): store_not_load = random.randint(0,1) tag = random.randint(0, 15) index = random.randint(0,self.sets_p-1) taddr = self.get_addr(tag,index) ...
19.777778
62
0.636236
108
712
3.888889
0.444444
0.092857
0.1
0.071429
0.1
0.1
0
0
0
0
0
0.026022
0.244382
712
35
63
20.342857
0.754647
0.008427
0
0
1
0
0.011396
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6cac04d860710d1f200c5fdfd368545e66917d9
318
py
Python
easytoken/blob.py
sayanmondal2098/tokenizer
145f9ac5404583270fc90bfcc94c586d3b3931f2
[ "MIT" ]
3
2020-01-17T09:11:13.000Z
2020-07-29T09:44:43.000Z
easytoken/blob.py
sayanmondal2098/tokenizer
145f9ac5404583270fc90bfcc94c586d3b3931f2
[ "MIT" ]
1
2019-12-29T08:39:47.000Z
2019-12-29T08:39:47.000Z
easytoken/blob.py
sayanmondal2098/tokenizer
145f9ac5404583270fc90bfcc94c586d3b3931f2
[ "MIT" ]
4
2019-12-28T20:59:08.000Z
2020-01-10T11:50:04.000Z
import sys import json import nltk import nltk from nltk.corpus import stopwords from nltk.tokenize import word_tokenize, sent_tokenize class Partsofspeech(): def pos(txt): tokens = nltk.word_tokenize(txt) return (nltk.pos_tag(tokens)) # stop_words = set(stopwords.words('english'))
19.875
55
0.710692
42
318
5.261905
0.52381
0.090498
0
0
0
0
0
0
0
0
0
0
0.204403
318
16
56
19.875
0.873518
0.138365
0
0.2
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.6
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
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
b6dc2d5c6b37c06411e4b2b686ddf633947cd5e9
409
py
Python
db/folderName_to_CSV.py
JontyBurden/local-movies
f7df5156244d3b48ff5d5d906a84778a041e8e6a
[ "MIT" ]
null
null
null
db/folderName_to_CSV.py
JontyBurden/local-movies
f7df5156244d3b48ff5d5d906a84778a041e8e6a
[ "MIT" ]
null
null
null
db/folderName_to_CSV.py
JontyBurden/local-movies
f7df5156244d3b48ff5d5d906a84778a041e8e6a
[ "MIT" ]
null
null
null
import os, csv path = 'F:\Movies-TV' with open('C:\wsl\local-movies\db\movies.csv', 'w', newline='') as csvfile: writer = csv.writer(csvfile) for root,dirs, files in os.walk(path): for folders in dirs: if folders == "Subs" or folders == "Subtitles" or folders == "Other" or folders == "subtitles": ...
34.083333
105
0.586797
54
409
4.444444
0.62963
0.1125
0.15
0
0
0
0
0
0
0
0
0
0.244499
409
12
106
34.083333
0.776699
0
0
0
0
0
0.182927
0.080488
0
0
0
0
0
1
0
false
0.1
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
0
1
0
0
0
0
0
1
b6df00a62451dc167e6c6ea51fe423abf1e88505
400
py
Python
Two pointers/26. Remove Duplicates from Sorted Array.py
ParisMineur/LeetCode-note
c780b66674b27a6a3ed35f522ab93202791e9da8
[ "MIT" ]
null
null
null
Two pointers/26. Remove Duplicates from Sorted Array.py
ParisMineur/LeetCode-note
c780b66674b27a6a3ed35f522ab93202791e9da8
[ "MIT" ]
null
null
null
Two pointers/26. Remove Duplicates from Sorted Array.py
ParisMineur/LeetCode-note
c780b66674b27a6a3ed35f522ab93202791e9da8
[ "MIT" ]
null
null
null
class Solution: def removeDuplicates(self, nums: List[int]) -> int: l = len(nums) if l == 1: return 1 index = 1 num = nums[0] for i in range(1, l): if nums[i] == num: continue num = nums[i]...
21.052632
55
0.3825
44
400
3.477273
0.477273
0.098039
0
0
0
0
0
0
0
0
0
0.03125
0.52
400
18
56
22.222222
0.765625
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.285714
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
b6e53ea6a72678a21b9d2e3336270225aa772e0f
3,553
py
Python
quantecon/markov/utilities.py
Smit-create/QuantEcon.py
5be42da065c198e84a468d5e0e38056168a6b0e3
[ "BSD-3-Clause" ]
1,462
2015-01-08T18:58:13.000Z
2022-03-29T05:24:28.000Z
quantecon/markov/utilities.py
Smit-create/QuantEcon.py
5be42da065c198e84a468d5e0e38056168a6b0e3
[ "BSD-3-Clause" ]
505
2015-01-06T08:52:16.000Z
2022-03-31T13:52:58.000Z
quantecon/markov/utilities.py
Smit-create/QuantEcon.py
5be42da065c198e84a468d5e0e38056168a6b0e3
[ "BSD-3-Clause" ]
1,987
2015-01-08T06:08:39.000Z
2022-03-29T08:02:45.000Z
""" Utility routines for the markov submodule """ import numpy as np from numba import jit @jit(nopython=True, cache=True) def sa_indices(num_states, num_actions): """ Generate `s_indices` and `a_indices` for `DiscreteDP`, for the case where all the actions are feasible at every state. Parameters ...
24.170068
71
0.565438
554
3,553
3.431408
0.169675
0.096791
0.0505
0.073645
0.517622
0.428196
0.332457
0.254603
0.153603
0.110468
0
0.020842
0.297777
3,553
146
72
24.335616
0.741082
0.30228
0
0.382353
1
0
0
0
0
0
0
0
0
1
0.102941
false
0
0.029412
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6e579bdd514a20d1c5d2a97e578f7ccc82ca41c
395
py
Python
GmailWrapper_JE/venv/Lib/site-packages/cachetools/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GmailWrapper_JE/venv/Lib/site-packages/cachetools/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GmailWrapper_JE/venv/Lib/site-packages/cachetools/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
"""Extensible memoizing collections and decorators.""" from .cache import Cache from .decorators import cached, cachedmethod from .lfu import LFUCache from .lru import LRUCache from .rr import RRCache from .ttl import TTLCache __all__ = ( 'Cache', 'LFUCache', 'LRUCache', 'RRCache', '...
18.809524
55
0.653165
42
395
5.952381
0.52381
0.144
0
0
0
0
0
0
0
0
0
0.01
0.240506
395
20
56
19.75
0.823333
0.121519
0
0
0
0
0.183801
0
0
0
0
0
0
1
0
false
0
0.375
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
0
1
0
0
0
0
1
b6eaf6148ff2d5db7a379220d276e7ab7879f08c
1,077
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/INGR/color_clamp.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/INGR/color_clamp.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/INGR/color_clamp.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p from OpenGL.GL import glget EXTENSION_NAME = 'GL_INGR_color_clamp' _p.unpack_constants( """GL_RED_MIN_CLAMP_INGR 0x8560 GL_GREEN_MIN_CLAMP_INGR 0x8561 GL_BLUE_MIN_CLAMP_INGR 0x8562 GL_ALPHA_MIN_CLAMP_INGR 0x8563 GL_RED_MAX_C...
39.888889
71
0.81987
161
1,077
5.024845
0.310559
0.177998
0.118665
0.12979
0.551298
0.346106
0.346106
0
0
0
0
0.049231
0.094708
1,077
26
72
41.423077
0.780513
0.108635
0
0
1
0
0.273973
0.187566
0
0
0.05058
0
0
1
0.045455
false
0
0.136364
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6fee963092d66a5995b3a43e9089c5f670f7fd2
898
py
Python
pynes/examples/mario.py
timgates42/pyNES
e385c7189eca44b9a9e0e781b28c8562e0647b0b
[ "BSD-3-Clause" ]
1,046
2015-02-10T02:23:58.000Z
2022-03-16T02:42:02.000Z
pynes/examples/mario.py
mcanthony/pyNES
5f6078c02ae1fe9c6fecb4a8490f82f8c721cf3b
[ "BSD-3-Clause" ]
30
2015-02-11T15:21:10.000Z
2022-03-11T23:12:26.000Z
pynes/examples/mario.py
mcanthony/pyNES
5f6078c02ae1fe9c6fecb4a8490f82f8c721cf3b
[ "BSD-3-Clause" ]
132
2015-05-28T14:55:04.000Z
2021-12-09T18:58:45.000Z
import pynes from pynes.bitbag import * if __name__ == "__main__": pynes.press_start() exit() palette = [ 0x22,0x29, 0x1A,0x0F, 0x22,0x36,0x17,0x0F, 0x22,0x30,0x21,0x0F, 0x22,0x27,0x17,0x0F, 0x22,0x16,0x27,0x18, 0x22,0x1A,0x30,0x27, 0x22,0x16,0x30,0x27, 0x22,0x0F,0x36,0x17] chr_asset = impor...
20.883721
90
0.64922
144
898
3.854167
0.416667
0.099099
0.100901
0.021622
0.194595
0.136937
0.136937
0.043243
0.043243
0.043243
0
0.200549
0.18931
898
42
91
21.380952
0.561813
0
0
0.071429
0
0
0.018952
0
0
0
0.142698
0
0
1
0.178571
false
0
0.107143
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8e057c3146b2a35d72243c16effee9d368779138
1,173
py
Python
utils/paramutils.py
louity/generating-doodle
dfed08a5d278122e3303e84a22df5da2686255fe
[ "MIT" ]
null
null
null
utils/paramutils.py
louity/generating-doodle
dfed08a5d278122e3303e84a22df5da2686255fe
[ "MIT" ]
null
null
null
utils/paramutils.py
louity/generating-doodle
dfed08a5d278122e3303e84a22df5da2686255fe
[ "MIT" ]
null
null
null
import numpy as np def point_to_seg(x1, x2) -> np.ndarray: ''' Method: ------- Transform 2 points into a parametrized segment. Implicitely phi is in [-pi/2; pi/2], it is the oriented angle the segment makes with the horizontal line passing through its middle c. ''' c = (x1[:2] + x2[:2]...
32.583333
90
0.572038
215
1,173
3.102326
0.367442
0.026987
0.014993
0.02099
0.116942
0.062969
0.062969
0.062969
0
0
0
0.050905
0.246377
1,173
35
91
33.514286
0.70362
0.304348
0
0
0
0
0.087404
0
0
0
0
0.028571
0
1
0.095238
false
0
0.047619
0
0.190476
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8e07779be64b5247716c3c8bb7b9dc225c5ec93a
17,595
py
Python
sfftk/unittests/test_readers.py
ssabrii/sfftk
5cab37f1c9ecb9c2507672fd3232b1b9b5405511
[ "Apache-2.0" ]
null
null
null
sfftk/unittests/test_readers.py
ssabrii/sfftk
5cab37f1c9ecb9c2507672fd3232b1b9b5405511
[ "Apache-2.0" ]
null
null
null
sfftk/unittests/test_readers.py
ssabrii/sfftk
5cab37f1c9ecb9c2507672fd3232b1b9b5405511
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ sfftk.unittests.test_readers This testing module should have no side-effects because it only reads. """ from __future__ import division, print_function import glob import os import struct import sys import unittest import numpy import random_words import __init__ a...
41.4
118
0.649957
2,293
17,595
4.792412
0.16703
0.029939
0.028392
0.023205
0.515152
0.40495
0.351078
0.324688
0.29757
0.27937
0
0.012511
0.227735
17,595
424
119
41.497642
0.796217
0.114237
0
0.280255
0
0
0.050856
0.007554
0
0
0
0
0.461783
1
0.143312
false
0.028662
0.035032
0
0.197452
0.009554
0
0
0
null
0
0
0
0
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
8e17a9538e76246ed04d8a1eda0d6ac18d6b1fa0
1,801
py
Python
logging/google/cloud/logging/_helpers.py
rodrigodias27/google-cloud-python
7d1161f70744c0dbbe67a3f472ea95667eaafe50
[ "Apache-2.0" ]
1
2017-05-18T06:58:48.000Z
2017-05-18T06:58:48.000Z
logging/google/cloud/logging/_helpers.py
rodrigodias27/google-cloud-python
7d1161f70744c0dbbe67a3f472ea95667eaafe50
[ "Apache-2.0" ]
null
null
null
logging/google/cloud/logging/_helpers.py
rodrigodias27/google-cloud-python
7d1161f70744c0dbbe67a3f472ea95667eaafe50
[ "Apache-2.0" ]
1
2022-03-24T01:37:10.000Z
2022-03-24T01:37:10.000Z
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
36.755102
74
0.735702
244
1,801
5.393443
0.471311
0.045593
0.068389
0.075988
0.158815
0.158815
0.054711
0
0
0
0
0.005453
0.185453
1,801
48
75
37.520833
0.891616
0.624653
0
0
0
0
0.109272
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8e1e583f80ca97e7424a25ea64300d82b7ad3565
2,090
py
Python
pydatacube/pcaxis/__init__.py
jampekka/pydatacube
6999db7ae12d60089904081b47fbddd0cbf9e371
[ "MIT" ]
1
2016-04-03T10:01:04.000Z
2016-04-03T10:01:04.000Z
pydatacube/pcaxis/__init__.py
jampekka/pydatacube
6999db7ae12d60089904081b47fbddd0cbf9e371
[ "MIT" ]
null
null
null
pydatacube/pcaxis/__init__.py
jampekka/pydatacube
6999db7ae12d60089904081b47fbddd0cbf9e371
[ "MIT" ]
2
2015-02-25T08:49:01.000Z
2018-10-19T23:57:47.000Z
# encoding: utf-8 from collections import OrderedDict import string from pydatacube.pydatacube import _DataCube import px_reader # A bit scandinavian specific default_translate = dict(zip( u"äöä -", u"aoa__" )) class Sluger(object): def __init__(self, translate=default_translate): self.given_out = {} self.tra...
22
61
0.686124
284
2,090
4.887324
0.338028
0.025937
0.017291
0.021614
0
0
0
0
0
0
0
0.000585
0.181818
2,090
94
62
22.234043
0.811111
0.066986
0
0.055556
0
0
0.070031
0
0
0
0
0.010638
0
1
0.055556
false
0
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8e204483fe351d8b8c3d7163c557940ac5a53c2d
951
py
Python
socketio/web.py
falleco/sample-websockets
ad600c4531fd2120b1424b459ad80697d723e435
[ "MIT" ]
null
null
null
socketio/web.py
falleco/sample-websockets
ad600c4531fd2120b1424b459ad80697d723e435
[ "MIT" ]
null
null
null
socketio/web.py
falleco/sample-websockets
ad600c4531fd2120b1424b459ad80697d723e435
[ "MIT" ]
null
null
null
# import sys # sys.path.insert(0, "lib/gevent-0.13.8") # sys.path.insert(0, "lib/bottle") # sys.path.insert(0, "lib/gevent-socketio") from gevent import monkey monkey.patch_all() # from socketio import socketio_manage, mixins from socketio.namespace import BaseNamespace from bottle import route, run, view, request, s...
25.702703
110
0.710831
122
951
5.409836
0.483607
0.060606
0.059091
0.063636
0.095455
0.069697
0
0
0
0
0
0.01335
0.133544
951
37
110
25.702703
0.787621
0.131441
0
0
0
0
0.141291
0.032887
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8e2063365732693edaa9ba388b9fb75a35d453c0
633
py
Python
imagesave.py
aasthabhat/Alzheimer-s-Disease-Prediction
0e60fa35ef81bc9241706ee0c0f12a9683071181
[ "MIT" ]
null
null
null
imagesave.py
aasthabhat/Alzheimer-s-Disease-Prediction
0e60fa35ef81bc9241706ee0c0f12a9683071181
[ "MIT" ]
null
null
null
imagesave.py
aasthabhat/Alzheimer-s-Disease-Prediction
0e60fa35ef81bc9241706ee0c0f12a9683071181
[ "MIT" ]
1
2019-10-05T18:52:10.000Z
2019-10-05T18:52:10.000Z
import os import numpy as np import nibabel as nib import matplotlib.pyplot as plt import scipy.misc import glob from sklearn.cluster import KMeans import cv2 as cv #Save the 92 index slices out of 256 2D slices of the 3D MRI image basepath = 'C:/Users/aasth/Desktop/adni dataset' outpath = 'C:/Users/aasth/D...
26.375
67
0.693523
105
633
4.133333
0.561905
0.041475
0.050691
0.082949
0.133641
0.133641
0
0
0
0
0
0.02924
0.189573
633
23
68
27.521739
0.816764
0.102686
0
0
0
0
0.163904
0.099448
0
0
0
0
0
1
0
false
0
0.421053
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
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
8e257db2202e7ae23d7e1ad381d19796e4ee9743
408
py
Python
setup.py
gunnchadwick/backtrace-python
f2a735857fd76de1e568301856a9292059689878
[ "MIT" ]
3
2017-01-05T02:25:19.000Z
2017-08-01T14:48:08.000Z
setup.py
gunnchadwick/backtrace-python
f2a735857fd76de1e568301856a9292059689878
[ "MIT" ]
10
2016-11-30T19:54:05.000Z
2022-01-31T16:10:07.000Z
setup.py
gunnchadwick/backtrace-python
f2a735857fd76de1e568301856a9292059689878
[ "MIT" ]
1
2021-01-03T08:52:40.000Z
2021-01-03T08:52:40.000Z
#!/usr/bin/env python from setuptools import setup import backtracepython setup( name='backtracepython', version=backtracepython.version_string, description='Backtrace error reporting tool for Python', author='Andrew Kelley', author_email='akelley@backtrace.io', packages=['backtracepython'], ...
24
61
0.732843
45
408
6.577778
0.733333
0.148649
0
0
0
0
0
0
0
0
0
0
0.144608
408
16
62
25.5
0.848138
0.04902
0
0
0
0
0.410853
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8e2f53b44bbb5fca0d567eb53e2abb0c303b2263
550
py
Python
neat-python-read-only/setup.py
anuragpapineni/Hearthbreaker-evolved-agent
d519d42babd93e3567000c33a381e93db065301c
[ "MIT" ]
null
null
null
neat-python-read-only/setup.py
anuragpapineni/Hearthbreaker-evolved-agent
d519d42babd93e3567000c33a381e93db065301c
[ "MIT" ]
null
null
null
neat-python-read-only/setup.py
anuragpapineni/Hearthbreaker-evolved-agent
d519d42babd93e3567000c33a381e93db065301c
[ "MIT" ]
null
null
null
# Installation script from distutils.core import setup, Extension setup( name='neat-python', version='0.1', description='A NEAT (NeuroEvolution of Augmenting Topologies) implementation', packages=['neat', 'neat/iznn', 'neat/nn', 'neat/ctrnn', 'neat/ifnn'], #ext_modules=[ # Ex...
42.307692
97
0.616364
69
550
4.84058
0.449275
0.071856
0.071856
0.08982
0
0
0
0
0
0
0
0.004515
0.194545
550
12
98
45.833333
0.749436
0.461818
0
0
0
0
0.4
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8e32af04333e07380c6816c822c35084a3b4f59b
583
py
Python
study/curso-em-video/exercises/056.py
jhonatanmaia/python
d53c64e6bab598c7e85813fd3f107c6f23c1fc46
[ "MIT" ]
null
null
null
study/curso-em-video/exercises/056.py
jhonatanmaia/python
d53c64e6bab598c7e85813fd3f107c6f23c1fc46
[ "MIT" ]
null
null
null
study/curso-em-video/exercises/056.py
jhonatanmaia/python
d53c64e6bab598c7e85813fd3f107c6f23c1fc46
[ "MIT" ]
null
null
null
soma_idade=0 media_Idade=0 maior_idade_homem=0 nome_velho='' tot_mulher_20=0 for i in range(0,4): nome=str(input('Nome: ')).strip() idade=int(input('Idade: ')) sexo=str(input('Sexo: ')).strip() soma_idade+=idade if i==1 and sexo in 'Mm': maior_idade_homem=idade nome_velho=nome el...
26.5
50
0.684391
98
583
3.806122
0.285714
0.134048
0.201072
0.107239
0.176944
0.176944
0.176944
0
0
0
0
0.036017
0.190395
583
22
51
26.5
0.754237
0
0
0.181818
0
0
0.042808
0
0
0
0
0
0
1
0
false
0
0
0
0
0.136364
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
8e35eae710a8b76331f1d686a7885d235eff3bd9
408
py
Python
shotify/imgrepo/migrations/0003_alter_image_image_src.py
moeamadou753/shopify-fall-2021
16d91fc6bdfbfc45bede5867dfdf3c9620bb03c7
[ "MIT" ]
null
null
null
shotify/imgrepo/migrations/0003_alter_image_image_src.py
moeamadou753/shopify-fall-2021
16d91fc6bdfbfc45bede5867dfdf3c9620bb03c7
[ "MIT" ]
null
null
null
shotify/imgrepo/migrations/0003_alter_image_image_src.py
moeamadou753/shopify-fall-2021
16d91fc6bdfbfc45bede5867dfdf3c9620bb03c7
[ "MIT" ]
null
null
null
# Generated by Django 3.2.2 on 2021-05-10 04:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('imgrepo', '0002_auto_20210509_2317'), ] operations = [ migrations.AlterField( model_name='image', name='image_src', ...
21.473684
70
0.607843
45
408
5.377778
0.822222
0.07438
0
0
0
0
0
0
0
0
0
0.104377
0.272059
408
18
71
22.666667
0.710438
0.110294
0
0
1
0
0.177285
0.063712
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8e384904539153730293d550a277564d6b2e9cc9
865
py
Python
shrike-examples/tests/test_pipelines.py
lynochka/azure-ml-problem-sets
e7e69de763444c5603e4455e35e69e917081a4cc
[ "MIT" ]
3
2021-07-27T16:28:51.000Z
2021-11-15T18:29:02.000Z
shrike-examples/tests/test_pipelines.py
lynochka/azure-ml-problem-sets
e7e69de763444c5603e4455e35e69e917081a4cc
[ "MIT" ]
null
null
null
shrike-examples/tests/test_pipelines.py
lynochka/azure-ml-problem-sets
e7e69de763444c5603e4455e35e69e917081a4cc
[ "MIT" ]
7
2021-08-09T15:04:03.000Z
2022-03-09T05:48:56.000Z
""" PyTest suite for testing all runnable pipelines. """ import sys from unittest.mock import patch # To-Do: import your pipeline class ### Pipeline validation tests (integration tests) def test_demo_subgraph_build_local(pipeline_config_path="pipelines/config"): """ Tests the subgraph demo graph by running the ...
34.6
143
0.684393
110
865
5.290909
0.654545
0.027491
0.061856
0
0
0
0
0
0
0
0
0
0.209249
865
24
144
36.041667
0.850877
0.332948
0
0
0
0
0.306763
0.188406
0
0
0
0
0
0
null
null
0
0.166667
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8e3a21a413a7266a07a6dd162f70fc95c0ea081b
597
py
Python
apps/home/migrations/0004_results.py
gwhong917/A_C_C
1cd75a2e439f86bcbf1e6d9e1ac454f7dd276540
[ "MIT" ]
null
null
null
apps/home/migrations/0004_results.py
gwhong917/A_C_C
1cd75a2e439f86bcbf1e6d9e1ac454f7dd276540
[ "MIT" ]
null
null
null
apps/home/migrations/0004_results.py
gwhong917/A_C_C
1cd75a2e439f86bcbf1e6d9e1ac454f7dd276540
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2022-02-28 16:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0003_auto_20220228_1112'), ] operations = [ migrations.CreateModel( name='Results', fields=[ ...
27.136364
114
0.58459
62
597
5.467742
0.709677
0.106195
0.117994
0.153392
0
0
0
0
0
0
0
0.072261
0.281407
597
21
115
28.428571
0.717949
0.075377
0
0
1
0
0.125455
0.041818
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8e3e4c944fc3b4410a8579c18786cca183d9b56e
3,514
py
Python
fhir/resources/tests/test_terminologycapabilities.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/tests/test_terminologycapabilities.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/tests/test_terminologycapabilities.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import io import json import os import unittest import pytest from .. import terminologycapabilities from ..fhirdate imp...
40.860465
150
0.678714
385
3,514
6.080519
0.353247
0.158052
0.15378
0.192226
0.303289
0.122597
0.05425
0.038445
0.038445
0
0
0.034335
0.204326
3,514
85
151
41.341176
0.802933
0.053216
0
0.144928
0
0.014493
0.178668
0.051522
0
0
0
0
0.347826
1
0.043478
false
0
0.115942
0
0.188406
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
8e3fa716520a8c4514b44001a704b29ff37a613f
1,332
py
Python
omstools/RNAseq/general/expression_table_tools.py
bioShaun/OM004script
d604b565ae220f2ec7bfba7a8ef44018e7a33c12
[ "MIT" ]
null
null
null
omstools/RNAseq/general/expression_table_tools.py
bioShaun/OM004script
d604b565ae220f2ec7bfba7a8ef44018e7a33c12
[ "MIT" ]
null
null
null
omstools/RNAseq/general/expression_table_tools.py
bioShaun/OM004script
d604b565ae220f2ec7bfba7a8ef44018e7a33c12
[ "MIT" ]
1
2018-05-06T03:14:39.000Z
2018-05-06T03:14:39.000Z
#! /usr/bin/env python import pandas as pd import click ''' gene expression matrix, with gene id in first column, gene expression level of each sample in othre columns. ''' @click.group(chain=True, invoke_without_command=True) @click.argument('exp_table', type=click.STRING, required=True) @click.pass_con...
28.956522
69
0.668919
196
1,332
4.311224
0.392857
0.047337
0.053254
0.035503
0.108876
0
0
0
0
0
0
0.001874
0.198949
1,332
45
70
29.6
0.790066
0.015766
0
0.181818
0
0
0.13403
0.019147
0
0
0
0
0
1
0.060606
false
0.060606
0.060606
0
0.121212
0
0
0
0
null
0
0
0
0
0
0
0
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
8e46835d4dab379dfaa85e0dd7f14a2858fee546
3,144
py
Python
tests/ast/parsers/test_uppaal_xml_model_parser.py
S-Lehmann/uppyyl-simulator
1166432cd766165df2cab9f13c1285624d7c01c1
[ "MIT" ]
2
2020-09-09T15:42:23.000Z
2020-11-04T17:50:57.000Z
tests/ast/parsers/test_uppaal_xml_model_parser.py
S-Lehmann/uppyyl-simulator
1166432cd766165df2cab9f13c1285624d7c01c1
[ "MIT" ]
null
null
null
tests/ast/parsers/test_uppaal_xml_model_parser.py
S-Lehmann/uppyyl-simulator
1166432cd766165df2cab9f13c1285624d7c01c1
[ "MIT" ]
null
null
null
import os import pathlib import pprint import unittest from uppyyl_simulator.backend.ast.parsers.uppaal_xml_model_parser import ( uppaal_xml_to_dict, uppaal_dict_to_system, uppaal_system_to_dict, uppaal_dict_to_xml ) pp = pprint.PrettyPrinter(indent=4, compact=True) printExpectedResults = False printActualResults...
32.412371
89
0.675573
408
3,144
4.767157
0.161765
0.064781
0.086375
0.074036
0.679177
0.643188
0.627249
0.602571
0.602571
0.602571
0
0.000393
0.190204
3,144
96
90
32.75
0.763551
0.051209
0
0.52459
0
0
0.039096
0.030846
0
0
0
0
0
1
0.131148
false
0
0.081967
0
0.278689
0.131148
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
8e4bf6aee8a7192603975091182590a4593906f9
4,160
py
Python
CalibMuon/DTCalibration/python/Workflow/DTDQMValidation.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
CalibMuon/DTCalibration/python/Workflow/DTDQMValidation.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
CalibMuon/DTCalibration/python/Workflow/DTDQMValidation.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
from tools import loadCmsProcess,loadCrabCfg,loadCrabDefault,addCrabInputFile,writeCfg,prependPaths from addPoolDBESSource import addPoolDBESSource from CrabTask import * import os class DTDQMValidation: #def __init__(self, run, dir, input_db, config): def __init__(self, run, dir, config): self.outputf...
45.217391
103
0.657692
445
4,160
6.033708
0.220225
0.148976
0.058101
0.084916
0.468901
0.330354
0.259218
0.236872
0.236872
0.113966
0
0.003456
0.234856
4,160
91
104
45.714286
0.840088
0.044471
0
0.142857
0
0
0.10529
0.026196
0
0
0
0
0
0
null
null
0
0.057143
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f3d38847c649b72fcc42d62c95606105c0f32cc1
820
py
Python
ExamPrep/06 Differentiation/shigRichardson.py
FHomewood/ScientificComputing
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
[ "IJG" ]
null
null
null
ExamPrep/06 Differentiation/shigRichardson.py
FHomewood/ScientificComputing
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
[ "IJG" ]
null
null
null
ExamPrep/06 Differentiation/shigRichardson.py
FHomewood/ScientificComputing
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
[ "IJG" ]
null
null
null
#This script takes a pair of inputs, one of a point and another of an interval width, then differentates f(x) at the selected point, using the given step size. to input f(x) and f'(x) simply replace " 'FUNC' " or " 'FUNCPRIME' " with the function. import numpy as np #User inputs below. x=input('Please pick an x value...
37.272727
247
0.687805
151
820
3.721854
0.503311
0.010676
0.053381
0.060498
0
0
0
0
0
0
0
0.031474
0.147561
820
21
248
39.047619
0.772532
0.578049
0
0
0
0
0.361765
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f3d721d2677fd7cf2e8fd3efa23951b17ef439df
287
py
Python
server/client-server/app/models/detection.py
ioangatop/yolo
c65a72337369572bc07090f39123e2bf6ff5f4a3
[ "MIT" ]
1
2021-06-28T01:22:38.000Z
2021-06-28T01:22:38.000Z
server/client-server/app/models/detection.py
ioangatop/yolo
c65a72337369572bc07090f39123e2bf6ff5f4a3
[ "MIT" ]
null
null
null
server/client-server/app/models/detection.py
ioangatop/yolo
c65a72337369572bc07090f39123e2bf6ff5f4a3
[ "MIT" ]
null
null
null
from pydantic import BaseModel from typing import List class DetectionModel(BaseModel): class Detection(BaseModel): bbox: List[int] score: float category_id: int label: str segmentation: List[List[List[int]]] detections: List[Detection]
22.076923
43
0.665505
32
287
5.9375
0.59375
0.073684
0
0
0
0
0
0
0
0
0
0
0.25784
287
12
44
23.916667
0.892019
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f3d8515a3338d8385cf2bebf5ed4ad028409b12a
1,054
py
Python
conanfile.py
bincrafters/conan-clara
249560de1fa2a8b1ecc2d2b1e517a6d1ea0e37ed
[ "MIT" ]
null
null
null
conanfile.py
bincrafters/conan-clara
249560de1fa2a8b1ecc2d2b1e517a6d1ea0e37ed
[ "MIT" ]
null
null
null
conanfile.py
bincrafters/conan-clara
249560de1fa2a8b1ecc2d2b1e517a6d1ea0e37ed
[ "MIT" ]
null
null
null
from conans import ConanFile, tools import os class ClaraConan(ConanFile): name = "clara" version = "1.1.5" description = "A simple to use, composable, command line parser for C++ 11 and beyond" url = "https://github.com/bincrafters/conan-clara" homepage = "https://github.com/catchorg/Clara" t...
36.344828
90
0.666983
137
1,054
4.985401
0.540146
0.10981
0.083455
0
0
0
0
0
0
0
0
0.012821
0.185958
1,054
28
91
37.642857
0.783217
0
0
0
0
0
0.270398
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0
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
0
1
0
0
1
f3e92fc2debbd4ed8ba3dbb42a7b21159248f8b8
5,419
py
Python
fileapi/tests/test_functional.py
mlavin/fileapi
25e13399e227d14e7fd14ebeaadf535f1dc3218a
[ "BSD-2-Clause" ]
12
2015-01-20T21:08:45.000Z
2018-06-17T19:58:50.000Z
fileapi/tests/test_functional.py
mlavin/fileapi
25e13399e227d14e7fd14ebeaadf535f1dc3218a
[ "BSD-2-Clause" ]
null
null
null
fileapi/tests/test_functional.py
mlavin/fileapi
25e13399e227d14e7fd14ebeaadf535f1dc3218a
[ "BSD-2-Clause" ]
5
2015-01-20T21:51:14.000Z
2020-06-27T11:31:32.000Z
import os import shutil import tempfile from django.contrib.auth.models import User from django.contrib.staticfiles.testing import StaticLiveServerTestCase from django.core.files.storage import FileSystemStorage from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium...
38.985612
90
0.667466
645
5,419
5.426357
0.226357
0.056571
0.037143
0.048
0.463429
0.445429
0.407143
0.354
0.33
0.307714
0
0.002121
0.217014
5,419
139
91
38.985612
0.822767
0.069939
0
0.333333
0
0
0.118142
0.010813
0
0
0
0
0.098039
1
0.127451
false
0.117647
0.117647
0
0.254902
0
0
0
0
null
0
0
0
0
0
0
0
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
f3f141bdc04d2f72d58f01681d83051418752dbc
1,462
py
Python
DomJudge/practica4/GRIDGRAP.py
Camiloasc1/AlgorithmsUNAL
1542b8f2c170f9b5a24638f05ae50fa2c85cfc7b
[ "MIT" ]
null
null
null
DomJudge/practica4/GRIDGRAP.py
Camiloasc1/AlgorithmsUNAL
1542b8f2c170f9b5a24638f05ae50fa2c85cfc7b
[ "MIT" ]
null
null
null
DomJudge/practica4/GRIDGRAP.py
Camiloasc1/AlgorithmsUNAL
1542b8f2c170f9b5a24638f05ae50fa2c85cfc7b
[ "MIT" ]
null
null
null
import sys def solve2(n, m): if n == 1 and m == 1: return [] check = [] count = 1 for i in xrange(n): for j in xrange(m): if j + 1 <= m and (count + 1 <= (n * m)) and not(count + 1 > m * (i + 1)): check.append([count, count + 1]) if (i + 1 <= n) a...
24.779661
86
0.406293
205
1,462
2.858537
0.190244
0.081911
0.061433
0.061433
0.397611
0.177474
0.116041
0.061433
0.061433
0
0
0.045238
0.425445
1,462
58
87
25.206897
0.652381
0
0
0.307692
0
0
0.002052
0
0
0
0
0
0
0
null
null
0
0.019231
null
null
0.057692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f3f696fb5d353f40355ec08222eead1d79939673
1,202
py
Python
dvc_preprocessing/macros.py
pedrodamas0803/dvc_preprocessing
eeb307f94b96567d612b4db2c277561c4ec2296f
[ "MIT" ]
null
null
null
dvc_preprocessing/macros.py
pedrodamas0803/dvc_preprocessing
eeb307f94b96567d612b4db2c277561c4ec2296f
[ "MIT" ]
null
null
null
dvc_preprocessing/macros.py
pedrodamas0803/dvc_preprocessing
eeb307f94b96567d612b4db2c277561c4ec2296f
[ "MIT" ]
null
null
null
from dvc_preprocessing import plot, preprocessing, constants from skimage.filters import threshold_otsu import numpy as np def auto_processing(filename, dirpath='./', data_type=np.int16, init_slice=0, final_slice="last", outname="output", ret="True"): ''' TODO: add outpath ''' stack = preprocessing.r...
30.820513
128
0.693012
151
1,202
5.298013
0.410596
0.075
0.0525
0.06
0.18
0.0975
0.0975
0
0
0
0
0.011435
0.199667
1,202
38
129
31.631579
0.820166
0.014143
0
0.083333
0
0
0.073567
0
0
0
0
0.026316
0
1
0.041667
false
0
0.125
0
0.208333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1