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
218c99ebcbc10c42ed97824df4c5bf41764399d8
542
py
Python
HackerEarth/Count Digits.py
sawantaditi24/Competitive-Programming
36e024215d8041c92c5ec78a22561aaa0025f8d2
[ "MIT" ]
2
2019-08-27T21:48:55.000Z
2020-04-20T05:56:56.000Z
HackerEarth/Count Digits.py
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
1
2020-10-10T16:14:54.000Z
2020-10-10T16:14:54.000Z
HackerEarth/Count Digits.py
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
s = input() count = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] for i in s : if(i == '0') : count[0]+=1 elif(i == '1') : count[1]+=1 elif(i == '2') : count[2]+=1 elif(i == '3') : count[3]+=1 elif(i == '4') : count[4]+=1 elif(i == '5') : count[5]+=1 elif(i =...
20.074074
38
0.356089
90
542
2.144444
0.277778
0.093264
0.124352
0.145078
0.051813
0.051813
0.051813
0.051813
0.051813
0
0
0.124242
0.391144
542
27
39
20.074074
0.460606
0
0
0
0
0
0.018416
0
0
0
0
0
0
1
0
false
0
0
0
0
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
218dc3b14ef05922bf0930653ddfbdcb9b224dae
6,075
py
Python
pysnmp/Wellfleet-IFWALL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Wellfleet-IFWALL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Wellfleet-IFWALL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Wellfleet-IFWALL-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-IFWALL-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:33:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
126.5625
608
0.763128
686
6,075
6.758017
0.19242
0.007765
0.010354
0.013805
0.504314
0.399914
0.349008
0.349008
0.349008
0.320966
0
0.068824
0.079177
6,075
47
609
129.255319
0.759921
0.054979
0
0
0
0
0.159979
0.007676
0
0
0
0
0
1
0
false
0
0.175
0
0.175
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
218df84a038390498bf3c964f5a4ac701673bc67
9,480
py
Python
tests/test_events.py
serenpa/coast_core
b516b99201f22ab6dbf7e8dbb7c894fc5ec38668
[ "MIT" ]
2
2018-10-29T00:13:03.000Z
2019-08-07T09:48:29.000Z
tests/test_events.py
serenpa/coast_core
b516b99201f22ab6dbf7e8dbb7c894fc5ec38668
[ "MIT" ]
null
null
null
tests/test_events.py
serenpa/coast_core
b516b99201f22ab6dbf7e8dbb7c894fc5ec38668
[ "MIT" ]
1
2020-05-06T20:26:58.000Z
2020-05-06T20:26:58.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_events ---------------------------------- Tests for `events` module. """ import os import unittest from coast_core import events class TestEvents(unittest.TestCase): def setUp(self): self.link = "https://www.joelonsoftware.com/2006/09/01/language-...
55.116279
88
0.161603
375
9,480
4.034667
0.376
0.018506
0.018506
0.015863
0.033708
0
0
0
0
0
0
0.003493
0.697996
9,480
171
89
55.438596
0.524974
0.012342
0
0.522293
0
0
0.129463
0.0031
0
0
0
0
0.006369
1
0.012739
false
0
0.025478
0
0.044586
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
2191893fdda123f9df3d2e3c2ea2dd14704c98bb
3,217
py
Python
baker/secret.py
lucasb/BakerCM
b1939d132e0905b88f8edc31a53eb758edae4a84
[ "BSD-3-Clause" ]
1
2018-03-01T20:07:38.000Z
2018-03-01T20:07:38.000Z
baker/secret.py
lucasb/BakerCM
b1939d132e0905b88f8edc31a53eb758edae4a84
[ "BSD-3-Clause" ]
12
2018-05-13T22:06:50.000Z
2018-12-19T17:32:37.000Z
baker/secret.py
lucasb/BakerCM
b1939d132e0905b88f8edc31a53eb758edae4a84
[ "BSD-3-Clause" ]
1
2018-05-19T15:10:36.000Z
2018-05-19T15:10:36.000Z
import binascii from Crypto.Cipher import AES from Crypto.Hash import SHA256 from baker import logger from baker import settings from baker.storage import Storage class SecretKey: """ Secret key is the key generated from a key pass to encrypt and decript secret values in recipes """ @staticmethod ...
32.826531
99
0.628225
397
3,217
4.934509
0.246851
0.050536
0.058193
0.03318
0.217968
0.173558
0.127616
0.090863
0.061256
0
0
0.008092
0.270127
3,217
97
100
33.164948
0.826235
0.201741
0
0.176471
0
0
0.086266
0
0
0
0
0
0
1
0.176471
false
0.058824
0.117647
0
0.490196
0
0
0
0
null
0
0
0
0
0
0
0
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
21918a7792cba4ca94d6eda9227153593777be8d
1,485
py
Python
main.py
Hackinator-2003/Space-Gamers
487dc708fd185d142092b5098295b867fb651c1a
[ "Apache-2.0" ]
null
null
null
main.py
Hackinator-2003/Space-Gamers
487dc708fd185d142092b5098295b867fb651c1a
[ "Apache-2.0" ]
null
null
null
main.py
Hackinator-2003/Space-Gamers
487dc708fd185d142092b5098295b867fb651c1a
[ "Apache-2.0" ]
null
null
null
################################################ IMPORTATIONS DES MODULES NECESSAIRES ################################################ from core.game import Game from core.screen.mainmenu import MainMenuPygameGui as pg def check_pygame_version(): import logging import pygame.version as p if p.ver.starts...
34.534884
135
0.66532
173
1,485
5.624277
0.508671
0.040082
0.036999
0.039054
0.04111
0
0
0
0
0
0
0.010317
0.151515
1,485
42
136
35.357143
0.761111
0.024242
0
0.066667
0
0.033333
0.290801
0.017804
0
0
0
0
0
0
null
null
0
0.2
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
2193a7a459f10a33820e8f46c0f51d9f41a85018
341
py
Python
gore/admin.py
akx/gentry
f4205f5a14054231d064657347862a15ecf4c0e0
[ "MIT" ]
4
2017-07-26T13:23:06.000Z
2019-02-21T14:55:34.000Z
gore/admin.py
akx/gentry
f4205f5a14054231d064657347862a15ecf4c0e0
[ "MIT" ]
26
2017-08-02T08:52:06.000Z
2022-03-04T15:13:26.000Z
gore/admin.py
akx/gentry
f4205f5a14054231d064657347862a15ecf4c0e0
[ "MIT" ]
null
null
null
from django.contrib import admin from gore.models import Key, Project class KeyInline(admin.TabularInline): model = Key extra = 0 class ProjectAdmin(admin.ModelAdmin): inlines = [KeyInline] prepopulated_fields = {'slug': ('name',)} list_display = ('name', 'slug', 'dsn') admin.site.register(Pr...
18.944444
45
0.697947
39
341
6.051282
0.692308
0
0
0
0
0
0
0
0
0
0
0.003559
0.175953
341
17
46
20.058824
0.836299
0
0
0
0
0
0.055718
0
0
0
0
0
0
1
0
false
0
0.2
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
0
0
1
0
0
1
21a3378107968e723eef18ee06a0a30a5ba7c8ef
3,121
py
Python
tests/test_butterfly.py
db434/nn-restrict
bc46725d01db9555e1cd9f2068b25a1dee8912ce
[ "MIT" ]
null
null
null
tests/test_butterfly.py
db434/nn-restrict
bc46725d01db9555e1cd9f2068b25a1dee8912ce
[ "MIT" ]
null
null
null
tests/test_butterfly.py
db434/nn-restrict
bc46725d01db9555e1cd9f2068b25a1dee8912ce
[ "MIT" ]
null
null
null
import random import torch from structured.butterfly import * def _group_counts_to_group_sizes(params, group_counts): """Convert numbers of groups to sizes of groups.""" _, out_channels, _ = params group_sizes = [out_channels // count for count in group_counts] return group_sizes def _sequence_test...
32.175258
80
0.605575
456
3,121
4.002193
0.33114
0.02411
0.023014
0.015342
0.059726
0.056986
0.043836
0.043836
0
0
0
0.063218
0.275232
3,121
96
81
32.510417
0.74359
0.372637
0
0
0
0
0.045093
0
0
0
0
0.010417
0.020408
1
0.102041
false
0.020408
0.061224
0
0.183673
0.081633
0
0
0
null
0
0
0
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
21af7b18af251674edfb10d2f222f67daf5a6ebb
5,262
py
Python
adspygoogle/common/soappy/HTTPTransportHandler.py
hockeyprincess/google-api-dfp-python
efa82a8d85cbdc90f030db9d168790c55bd8b12a
[ "Apache-2.0" ]
null
null
null
adspygoogle/common/soappy/HTTPTransportHandler.py
hockeyprincess/google-api-dfp-python
efa82a8d85cbdc90f030db9d168790c55bd8b12a
[ "Apache-2.0" ]
null
null
null
adspygoogle/common/soappy/HTTPTransportHandler.py
hockeyprincess/google-api-dfp-python
efa82a8d85cbdc90f030db9d168790c55bd8b12a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2010 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
28.912088
75
0.642721
683
5,262
4.879941
0.335286
0.042904
0.019202
0.023402
0.075608
0.056406
0.040804
0
0
0
0
0.009743
0.239263
5,262
181
76
29.071823
0.822883
0.206575
0
0.177966
0
0
0.112357
0.00573
0
0
0
0
0
0
null
null
0
0.076271
null
null
0.152542
0
0
0
null
0
0
0
0
0
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
21b723c1054f4c6f3e6005d0e4e14e1e4179c714
430
py
Python
supersuit/vector/utils/space_wrapper.py
PettingZoo-Team/SuperSu
3c4e364b4744649cb9eaa9201d70b5be3d43730f
[ "MIT" ]
237
2020-05-29T04:21:08.000Z
2021-10-08T05:37:43.000Z
supersuit/vector/utils/space_wrapper.py
PettingZoo-Team/SuperSu
3c4e364b4744649cb9eaa9201d70b5be3d43730f
[ "MIT" ]
58
2020-07-19T18:44:16.000Z
2021-10-13T03:26:29.000Z
supersuit/vector/utils/space_wrapper.py
PettingZoo-Team/SuperSu
3c4e364b4744649cb9eaa9201d70b5be3d43730f
[ "MIT" ]
20
2020-05-29T04:21:11.000Z
2021-09-30T20:07:20.000Z
import gym import numpy as np class SpaceWrapper: def __init__(self, space): if isinstance(space, gym.spaces.Discrete): self.shape = () self.dtype = np.dtype(np.int64) elif isinstance(space, gym.spaces.Box): self.shape = space.shape self.dtype = np.d...
28.666667
77
0.606977
52
430
4.942308
0.538462
0.081712
0.140078
0.18677
0.163424
0
0
0
0
0
0
0.006645
0.3
430
14
78
30.714286
0.847176
0
0
0
0
0
0.113953
0
0
0
0
0
0.083333
1
0.083333
false
0
0.166667
0
0.333333
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
21b846685d32510e283ff4baab7ea87ea67ceb58
4,747
py
Python
pcap.py
5u623l20/pylibpcap
0d2a2d832f8c13af43a3e5e5c98122c57ecf15f7
[ "BSD-3-Clause" ]
null
null
null
pcap.py
5u623l20/pylibpcap
0d2a2d832f8c13af43a3e5e5c98122c57ecf15f7
[ "BSD-3-Clause" ]
1
2022-03-20T19:59:31.000Z
2022-03-20T19:59:31.000Z
pcap.py
5u623l20/pylibpcap
0d2a2d832f8c13af43a3e5e5c98122c57ecf15f7
[ "BSD-3-Clause" ]
null
null
null
# This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _pcap def _swig_setattr(self,class_type,name,value): if (name == "this"): if isinstance(value, class_type): self...
43.550459
88
0.728249
598
4,747
5.158863
0.177258
0.167909
0.052512
0.075851
0.254781
0.068395
0.02269
0.02269
0
0
0
0.001527
0.172109
4,747
108
89
43.953704
0.783461
0.035391
0
0.022472
0
0
0.016834
0
0
0
0
0
0
0
null
null
0.022472
0.033708
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
21cdeb2e263e76d97acfeeb6649fea71af8d76e9
3,552
py
Python
way/python/first_steps/metanit/metanit8_2.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/first_steps/metanit/metanit8_2.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/first_steps/metanit/metanit8_2.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
#! Работа с материалами Metanit, глава 8, часть 2. Операции с датами. import locale from datetime import datetime, timedelta # Форматирование дат и времени. # Для форматирования объектов date и time в этих классах предусмотрен # метод strftime(format). Этот метод принимает только один параметр, # указываю...
36.618557
73
0.687218
460
3,552
5.291304
0.491304
0.027116
0.024651
0.016023
0.033689
0.027938
0
0
0
0
0
0.020543
0.191441
3,552
96
74
37
0.82695
0.621903
0
0
0
0
0.1525
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.111111
0.407407
0
0
0
null
0
0
0
0
0
0
0
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
21d01a29b760ae90ade8fb595e07e4363e18ebc6
11,150
py
Python
pyk4a/pyk4a.py
bartholmberg/pyk4a
8a2fb92f73067b97c35d82b337bc0d0920ffb5b7
[ "MIT" ]
1
2021-04-11T21:04:26.000Z
2021-04-11T21:04:26.000Z
pyk4a/pyk4a.py
bartholmberg/pyk4a
8a2fb92f73067b97c35d82b337bc0d0920ffb5b7
[ "MIT" ]
null
null
null
pyk4a/pyk4a.py
bartholmberg/pyk4a
8a2fb92f73067b97c35d82b337bc0d0920ffb5b7
[ "MIT" ]
null
null
null
import sys from typing import Any, Optional, Tuple import k4a_module from .calibration import Calibration from .capture import PyK4ACapture from .config import ColorControlCommand, ColorControlMode, Config from .errors import K4AException, _verify_error if sys.version_info < (3, 8): from typing_extensions impor...
34.627329
120
0.687444
1,309
11,150
5.539343
0.139801
0.052958
0.094056
0.038615
0.452765
0.36726
0.323404
0.306303
0.167977
0.122052
0
0.006057
0.230045
11,150
321
121
34.735202
0.838556
0.067623
0
0.21645
0
0
0.012846
0.002353
0
0
0
0
0
1
0.212121
false
0
0.038961
0.051948
0.406926
0
0
0
0
null
0
0
0
0
0
0
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
21d17ea7abd10854a881b5b4d35dd2baaa276743
154
py
Python
src/templated_yaml/__main__.py
NazarethCollege/templated-yaml
2423a2956e68e19b7c0e15f8ba8fcb36224bc7a3
[ "MIT" ]
1
2016-12-11T22:07:51.000Z
2016-12-11T22:07:51.000Z
src/wharf/__main__.py
NazarethCollege/wharf
550ca41fda7c7a2ce6bd8868a0f8545757a132e2
[ "MIT" ]
null
null
null
src/wharf/__main__.py
NazarethCollege/wharf
550ca41fda7c7a2ce6bd8868a0f8545757a132e2
[ "MIT" ]
2
2017-03-16T04:52:58.000Z
2019-05-08T08:05:24.000Z
from . import cli import sys def main(args=None): if args is None: args = sys.argv[1:] cli.cli() if __name__ == "__main__": main()
12.833333
27
0.577922
23
154
3.521739
0.565217
0
0
0
0
0
0
0
0
0
0
0.009091
0.285714
154
12
28
12.833333
0.727273
0
0
0
0
0
0.051613
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
21d6700b43815fd2b77958e062041370aa247f4d
2,813
py
Python
tests/flytekit/unit/core/tracker/test_tracking.py
bimtauer/flytekit
3cfbb71779c44cf33866b45b22f71ffc2d607d92
[ "Apache-2.0" ]
null
null
null
tests/flytekit/unit/core/tracker/test_tracking.py
bimtauer/flytekit
3cfbb71779c44cf33866b45b22f71ffc2d607d92
[ "Apache-2.0" ]
null
null
null
tests/flytekit/unit/core/tracker/test_tracking.py
bimtauer/flytekit
3cfbb71779c44cf33866b45b22f71ffc2d607d92
[ "Apache-2.0" ]
null
null
null
import typing import pytest from flytekit import task from flytekit.configuration.feature_flags import FeatureFlags from flytekit.core.tracker import extract_task_module from tests.flytekit.unit.core.tracker import d from tests.flytekit.unit.core.tracker.b import b_local_a, local_b from tests.flytekit.unit.core.track...
34.728395
117
0.666193
392
2,813
4.576531
0.214286
0.098105
0.14214
0.175585
0.532887
0.451505
0.358974
0.354515
0.354515
0.148272
0
0
0.214717
2,813
80
118
35.1625
0.812132
0.114113
0
0.079365
0
0
0.295537
0.215521
0
0
0
0
0.142857
1
0.047619
false
0
0.126984
0
0.190476
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
21e025b94146a11df6d5d2bb812f5ba365e4d62c
500
py
Python
A_mathematics/D_lcm.py
sangeetasingh17/DSA
05eef2415e3d8c8604625cf589a79533159c78ef
[ "MIT" ]
1
2021-03-13T20:28:39.000Z
2021-03-13T20:28:39.000Z
A_mathematics/D_lcm.py
yashsehgal/DSA
bbf5a2e5cf4efe08a7a1c0981a3241366ece9995
[ "MIT" ]
null
null
null
A_mathematics/D_lcm.py
yashsehgal/DSA
bbf5a2e5cf4efe08a7a1c0981a3241366ece9995
[ "MIT" ]
null
null
null
def method1(n: int, m: int) -> int: def gcd(n: int, m: int) -> int: while m: n, m = m, n % m return n return abs((n * m) // gcd(n, m)) def method2(n: int, m: int) -> int: from math import gcd return abs(n * m) // gcd(n, m) if __name__ == "__main__": """ from tim...
22.727273
77
0.552
75
500
3.573333
0.346667
0.044776
0.05597
0.089552
0.347015
0.119403
0.119403
0
0
0
0
0.150838
0.284
500
21
78
23.809524
0.597765
0
0
0
0
0
0.02623
0
0
0
0
0
0
1
0.3
false
0
0.1
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
1
0
0
0
0
0
0
0
1
21e3e3f309496c7f5a0b0af7694ee86eea13a7ce
462
py
Python
ex067.py
ezequielwish/Python3
a4489d49e6919649437cb9e682614240701e2b68
[ "MIT" ]
1
2022-01-24T02:01:32.000Z
2022-01-24T02:01:32.000Z
ex067.py
ezequielwish/Python3
a4489d49e6919649437cb9e682614240701e2b68
[ "MIT" ]
null
null
null
ex067.py
ezequielwish/Python3
a4489d49e6919649437cb9e682614240701e2b68
[ "MIT" ]
null
null
null
# Faça um programa que mostre a tabuada de vários números, um de cada vez, para cada valor digitado # pelo usuário. O programa será interrompido quando o número solicitado for negativo. while True: number = int(input('Digite um número: \033[33m[negativo para fechar]\033[m ')) if number < 0: break p...
35.538462
99
0.636364
72
462
4.083333
0.694444
0.047619
0
0
0
0
0
0
0
0
0
0.05042
0.227273
462
12
100
38.5
0.773109
0.391775
0
0.222222
0
0
0.388489
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
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
21e6db8f0af95b258490372917ccc634633df44e
60,086
py
Python
SPGPylibs/PHItools/phifdt_pipe_modules.py
vivivum/SPGPylibs
29b3ecd4de522fe98dd423928a861d9bc75f2c18
[ "MIT" ]
3
2021-04-22T10:10:49.000Z
2021-10-19T09:11:34.000Z
SPGPylibs/PHItools/phifdt_pipe_modules.py
vivivum/SPGPylibs
29b3ecd4de522fe98dd423928a861d9bc75f2c18
[ "MIT" ]
null
null
null
SPGPylibs/PHItools/phifdt_pipe_modules.py
vivivum/SPGPylibs
29b3ecd4de522fe98dd423928a861d9bc75f2c18
[ "MIT" ]
3
2021-04-22T10:15:58.000Z
2022-03-11T18:48:47.000Z
### phifdt_pipe_modules import numpy as np import random, statistics from scipy.ndimage import gaussian_filter from matplotlib import pyplot as plt from .tools import printc,bcolors,fix_path from .phi_fits import fits_get from .phi_rte import phi_rte from .phi_utils import find_string,azimutal_average,newton,limb_dar...
45.382175
290
0.550777
9,199
60,086
3.487227
0.097945
0.014153
0.013467
0.009851
0.710777
0.688207
0.661523
0.648306
0.631784
0.624739
0
0.076681
0.260543
60,086
1,324
291
45.382175
0.64518
0.231385
0
0.541766
0
0.011933
0.097767
0.001049
0
0
0
0
0
1
0.015513
false
0
0.016706
0
0.054893
0.131265
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
21e9a2e2934355f097310c57104079afeb9d6678
295
py
Python
sec2-core-concepts/assignment-problem/python-app/rng.py
imajaydwivedi/Docker-Practice
539b2436eb283839bef1801db6e4025513375cb9
[ "MIT" ]
null
null
null
sec2-core-concepts/assignment-problem/python-app/rng.py
imajaydwivedi/Docker-Practice
539b2436eb283839bef1801db6e4025513375cb9
[ "MIT" ]
null
null
null
sec2-core-concepts/assignment-problem/python-app/rng.py
imajaydwivedi/Docker-Practice
539b2436eb283839bef1801db6e4025513375cb9
[ "MIT" ]
null
null
null
from random import randint min_number = int(input("Please enter the min number: ")) max_number = int(input("Please enter the max number: ")) if (max_number < min_number): print('Invalid input - shutting down...') else: rnd_number = randint(min_number, max_number) print(rnd_number)
29.5
56
0.718644
43
295
4.744186
0.44186
0.176471
0.156863
0.196078
0.27451
0.27451
0
0
0
0
0
0
0.162712
295
10
57
29.5
0.825911
0
0
0
0
0
0.304054
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
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
21f39ace9f8457e175f641e8eb541dc67163279d
328
py
Python
todo_proj/todo_proj/urls.py
Jester4Hire/ToDoList
daf06d97771ed3a2feccca05c7ea903d887208e0
[ "Apache-2.0" ]
null
null
null
todo_proj/todo_proj/urls.py
Jester4Hire/ToDoList
daf06d97771ed3a2feccca05c7ea903d887208e0
[ "Apache-2.0" ]
null
null
null
todo_proj/todo_proj/urls.py
Jester4Hire/ToDoList
daf06d97771ed3a2feccca05c7ea903d887208e0
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from django.urls import path from todo_app import views from todo_app.views import detail_view from todo_app.views import delete_view urlpatterns = [ path('', views.index, name="todo"), path('<id>', detail_view), path('<id>/delete', delete_view), path('admin/', admin.site.u...
25.230769
38
0.72561
49
328
4.714286
0.367347
0.103896
0.142857
0.138528
0.190476
0
0
0
0
0
0
0
0.140244
328
12
39
27.333333
0.819149
0
0
0
0
0
0.07622
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
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
21f46cf18534eccded11cdd305cbbe5bbc63e370
5,460
py
Python
tests/devices/test_snmp_handler.py
QualiSystems/cloudshell-networking-devices
f316cefca174975424ec21854b672335feaf8f87
[ "Apache-2.0" ]
null
null
null
tests/devices/test_snmp_handler.py
QualiSystems/cloudshell-networking-devices
f316cefca174975424ec21854b672335feaf8f87
[ "Apache-2.0" ]
34
2016-11-28T10:52:44.000Z
2019-10-01T08:52:59.000Z
tests/devices/test_snmp_handler.py
QualiSystems/cloudshell-networking-devices
f316cefca174975424ec21854b672335feaf8f87
[ "Apache-2.0" ]
1
2017-05-23T08:46:45.000Z
2017-05-23T08:46:45.000Z
import unittest import mock from cloudshell.devices.snmp_handler import SnmpContextManager from cloudshell.devices.snmp_handler import SnmpHandler class TestSnmpContextManager(unittest.TestCase): def setUp(self): self.enable_flow = mock.MagicMock() self.disable_flow = mock.MagicMock() se...
41.679389
115
0.630037
586
5,460
5.573379
0.139932
0.074097
0.04899
0.042866
0.653092
0.548683
0.441825
0.33466
0.296693
0.212186
0
0
0.295788
5,460
130
116
42
0.849415
0.109341
0
0.366667
0
0
0.064965
0.027397
0
0
0
0
0.133333
1
0.177778
false
0.066667
0.044444
0.022222
0.311111
0
0
0
0
null
0
0
0
0
0
0
0
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
21f6f32ff06dc3cd66d7082d4c911316572301e1
116
py
Python
src/main/scripts/using_sys.py
ternence-tao/awesome-python
3502ce10a21ca27dde3d42d4dfd6436c269a3e23
[ "Apache-2.0" ]
null
null
null
src/main/scripts/using_sys.py
ternence-tao/awesome-python
3502ce10a21ca27dde3d42d4dfd6436c269a3e23
[ "Apache-2.0" ]
null
null
null
src/main/scripts/using_sys.py
ternence-tao/awesome-python
3502ce10a21ca27dde3d42d4dfd6436c269a3e23
[ "Apache-2.0" ]
null
null
null
''' 使用Python的sys模块 ''' import sys for arg in sys.argv: print(arg) print("Python的路径为:", sys.path) sys.exit(0)
9.666667
30
0.655172
17
116
4.470588
0.705882
0
0
0
0
0
0
0
0
0
0
0.010417
0.172414
116
11
31
10.545455
0.78125
0.12069
0
0
0
0
0.117021
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
21fd398d052db0cdda00e4806d372b44f904325c
1,213
py
Python
lib/gateway.py
ChrisArnault/fink_data_monitor
3ef3167204711222fb71d6d6f828bce4094ad21a
[ "Apache-2.0" ]
null
null
null
lib/gateway.py
ChrisArnault/fink_data_monitor
3ef3167204711222fb71d6d6f828bce4094ad21a
[ "Apache-2.0" ]
8
2019-03-30T13:27:46.000Z
2019-06-05T13:55:26.000Z
lib/gateway.py
ChrisArnault/fink_data_monitor
3ef3167204711222fb71d6d6f828bce4094ad21a
[ "Apache-2.0" ]
1
2019-03-22T12:38:32.000Z
2019-03-22T12:38:32.000Z
#! /usr/bin/python # -*- coding:utf-8 -*- # coding: utf-8 # Copyright 2018 AstroLab Software # Author: Chris Arnault # # 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.apac...
25.270833
87
0.71723
166
1,213
5.150602
0.656627
0.070175
0.023392
0.037427
0
0
0
0
0
0
0
0.023881
0.171476
1,213
47
88
25.808511
0.826866
0.518549
0
0
0
0
0.176367
0.081129
0
0
0
0
0
1
0.117647
false
0.176471
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1d02c02be7b9acc13dbde80f8c0431fd4bcf28a2
2,313
py
Python
netbox_tunnels/views.py
sourcery-ai-bot/netbox-tunnels-plugin
389c737cba35c5ff8eff9b61be95b937029936d8
[ "Apache-2.0" ]
21
2020-06-03T16:03:33.000Z
2022-03-26T20:27:01.000Z
netbox_tunnels/views.py
sourcery-ai-bot/netbox-tunnels-plugin
389c737cba35c5ff8eff9b61be95b937029936d8
[ "Apache-2.0" ]
4
2020-06-15T16:24:43.000Z
2022-03-11T14:44:51.000Z
netbox_tunnels/views.py
sourcery-ai-bot/netbox-tunnels-plugin
389c737cba35c5ff8eff9b61be95b937029936d8
[ "Apache-2.0" ]
4
2020-06-17T12:57:47.000Z
2021-11-22T08:46:57.000Z
"""Django views for network tunnels. (c) 2020 Justin Drew 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 ...
37.306452
90
0.784695
272
2,313
6.544118
0.470588
0.06573
0.05618
0.069663
0.227528
0.184831
0.184831
0.144382
0.058427
0
0
0.004047
0.145266
2,313
61
91
37.918033
0.896308
0.31604
0
0.290323
0
0
0.18328
0.177492
0
0
0
0
0
1
0
false
0
0.225806
0
1.032258
0
0
0
0
null
0
0
0
0
0
0
0
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
1d035ec3bb7bd6bfa685b7b9c7420477254ff5e7
2,131
py
Python
generated-libraries/python/netapp/ses/module_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/ses/module_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/ses/module_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
from netapp.netapp_object import NetAppObject class ModuleInfo(NetAppObject): """ Shelf enclosure module info. """ _is_module_error = None @property def is_module_error(self): """ Indicated whether this module has encountered an error. """ return self._is_mo...
30.884058
105
0.615204
247
2,131
5.008097
0.242915
0.10671
0.105093
0.185934
0.373484
0.235247
0.119644
0.048504
0
0
0
0
0.290474
2,131
68
106
31.338235
0.818122
0.157672
0
0.177778
0
0
0.158522
0.051847
0
0
0
0
0
1
0.2
false
0
0.022222
0.066667
0.444444
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
1d091e8dcf27ad3bd753150e047e92957daaa268
667
py
Python
setup.py
Steap/iptoolsjj
898a0f537e1361451e5fe7cd0ab3113d7698dac5
[ "MIT" ]
null
null
null
setup.py
Steap/iptoolsjj
898a0f537e1361451e5fe7cd0ab3113d7698dac5
[ "MIT" ]
null
null
null
setup.py
Steap/iptoolsjj
898a0f537e1361451e5fe7cd0ab3113d7698dac5
[ "MIT" ]
null
null
null
from setuptools import setup # read the contents of your README file from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md')) as f: long_description = f.read() setup(name='iptoolsjj', version='1.4.1', description='IP Tools', lon...
29
55
0.67916
82
667
5.353659
0.670732
0.136674
0.08656
0.136674
0
0
0
0
0
0
0
0.007477
0.197901
667
22
56
30.318182
0.813084
0.055472
0
0
0
0
0.265924
0.039809
0
0
0
0
0
0
null
null
0
0.111111
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
df08ac844490889dc4e5eb5b3b5c89352b808540
488
py
Python
Raspberry/config_pyrebase.py
marioamg03/Trabajo-de-grado-Domsys
2261b2f377d05c3baba58cc47f828dbc0144b3c0
[ "MIT" ]
null
null
null
Raspberry/config_pyrebase.py
marioamg03/Trabajo-de-grado-Domsys
2261b2f377d05c3baba58cc47f828dbc0144b3c0
[ "MIT" ]
null
null
null
Raspberry/config_pyrebase.py
marioamg03/Trabajo-de-grado-Domsys
2261b2f377d05c3baba58cc47f828dbc0144b3c0
[ "MIT" ]
null
null
null
import pyrebase #Firebase Configuration config = { "apiKey": "AIzaSyC-3FMsYm31PvrmPkhvHwV785fLceqx8Sc", "authDomain": "tesis-domsys.firebaseapp.com", "databaseURL": "https://tesis-domsys.firebaseio.com", "storageBucket": "tesis-domsys.appspot.com", "serviceAccount": "/home/pi/Tesis/tesis-domsys-firebase-admi...
28.705882
89
0.766393
50
488
7.46
0.66
0.117962
0
0
0
0
0
0
0
0
0
0.031603
0.092213
488
16
90
30.5
0.810384
0.108607
0
0
0
0
0.623557
0.364896
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df08c2c58ecdb93b7642b47888032045ef61663a
3,872
py
Python
Home/views.py
adityagoel28/deployy
d4adb872011dc6b5170df148988a454b2e76d6c6
[ "MIT" ]
null
null
null
Home/views.py
adityagoel28/deployy
d4adb872011dc6b5170df148988a454b2e76d6c6
[ "MIT" ]
null
null
null
Home/views.py
adityagoel28/deployy
d4adb872011dc6b5170df148988a454b2e76d6c6
[ "MIT" ]
null
null
null
from django.http import request from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login, logout # "python.analysis.extraPaths": ["C:/Users/adity/Desktop/Aditya/webdev/dbms/Home/views.py"] from django.contrib import messages from django.contrib.auth.models import User # from rep...
33.669565
122
0.714876
465
3,872
5.931183
0.374194
0.034808
0.055112
0.045323
0.170051
0.13488
0.044235
0.044235
0.044235
0
0
0.004714
0.178202
3,872
115
123
33.669565
0.862036
0.204804
0
0.148649
0
0
0.113614
0
0
0
0
0
0
1
0.162162
false
0.108108
0.135135
0.054054
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
df0c5b2076c768f652fb266838e824939f2be507
402
py
Python
Classes/class_implementation.py
jesh-anand/PythonMasterClass
3726360c1207ae3c0759aaa0838ca376d9870a21
[ "MIT" ]
null
null
null
Classes/class_implementation.py
jesh-anand/PythonMasterClass
3726360c1207ae3c0759aaa0838ca376d9870a21
[ "MIT" ]
null
null
null
Classes/class_implementation.py
jesh-anand/PythonMasterClass
3726360c1207ae3c0759aaa0838ca376d9870a21
[ "MIT" ]
null
null
null
class Employee: def __init__(self, first, last, sex): self.first = first self.last = last self.sex = sex self.email = first + '.' + last + '@company.com' def fullname(self): return "{} {}".format(self.first, self.last) def main(): emp_1 = Employee('prajesh', 'anant...
21.157895
56
0.564677
48
402
4.4375
0.479167
0.126761
0.122066
0
0
0
0
0
0
0
0
0.006826
0.271144
402
18
57
22.333333
0.720137
0
0
0
0
0
0.11194
0
0
0
0
0
0
1
0.230769
false
0
0
0.076923
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
df0cdc8130ccca03ddb28f2b619f9fe97e5d555b
358
py
Python
documento-tcc-backup/backup08(25:06:2016)/Cap5/src/mapa.py
medeirosthiiago/glue-grade
0c3fc729b7d7d00dad07c9da248e3efcd70fb5a9
[ "MIT" ]
2
2016-10-04T12:47:44.000Z
2016-11-16T18:41:30.000Z
documento-tcc-backup/backup09(04:07:2016)/Cap5/src/mapa.py
medeirosthiago/glue-grade
0c3fc729b7d7d00dad07c9da248e3efcd70fb5a9
[ "MIT" ]
null
null
null
documento-tcc-backup/backup09(04:07:2016)/Cap5/src/mapa.py
medeirosthiago/glue-grade
0c3fc729b7d7d00dad07c9da248e3efcd70fb5a9
[ "MIT" ]
null
null
null
coordinate = [] for col in tweets2['coordinates'][~tweets2['coordinates'].isnull()]: coord = col['coordinates'][::-1] # coord = col['coordinates'] coordinate.append(coord) print coordinate[10] m = folium.Map([-14,-53.25], zoom_start=4) for x, text in enumerate(coord_text): folium.Marker(coordinate[x]...
27.538462
68
0.675978
49
358
4.877551
0.591837
0.150628
0.158996
0
0
0
0
0
0
0
0
0.038585
0.131285
358
12
69
29.833333
0.729904
0.072626
0
0
0
0
0.101227
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
df0d95c81ee7ded7437a6704b80f72044f325666
691
py
Python
Desafios/desafio040.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
Desafios/desafio040.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
Desafios/desafio040.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
from time import sleep print('\33[1;32m=+=\33[m'*7) print(' \33[1;32mPORTAL DO PROFESSOR\33[m') print('\33[1;32m=+=\33[m'*7) sleep(1) n1 = float(input('\33[1;97mDigite a primeira nota:\33[m ')) n2 = float(input('\33[1;97mDigite a segunda nota:\33[m ')) m = (n1 + n2) / 2 if n1 > 10 or n1 < 0 or n2 > 10 or n2 < 0: p...
34.55
69
0.581766
138
691
2.913043
0.333333
0.074627
0.059701
0.067164
0.368159
0.343284
0.228856
0.094527
0
0
0
0.178378
0.196816
691
19
70
36.368421
0.545946
0
0
0.105263
0
0.052632
0.525326
0.114327
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.421053
0
0
0
null
0
0
0
0
0
0
0
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
df10d265a2e281eb7f5f2ee336b01d04ce5ab168
3,773
py
Python
import_scripts/SQLInterface.py
michalkouril/altanalyze
e721c79c56f7b0022516ff5456ebaa14104c933b
[ "Apache-2.0" ]
73
2015-08-17T03:21:32.000Z
2022-01-02T17:37:56.000Z
import_scripts/SQLInterface.py
michalkouril/altanalyze
e721c79c56f7b0022516ff5456ebaa14104c933b
[ "Apache-2.0" ]
43
2017-07-30T03:30:04.000Z
2022-03-26T04:46:05.000Z
import_scripts/SQLInterface.py
michalkouril/altanalyze
e721c79c56f7b0022516ff5456ebaa14104c933b
[ "Apache-2.0" ]
30
2015-08-26T07:21:43.000Z
2021-12-09T02:53:25.000Z
### SQL Interface import sys,string,os sys.path.insert(1, os.path.join(sys.path[0], '..')) ### import parent dir dependencies import time import random import math import sqlite3 import export def cleanUpLine(line): line = string.replace(line,'\n','') line = string.replace(line,'\c','') data = string.rep...
35.933333
127
0.64458
479
3,773
5.004175
0.386221
0.050063
0.052566
0.056738
0.230288
0.197747
0.155194
0.112641
0.112641
0.060075
0
0.006639
0.241452
3,773
105
128
35.933333
0.830887
0.204082
0
0.19403
0
0
0.113882
0
0
0
0
0
0
0
null
null
0
0.149254
null
null
0.029851
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
df12e73e65322118bf00c7e2d2351521ad6d1a00
428
py
Python
solutions/1676_lowest_common_ancestor_of_a_binary_tree_iv.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/1676_lowest_common_ancestor_of_a_binary_tree_iv.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/1676_lowest_common_ancestor_of_a_binary_tree_iv.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
class Solution: def lowestCommonAncestor(self, root: 'TreeNode', nodes: 'List[TreeNode]') -> 'TreeNode': nodes = set(nodes) return self._lca(root, nodes) def _lca(self, root, nodes): if not root or root in nodes: return root l = self._lca(root.left, nodes) ...
30.571429
92
0.565421
57
428
4.175439
0.385965
0.088235
0.138655
0
0
0
0
0
0
0
0
0
0.331776
428
13
93
32.923077
0.832168
0
0
0.166667
0
0
0.070093
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
df1ce1c166a74ad800edeab889abfa57ab5bc704
2,741
py
Python
entpy-contest/event_counter/models.py
entpy/entpy-contest
0f5cce77758d59ffcf68db3b333475c6bbc6ea2f
[ "Apache-2.0" ]
null
null
null
entpy-contest/event_counter/models.py
entpy/entpy-contest
0f5cce77758d59ffcf68db3b333475c6bbc6ea2f
[ "Apache-2.0" ]
null
null
null
entpy-contest/event_counter/models.py
entpy/entpy-contest
0f5cce77758d59ffcf68db3b333475c6bbc6ea2f
[ "Apache-2.0" ]
null
null
null
from django.db import models """ ABOUT ===== Event counter is a simple django app to count events USAGE ----- # object init event_obj = Event() # Create a new event to track event_obj.create_event("Test event description", "test_event") # Increment the metric by one event_obj.track_event("test_event") or increase...
31.872093
97
0.514411
298
2,741
4.57047
0.348993
0.088106
0.03304
0.028634
0.217327
0.217327
0.101322
0.057269
0.057269
0.057269
0
0.004941
0.40934
2,741
85
98
32.247059
0.836319
0.05363
0
0.394737
0
0
0.032083
0
0
0
0
0
0
0
null
null
0.026316
0.026316
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
df1e65a154f3a554d265986ca9b3d7928c547ecc
2,487
py
Python
python/similarity.py
TriplesAccuracyAssessment/taa
99282283cc97f1e6de3b57ff59baa4aa6a9e26f2
[ "Apache-2.0" ]
null
null
null
python/similarity.py
TriplesAccuracyAssessment/taa
99282283cc97f1e6de3b57ff59baa4aa6a9e26f2
[ "Apache-2.0" ]
null
null
null
python/similarity.py
TriplesAccuracyAssessment/taa
99282283cc97f1e6de3b57ff59baa4aa6a9e26f2
[ "Apache-2.0" ]
null
null
null
# # (C) Copyright 2017 Shuangyan Liu # Shuangyan.Liu@open.ac.uk # Knowledge Media Institute # The Open University, United Kingdom # # 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 # # htt...
31.884615
80
0.674306
375
2,487
4.424
0.408
0.036166
0.053044
0.023508
0.139843
0.104882
0.091621
0.091621
0
0
0
0.018984
0.216325
2,487
77
81
32.298701
0.832222
0.406112
0
0.26087
0
0
0.015906
0
0
0
0
0
0
0
null
null
0
0.152174
null
null
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
df1eba55e94b2125f65511ee6421e700bac71251
10,777
py
Python
B2G/gecko/testing/mozbase/mozdevice/mozdevice/emulator.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/testing/mozbase/mozdevice/mozdevice/emulator.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/testing/mozbase/mozdevice/mozdevice/emulator.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from abc import abstractmethod import datetime from mozprocess import ProcessHandlerMixin import multiprocessing import ...
34.652733
91
0.571309
1,269
10,777
4.712372
0.239559
0.017391
0.017559
0.014214
0.186957
0.156355
0.140803
0.140803
0.107358
0.107358
0
0.007012
0.325137
10,777
310
92
34.764516
0.815207
0.050014
0
0.159664
0
0
0.058247
0.002662
0
0
0
0
0.008403
0
null
null
0.004202
0.058824
null
null
0.004202
0
0
0
null
0
0
0
0
0
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
df21ae785a89883b1eb2f17e981a08d19c0134fc
4,872
py
Python
setup.py
curuvar/xavr
ec3cb91c97a54b1bce82b703433edf0d48b8f1ea
[ "MIT" ]
null
null
null
setup.py
curuvar/xavr
ec3cb91c97a54b1bce82b703433edf0d48b8f1ea
[ "MIT" ]
null
null
null
setup.py
curuvar/xavr
ec3cb91c97a54b1bce82b703433edf0d48b8f1ea
[ "MIT" ]
null
null
null
import errno import os import re import shutil import string import subprocess import sys ITER_BEGIN = re.compile('\s*@iter\s+(.+?)@\s*') ITER_END = re.compile('\s*@end@\s*') def exec_iter(items, template, output): lines = [] for line in template: m = ITER_END.match(line) if m: br...
26.917127
108
0.572865
578
4,872
4.738754
0.283737
0.040891
0.019715
0.020445
0.233297
0.201899
0.175977
0.146769
0.122673
0.122673
0
0.001152
0.287356
4,872
180
109
27.066667
0.78773
0
0
0.268116
0
0
0.152299
0.019089
0
0
0
0
0
0
null
null
0.007246
0.050725
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
df2237d280d4c8ca7f003e5c6fb2f739a0fa4b88
1,140
py
Python
scripts/add_variables.py
BouchardLab/HangulFontsDatasetGenerator
307fe0d3533a62e286b53aa71885a0af79456bab
[ "BSD-3-Clause-LBNL" ]
null
null
null
scripts/add_variables.py
BouchardLab/HangulFontsDatasetGenerator
307fe0d3533a62e286b53aa71885a0af79456bab
[ "BSD-3-Clause-LBNL" ]
null
null
null
scripts/add_variables.py
BouchardLab/HangulFontsDatasetGenerator
307fe0d3533a62e286b53aa71885a0af79456bab
[ "BSD-3-Clause-LBNL" ]
1
2021-07-14T20:17:41.000Z
2021-07-14T20:17:41.000Z
import numpy as np import argparse, os, sys, h5py from hfd.variables import label_df parser = argparse.ArgumentParser(description='Add latent annotations to h5s.') parser.add_argument('folder', type=str, help='Folder to search for h5 files.') parser.add_argument('fontsize', type=int, help='Fontsize.') args = parser....
34.545455
82
0.560526
142
1,140
4.380282
0.471831
0.033762
0.054662
0.025723
0.144695
0.144695
0.144695
0.144695
0.144695
0.144695
0
0.00651
0.326316
1,140
32
83
35.625
0.803385
0
0
0.285714
0
0
0.154386
0.019298
0
0
0
0
0
1
0
false
0.071429
0.107143
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
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
df242a9a07e5b335a200f3b99e7d8b79035e7313
463
py
Python
setup.py
daniel-e/mnistdb
2dc7836a838cb09526bcfb956b201f1c2b21181b
[ "MIT" ]
null
null
null
setup.py
daniel-e/mnistdb
2dc7836a838cb09526bcfb956b201f1c2b21181b
[ "MIT" ]
null
null
null
setup.py
daniel-e/mnistdb
2dc7836a838cb09526bcfb956b201f1c2b21181b
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'mnistdb', packages = ['mnistdb'], version = '0.1.5', description = 'A library to load the MNIST database of handwritten digits into numpy arrays.', author = 'daniel-e', author_email = 'git.daniele@gmail.com', url = 'https://github.com/daniel-e/mnistdb', do...
35.615385
96
0.678186
63
463
4.952381
0.714286
0.067308
0.019231
0.108974
0.198718
0.198718
0.198718
0
0
0
0
0.015228
0.149028
463
13
97
35.615385
0.77665
0
0
0
0
0.076923
0.512931
0.045259
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
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
df2b2a14d4949002a6c8cc7cd5596e394cf6652d
21,169
py
Python
py/ec2_cmd.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
1
2017-12-14T04:57:51.000Z
2017-12-14T04:57:51.000Z
py/ec2_cmd.py
hansight/h2o
d7eee8b69dd3538b83412989eee361d2a2883857
[ "Apache-2.0" ]
null
null
null
py/ec2_cmd.py
hansight/h2o
d7eee8b69dd3538b83412989eee361d2a2883857
[ "Apache-2.0" ]
1
2018-12-18T06:18:55.000Z
2018-12-18T06:18:55.000Z
#!/usr/bin/python import argparse import boto import os, time, sys, socket import h2o_cmd import h2o import h2o_hosts import json import commands import traceback ''' Simple EC2 utility: * to setup clooud of 5 nodes: ./ec2_cmd.py create --instances 5 * to terminated the cloud : ./ec2_cmd.py ...
41.345703
249
0.629364
2,770
21,169
4.632491
0.175451
0.024548
0.013092
0.01091
0.281796
0.205658
0.177603
0.108713
0.099829
0.089931
0
0.03858
0.23473
21,169
511
250
41.426614
0.753519
0.038783
0
0.169492
0
0.009685
0.242916
0.026232
0
0
0
0.001957
0
0
null
null
0.009685
0.026634
null
null
0.033898
0
0
0
null
0
0
0
0
0
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
df2c896b4f6361fba21db40562fb5d3ec310f8a3
626
py
Python
zeus/migrations/52a5d85ba249_backfill_cr_multi_author.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
221
2017-07-03T17:29:21.000Z
2021-12-07T19:56:59.000Z
zeus/migrations/52a5d85ba249_backfill_cr_multi_author.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
298
2017-07-04T18:08:14.000Z
2022-03-03T22:24:51.000Z
zeus/migrations/52a5d85ba249_backfill_cr_multi_author.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
24
2017-07-15T13:46:45.000Z
2020-08-16T16:14:45.000Z
"""backfill_cr_multi_author Revision ID: 52a5d85ba249 Revises: 70383b887d4a Create Date: 2020-03-04 15:23:10.842507 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "52a5d85ba249" down_revision = "70383b887d4a" branch_labels = () depends_on = None def upgrade(...
18.411765
72
0.694888
79
626
5.316456
0.683544
0.092857
0.047619
0
0
0
0
0
0
0
0
0.11134
0.22524
626
33
73
18.969697
0.754639
0.244409
0
0
0
0
0.091954
0
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
df302a5682c41b23528107096c514338b49819b1
313
py
Python
ponisha_projects/contracts.py
rferdosi/ponisha_projects
c04081d513363815c2ca458e91e3fa0c5c64dd18
[ "MIT" ]
2
2021-06-01T04:12:05.000Z
2021-06-01T09:35:03.000Z
ponisha_projects/contracts.py
rferdosi/ponisha_projects
c04081d513363815c2ca458e91e3fa0c5c64dd18
[ "MIT" ]
null
null
null
ponisha_projects/contracts.py
rferdosi/ponisha_projects
c04081d513363815c2ca458e91e3fa0c5c64dd18
[ "MIT" ]
null
null
null
from scrapy_selenium import SeleniumRequest class WithSelenium(Contract): """ Contract to set the request class to be SeleniumRequest for the current call back method to test. Required to test SeleniumRequests. @with_selenium """ name = 'with_selenium' request_cls = SeleniumRequest
28.454545
107
0.738019
37
313
6.135135
0.648649
0.052863
0
0
0
0
0
0
0
0
0
0
0.210863
313
10
108
31.3
0.919028
0.485623
0
0
0
0
0.092199
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
1
0
0
1
df3609e689116254f29b6a6e78e8f86b3c614c39
770
py
Python
PP4E/Examples/PP4E/Dbase/Sql/MySql-2.x/loaddb1.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Dbase/Sql/MySql-2.x/loaddb1.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Dbase/Sql/MySql-2.x/loaddb1.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
################################################################################ # load table from comma-delimited text file; equivalent to executing this sql: # "load data local infile 'data.txt' into table people fields terminated by ','" ###########################################################################...
42.777778
82
0.54026
86
770
4.790698
0.697674
0.033981
0
0
0
0
0
0
0
0
0
0
0.153247
770
17
83
45.294118
0.631902
0.337662
0
0
0
0
0.222561
0
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
df362a2497204b9365c0b0beb47944af0c718fdc
177
py
Python
Planina/planina.py
rajitbanerjee/kattis
3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad
[ "CC0-1.0" ]
2
2021-04-13T12:56:30.000Z
2022-03-21T16:46:58.000Z
Planina/planina.py
rajitbanerjee/kattis
3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad
[ "CC0-1.0" ]
null
null
null
Planina/planina.py
rajitbanerjee/kattis
3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad
[ "CC0-1.0" ]
1
2021-11-14T14:06:46.000Z
2021-11-14T14:06:46.000Z
"""https://open.kattis.com/problems/planina""" def mid(n): if n == 0: return 2 else: return 2 * mid(n-1) - 1 n = int(input()) print(mid(n)**2)
13.615385
46
0.491525
28
177
3.107143
0.642857
0.137931
0
0
0
0
0
0
0
0
0
0.04878
0.305085
177
12
47
14.75
0.658537
0.225989
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df40029496ea874e8e8f27ecfbfec67e9ff1e864
935
py
Python
utils.py
chunchentu/MagNet
72be5ebf7f3271b3b037c345ba457c93f5a01462
[ "BSD-2-Clause" ]
84
2017-09-15T08:38:19.000Z
2022-03-14T02:37:56.000Z
utils.py
chunchentu/MagNet
72be5ebf7f3271b3b037c345ba457c93f5a01462
[ "BSD-2-Clause" ]
11
2019-12-16T21:53:29.000Z
2022-02-10T01:19:40.000Z
externals/MagNet/utils.py
I2-Multimedia-Lab/Countering-Adversarial-Examples-Using-JPEG-Compression
5c80091dcf2b80d6d22af8e5e1b103218c36e889
[ "MIT" ]
36
2017-09-12T01:47:50.000Z
2022-03-29T09:39:03.000Z
## utils.py -- utility functions ## ## Copyright (C) 2017, Dongyu Meng <zbshfmmm@gmail.com>. ## ## This program is licenced under the BSD 2-Clause licence, ## contained in the LICENCE file in this directory. import pickle import os import numpy as np def prepare_data(dataset, idx): """ Extract data from inde...
28.333333
104
0.670588
139
935
4.446043
0.561151
0.053398
0.055016
0.064725
0.194175
0.110032
0.110032
0.110032
0
0
0
0.009174
0.183957
935
32
105
29.21875
0.800786
0.358289
0
0
0
0
0.078431
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
df40fb3b953efe75256d4f8877f89aa93d936cb3
389
py
Python
setup.py
rouckas/lib22pt
3878f7258523cc3881d61b7562aab8996bdd37d1
[ "MIT" ]
null
null
null
setup.py
rouckas/lib22pt
3878f7258523cc3881d61b7562aab8996bdd37d1
[ "MIT" ]
1
2021-06-23T14:23:19.000Z
2021-06-23T14:23:19.000Z
setup.py
rouckas/lib22pt
3878f7258523cc3881d61b7562aab8996bdd37d1
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='lib22pt', version='0.1', description='Libraries for AB-22PT data analysis', url='http://github.com/rouckas/lib22pt', author='Stepan Roucka', author_email='stepan@roucka.eu', license='MIT', packages=['lib22pt'], setup_requires=['py...
27.785714
56
0.637532
45
389
5.422222
0.822222
0.098361
0
0
0
0
0
0
0
0
0
0.032468
0.208226
389
13
57
29.923077
0.75974
0
0
0
0
0
0.349614
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
df461515770618f46f3e92a8503857c452431c1e
788
py
Python
kangakari/config.py
IkBenOlie5/Kangakari
609854f21306b69b8b37e831de1a420b1aa3b6c8
[ "BSD-3-Clause" ]
5
2021-08-21T15:21:49.000Z
2022-01-05T20:52:44.000Z
kangakari/config.py
IkBenOlie5/Kangakari
609854f21306b69b8b37e831de1a420b1aa3b6c8
[ "BSD-3-Clause" ]
4
2021-07-03T07:36:22.000Z
2022-02-06T14:01:46.000Z
kangakari/config.py
IkBenOlie5/Kangakari
609854f21306b69b8b37e831de1a420b1aa3b6c8
[ "BSD-3-Clause" ]
1
2022-01-31T03:37:31.000Z
2022-01-31T03:37:31.000Z
from __future__ import annotations import typing as t from functools import lru_cache from os import environ from pathlib import Path from dotenv import load_dotenv load_dotenv() class ConfigMeta(type): def resolve_value(cls, value: str) -> t.Any: _map: dict[str, t.Callable[[str], t.Any]] = { ...
23.878788
75
0.59264
106
788
4.235849
0.5
0.035635
0.046771
0
0
0
0
0
0
0
0
0.005155
0.261421
788
32
76
24.625
0.766323
0
0
0
0
0
0.034264
0
0
0
0
0
0
1
0.086957
false
0.043478
0.26087
0.043478
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
df4a559a830654d1074dbd64f641ebcf7b2748d8
1,343
py
Python
archive/2016/week5/homework/tests.py
YAtOff/python0
b5af5004131d64dd52d42746eddb72b6c43a13c7
[ "Apache-2.0" ]
6
2017-11-08T14:04:39.000Z
2019-03-24T22:11:04.000Z
archive/2016/week5/homework/tests.py
YAtOff/python0
b5af5004131d64dd52d42746eddb72b6c43a13c7
[ "Apache-2.0" ]
null
null
null
archive/2016/week5/homework/tests.py
YAtOff/python0
b5af5004131d64dd52d42746eddb72b6c43a13c7
[ "Apache-2.0" ]
7
2015-10-27T09:04:58.000Z
2019-03-03T14:18:26.000Z
import unittest import logging def warn_if_not_implemented(func): def wrapper(*args, **kwargs): try: func(*args, **kwargs) except Exception as e: if e.args[0] == 'Not implemented': logging.warning('%s is not implemented' % func.__name__[len('test_'):]) ...
24.418182
87
0.615786
179
1,343
4.363128
0.24581
0.161332
0.080666
0.179257
0.261204
0.209987
0.071703
0
0
0
0
0.033195
0.282204
1,343
54
88
24.87037
0.776971
0
0
0.142857
0
0
0.036485
0
0
0
0
0
0.214286
1
0.190476
false
0
0.190476
0
0.452381
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
df4c1398546ae1b3fa67991205026c18618b2930
320
py
Python
setup.py
jc22dora/ftdpack
c5a1bd0b5487ce791a405edcea8eabbcfd65fc33
[ "MIT" ]
5
2021-02-20T03:58:17.000Z
2021-03-11T10:29:47.000Z
setup.py
jc22dora/ftdpack
c5a1bd0b5487ce791a405edcea8eabbcfd65fc33
[ "MIT" ]
null
null
null
setup.py
jc22dora/ftdpack
c5a1bd0b5487ce791a405edcea8eabbcfd65fc33
[ "MIT" ]
1
2021-02-21T15:25:58.000Z
2021-02-21T15:25:58.000Z
from setuptools import setup setup(name='ftdpack', version='1.0', description='package to access failure to deliver data', url='https://github.com/jc22dora/ftdpack', author='John Doran', author_email='jdorrkng@jdoran.dev', license='MIT', packages=['ftd'], install_requires=['mysql-connector==2.2.9'], zip_safe=False)
21.333333
56
0.746875
46
320
5.130435
0.891304
0
0
0
0
0
0
0
0
0
0
0.023649
0.075
320
14
57
22.857143
0.773649
0
0
0
0
0
0.449686
0.069182
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
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
df51747bc2ac8dfc151af65fe71bfcf6231b5638
5,426
py
Python
tests/test_dependencies.py
adriangb/incant
201d944d67ac97f165b4b3259618241930768df8
[ "Apache-2.0" ]
null
null
null
tests/test_dependencies.py
adriangb/incant
201d944d67ac97f165b4b3259618241930768df8
[ "Apache-2.0" ]
null
null
null
tests/test_dependencies.py
adriangb/incant
201d944d67ac97f165b4b3259618241930768df8
[ "Apache-2.0" ]
null
null
null
from collections import OrderedDict from inspect import Parameter, signature import pytest from attr import define from incant import Incanter def test_simple_dep(incanter: Incanter): def func(dep1) -> int: return dep1 + 1 with pytest.raises(TypeError): incanter.invoke(func) assert sig...
27.543147
88
0.630114
670
5,426
4.98209
0.120896
0.086279
0.065908
0.089874
0.715398
0.611144
0.532954
0.44997
0.4284
0.415818
0
0.027723
0.248802
5,426
196
89
27.683673
0.791217
0.036307
0
0.333333
0
0
0.024002
0
0
0
0
0
0.155556
1
0.2
false
0
0.037037
0.111111
0.362963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
df5267fb766acce831c65042eece13aa8fb1b007
412
py
Python
coreapp/migrations/0020_auto_20200205_1359.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
coreapp/migrations/0020_auto_20200205_1359.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
coreapp/migrations/0020_auto_20200205_1359.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-02-05 08:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coreapp', '0019_auto_20200203_0946'), ] operations = [ migrations.AlterField( model_name='project', name='end_goal', ...
21.684211
75
0.61165
46
412
5.347826
0.826087
0
0
0
0
0
0
0
0
0
0
0.113712
0.274272
412
18
76
22.888889
0.70903
0.104369
0
0
1
0
0.122616
0.06267
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
df527efb4a1ce977b5fd84156ff63de5d6c19d2e
1,282
py
Python
proposal/conf.py
coagulant/pyvideo.ru
7a340c66ce1c07e64711ea01f79d9cf8e237f8d5
[ "BSD-3-Clause" ]
9
2015-03-03T19:15:37.000Z
2018-01-04T11:56:36.000Z
proposal/conf.py
coagulant/pyvideo.ru
7a340c66ce1c07e64711ea01f79d9cf8e237f8d5
[ "BSD-3-Clause" ]
23
2015-02-03T07:12:43.000Z
2017-05-19T09:21:59.000Z
proposal/conf.py
coagulant/pyvideo.ru
7a340c66ce1c07e64711ea01f79d9cf8e237f8d5
[ "BSD-3-Clause" ]
10
2015-06-26T08:31:08.000Z
2015-10-13T04:55:35.000Z
# coding: utf-8 from __future__ import unicode_literals import os import pathlib import appconf class AppConf(appconf.AppConf): # path to the proposals root ROOT = None # Default video language # (Language name, ISO 639-1 code) LANGUAGE = ('Russian', 'ru') # category metadata filename ste...
25.137255
87
0.632605
173
1,282
4.595376
0.462428
0.055346
0.022642
0.025157
0.083019
0.083019
0.083019
0
0
0
0
0.011665
0.264431
1,282
50
88
25.64
0.831389
0.455538
0
0
0
0
0.047988
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
df541329fe5ec13d229659879ac3dd769b94992d
3,011
py
Python
util/py/util/misc/monkey.py
asarcar/PI
98ad69e64597313c527d59e7e210b04ff865d0e5
[ "Zlib" ]
null
null
null
util/py/util/misc/monkey.py
asarcar/PI
98ad69e64597313c527d59e7e210b04ff865d0e5
[ "Zlib" ]
null
null
null
util/py/util/misc/monkey.py
asarcar/PI
98ad69e64597313c527d59e7e210b04ff865d0e5
[ "Zlib" ]
null
null
null
# # Copyright (c) 2016 Pi Inc. All rights reserved. # # Author: asarcar@piekul.com # # Monkey patch python modules or methods. # from __future__ import absolute_import import gflags from gflags import BooleanFlag import sys __all__ = ['patch_all', 'patch_gflags'] FLAGS = gflags.FLAGS def patch_all(gflags=...
32.728261
80
0.646629
401
3,011
4.698254
0.321696
0.025478
0.031847
0.035032
0.487792
0.462314
0.446391
0.39862
0.39862
0.329087
0
0.005804
0.256061
3,011
91
81
33.087912
0.835268
0.037861
0
0.423077
0
0
0.134845
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.115385
0
0
0
null
0
0
0
0
0
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
df66b2fd31a4239af2496708513604923ad3c4d9
4,938
py
Python
NewsPaperD6/NewsPaper/News/views.py
GregTMJ/django-files
dfd2c8da596522b77fb3dfc8089f0d287a94d53b
[ "MIT" ]
1
2021-05-29T21:17:56.000Z
2021-05-29T21:17:56.000Z
NewsPaperD6/NewsPaper/News/views.py
GregTMJ/django-files
dfd2c8da596522b77fb3dfc8089f0d287a94d53b
[ "MIT" ]
null
null
null
NewsPaperD6/NewsPaper/News/views.py
GregTMJ/django-files
dfd2c8da596522b77fb3dfc8089f0d287a94d53b
[ "MIT" ]
1
2021-06-30T12:43:39.000Z
2021-06-30T12:43:39.000Z
from datetime import datetime from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string from django.views import View from django.urls import reverse from django.views.gene...
33.591837
100
0.637708
549
4,938
5.566485
0.256831
0.032723
0.031414
0.032723
0.180301
0.117474
0.097186
0.055956
0.043194
0.043194
0
0.003259
0.254354
4,938
146
101
33.821918
0.826725
0.186715
0
0.2
0
0
0.075282
0.02133
0
0
0
0
0
1
0.077778
false
0
0.155556
0
0.655556
0
0
0
0
null
0
0
0
0
0
0
0
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
df72a3f57c16205d48fd8b0d77c272723e3e27c4
8,120
py
Python
data/train/python/df72a3f57c16205d48fd8b0d77c272723e3e27c4provision.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/df72a3f57c16205d48fd8b0d77c272723e3e27c4provision.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/df72a3f57c16205d48fd8b0d77c272723e3e27c4provision.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#============================================================================== # provision.py # This is API library for Exosite's One-Platform provision interface. #============================================================================== ## ## Tested with python 2.6 ## ## Copyright (c) 2011, Exosite LLC ## All r...
44.371585
96
0.668227
1,000
8,120
5.222
0.154
0.071812
0.081386
0.060322
0.586748
0.517809
0.475297
0.404251
0.399655
0.360398
0
0.002691
0.176355
8,120
182
97
44.615385
0.77811
0.053941
0
0.274648
0
0
0.084856
0.004308
0
0
0
0
0
0
null
null
0
0.014085
null
null
0.021127
0
0
0
null
0
0
0
0
0
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
df75da04d30c9608e09320a50710e27a28189495
300
py
Python
src/start.py
dubovyk/Quoterly
ce49db042fa95e3ebc6cf826eb8d7f9e4f10a057
[ "MIT" ]
null
null
null
src/start.py
dubovyk/Quoterly
ce49db042fa95e3ebc6cf826eb8d7f9e4f10a057
[ "MIT" ]
null
null
null
src/start.py
dubovyk/Quoterly
ce49db042fa95e3ebc6cf826eb8d7f9e4f10a057
[ "MIT" ]
null
null
null
from dbconnector import dbconnector connector = dbconnector.sqliteConnector("data/Quoterly.db") connector.drop() connector.create() connector.add_user('root', 'test@gmail.com', 'password') connector.update_user('root', 'is_admin', 'true') connector.add_user('user', 'user@gmail.com', 'password')
25
59
0.756667
37
300
6.027027
0.567568
0.107623
0.143498
0
0
0
0
0
0
0
0
0
0.073333
300
11
60
27.272727
0.802158
0
0
0
0
0
0.28
0
0
0
0
0
0
1
0
false
0.285714
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
0
1
0
0
0
0
0
1
df76be634fbf3b05b892be401e90e8cbd73acc4a
477
py
Python
clustering_capital_markets/functions/gmm_dist.py
rcorrero/clustering_capital_markets
116a6b1d97285460d7105f2a557ff18fe3be6b73
[ "BSD-3-Clause" ]
3
2020-07-04T07:20:57.000Z
2022-02-15T23:18:21.000Z
clustering_capital_markets/functions/gmm_dist.py
rcorrero/clustering_capital_markets
116a6b1d97285460d7105f2a557ff18fe3be6b73
[ "BSD-3-Clause" ]
null
null
null
clustering_capital_markets/functions/gmm_dist.py
rcorrero/clustering_capital_markets
116a6b1d97285460d7105f2a557ff18fe3be6b73
[ "BSD-3-Clause" ]
1
2020-07-04T07:20:58.000Z
2020-07-04T07:20:58.000Z
import pandas as pd from scipy.stats import randint def gmm_dist(df, proportion=.1): '''Creates scipy randint distribution with max=(n_samples * proportion) of df. Parameters ---------- df : array-like proportion : float, optional default=.1 Determines the maximum of the range fo...
20.73913
65
0.626834
59
477
5
0.627119
0.067797
0
0
0
0
0
0
0
0
0
0.011429
0.266247
477
22
66
21.681818
0.831429
0.530398
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
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
df7938299dc221bd339d85fdab74d9081c88f84f
10,408
py
Python
src/signalalign/build_alignments.py
UCSC-nanopore-cgl/signalAlign
90041772403fe9f7142abc8a9103a7696e70f445
[ "MIT" ]
5
2019-08-03T14:43:49.000Z
2021-12-20T00:39:05.000Z
src/signalalign/build_alignments.py
UCSC-nanopore-cgl/signalAlign
90041772403fe9f7142abc8a9103a7696e70f445
[ "MIT" ]
8
2018-06-13T00:32:34.000Z
2021-12-20T01:06:13.000Z
src/signalalign/build_alignments.py
UCSC-nanopore-cgl/signalAlign
90041772403fe9f7142abc8a9103a7696e70f445
[ "MIT" ]
5
2017-07-24T20:29:41.000Z
2020-01-03T17:16:29.000Z
#!/usr/bin/env python """Class and methods to deal with alignments and generate alignment tables for HDP training""" ######################################################################## # File: build_alignments.py # executable: build_alignments.py # # Author: Andrew Bailey # History: Created 05/02/19 #############...
38.124542
117
0.619043
1,343
10,408
4.556962
0.164557
0.028758
0.029412
0.014706
0.316013
0.234477
0.19134
0.170098
0.120588
0.120588
0
0.011921
0.274596
10,408
272
118
38.264706
0.798676
0.154208
0
0.25
1
0
0.039421
0.008355
0
0
0
0
0.005435
1
0.081522
false
0.021739
0.038043
0
0.173913
0.01087
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
df79453d374a5f51483cb60b955d01ebacd31f3f
1,351
py
Python
day05/python/smarkwart/day05.py
jamhocken/aoc-2020
b1f9e04177afaf7e7c15fdc7bf7bc76f27a029f6
[ "MIT" ]
16
2020-11-21T16:11:07.000Z
2021-12-06T10:02:25.000Z
day05/python/smarkwart/day05.py
jamhocken/aoc-2020
b1f9e04177afaf7e7c15fdc7bf7bc76f27a029f6
[ "MIT" ]
38
2020-11-26T05:53:35.000Z
2021-11-22T17:01:58.000Z
day05/python/smarkwart/day05.py
jamhocken/aoc-2020
b1f9e04177afaf7e7c15fdc7bf7bc76f27a029f6
[ "MIT" ]
41
2020-11-21T16:11:10.000Z
2021-12-07T13:36:07.000Z
import sys import re def get_input_data_as_list(file_name): """ Reads in data from the given file and returns them as list with one entry per line and whitespaced trimmed """ with open(file_name) as input_file: data_list = input_file.readlines() return data_list def transform_bin...
27.571429
79
0.69356
215
1,351
4.097674
0.344186
0.102157
0.044268
0.031782
0.127128
0
0
0
0
0
0
0.009381
0.210955
1,351
48
80
28.145833
0.817073
0.227239
0
0
0
0
0.074227
0.025773
0
0
0
0
0
1
0.208333
false
0
0.083333
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
df8240366c5c29a35cc363c03189dc48afa802ab
3,884
py
Python
herder/lib/base.py
cc-archive/herder
594f40518c2eac87a32d7d644c27c35d53f3904a
[ "MIT" ]
null
null
null
herder/lib/base.py
cc-archive/herder
594f40518c2eac87a32d7d644c27c35d53f3904a
[ "MIT" ]
null
null
null
herder/lib/base.py
cc-archive/herder
594f40518c2eac87a32d7d644c27c35d53f3904a
[ "MIT" ]
null
null
null
"""The base Controller API Provides the BaseController class for subclassing, and other objects utilized by Controllers. """ from pylons import c, cache, config, g, request, response, session from pylons.controllers import WSGIController from pylons.controllers.util import abort, etag_cache, redirect_to from pylons.de...
38.84
130
0.645211
500
3,884
4.842
0.334
0.017348
0.039653
0.043371
0.223874
0.164395
0.164395
0.164395
0.164395
0.164395
0
0.001028
0.248713
3,884
99
131
39.232323
0.82865
0.242019
0
0.071429
0
0
0.081774
0
0
0
0
0.010101
0
1
0.071429
false
0
0.160714
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
df9014425b42f10ca9afd1deb9e9a9bb088260b4
410
py
Python
modes.py
manjurulhoque/python-pillow
8c2d19e737ca7df5405ce0f14392487b813b48c8
[ "Apache-2.0" ]
1
2017-08-05T17:28:27.000Z
2017-08-05T17:28:27.000Z
modes.py
manjurulhoque/python-pillow
8c2d19e737ca7df5405ce0f14392487b813b48c8
[ "Apache-2.0" ]
null
null
null
modes.py
manjurulhoque/python-pillow
8c2d19e737ca7df5405ce0f14392487b813b48c8
[ "Apache-2.0" ]
null
null
null
from PIL import Image from PIL import ImageFilter img = Image.open("rumi.jpg") #for CMYK.. #CMYK stands for C=cyan, M=megenta, Y=yellow, K=black #bw = img.convert('CMYK') #L stands for Luminent #bw = img.convert('L') #bw.show() #for image blur effect #blur = img.filter(ImageFilter.BLUR) #blur.show(...
17.826087
54
0.673171
64
410
4.296875
0.515625
0.050909
0.094545
0
0
0
0
0
0
0
0
0
0.187805
410
22
55
18.636364
0.825826
0.55122
0
0
0
0
0.05298
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
df94ddba2129d11147899a23b73c9af13fe836d7
2,484
py
Python
day_3/main.py
cody-robertson/advent-of-code-2021
ff0c0865dd1f05c0fd398e1bf266412963be5768
[ "MIT" ]
null
null
null
day_3/main.py
cody-robertson/advent-of-code-2021
ff0c0865dd1f05c0fd398e1bf266412963be5768
[ "MIT" ]
null
null
null
day_3/main.py
cody-robertson/advent-of-code-2021
ff0c0865dd1f05c0fd398e1bf266412963be5768
[ "MIT" ]
null
null
null
from typing import NamedTuple, Optional class MetricStrings(NamedTuple): oxygen: str co2: str def load_input(file_name: str) -> list[str]: binary_numbers = [] with open(file_name, "r") as input_file: for line in input_file: binary_numbers.append(line.strip()) return binary_nu...
29.927711
79
0.67029
343
2,484
4.562682
0.22449
0.224281
0.054313
0.063898
0.343131
0.283706
0.149521
0.10607
0.10607
0.10607
0
0.015088
0.226248
2,484
82
80
30.292683
0.799168
0
0
0.131148
0
0
0.009259
0
0
0
0
0
0
1
0.131148
false
0
0.016393
0.016393
0.377049
0.032787
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
10bf727016d3eca1821eefeac0c5b8ac8fa6d99c
1,778
py
Python
main/views.py
homata/snow_removing
c02585b8ceab3da107b932d6066c8b8344af1ff7
[ "Apache-2.0" ]
2
2018-12-05T01:03:10.000Z
2019-03-16T04:27:03.000Z
main/views.py
homata/snow_removing
c02585b8ceab3da107b932d6066c8b8344af1ff7
[ "Apache-2.0" ]
null
null
null
main/views.py
homata/snow_removing
c02585b8ceab3da107b932d6066c8b8344af1ff7
[ "Apache-2.0" ]
1
2018-12-04T14:18:08.000Z
2018-12-04T14:18:08.000Z
from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.views import generic from rest_framework.response import Response from rest_framework import status from django.utils.translation import ugettext as _ from django.shortcuts import get_object_or_404 impo...
32.925926
121
0.562992
188
1,778
5.265957
0.478723
0.050505
0.057576
0.069697
0.09697
0.09697
0
0
0
0
0
0.010606
0.257593
1,778
53
122
33.54717
0.739394
0.12036
0
0.058824
0
0
0.22215
0
0
0
0
0
0
1
0.029412
false
0
0.352941
0
0.470588
0.029412
0
0
0
null
0
0
0
0
0
0
0
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
10c41a4ba80f96543ce8f4d8cfecd1ef30d7b643
457
py
Python
sci-downloads.py
SuperBruceJia/Sci-Hub-Paper-Download-shell
a572407c77c21b7e7497990cfa92236c110a2e9e
[ "MIT" ]
15
2021-01-17T10:09:59.000Z
2022-02-03T12:20:10.000Z
sci-downloads.py
SuperBruceJia/Sci-Hub-Paper-Download-shell
a572407c77c21b7e7497990cfa92236c110a2e9e
[ "MIT" ]
null
null
null
sci-downloads.py
SuperBruceJia/Sci-Hub-Paper-Download-shell
a572407c77c21b7e7497990cfa92236c110a2e9e
[ "MIT" ]
5
2021-01-19T09:07:35.000Z
2021-12-30T01:16:50.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys from scihub import SciHub sh = SciHub() # In default, the papers would be downloaded in the Desktop SAVE_PATH = os.getcwd() + '/Desktop/' for i in range(1, len(sys.argv)): # identifier can be link URL, DOI, or PMID identifier = str(sys.argv[i...
25.388889
62
0.678337
73
457
4.219178
0.684932
0.051948
0
0
0
0
0
0
0
0
0
0.00545
0.196937
457
17
63
26.882353
0.833787
0.43326
0
0
0
0
0.043307
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
10c571356d9989a5e67c4e8869343d52c43dc798
2,124
py
Python
scripts/follower.py
twisterarmy/twister-data-guard
d0e7373559a76142d29ceb6e95e6ec3761f489ab
[ "MIT" ]
2
2021-07-12T23:08:11.000Z
2021-12-18T01:57:47.000Z
scripts/follower.py
twisterarmy/twister-data-guard
d0e7373559a76142d29ceb6e95e6ec3761f489ab
[ "MIT" ]
2
2021-06-26T09:56:45.000Z
2021-07-01T13:06:55.000Z
scripts/follower.py
twisterarmy/twister-data-guard
d0e7373559a76142d29ceb6e95e6ec3761f489ab
[ "MIT" ]
null
null
null
#!/usr/bin/python # # Auto-following/reading bot written in Python 2 has a mission to safe distributed data shared in the twister network # (https://github.com/twisterarmy/twister-data-guard) # This script based on the official usernameCrawler # (https://github.com/miguelfreitas/twister-core/blob/master/contrib/usernam...
27.584416
128
0.685028
263
2,124
5.528517
0.570342
0.022696
0.028886
0
0
0
0
0
0
0
0
0.015634
0.217043
2,124
76
129
27.947368
0.858689
0.315443
0
0.159091
0
0
0.19041
0.015983
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.136364
0
0
0
null
0
0
0
0
0
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
10c9203d7a5bb08a6d5fc8b73db3944eda0baa2e
22,064
py
Python
Source/Squiddy/src/tema-android-adapter-3.2-sma/AndroidAdapter/traverserdb.py
samini/gort-public
fed7d1d884753f3e3b412a9afb476ae1e1f563c4
[ "Apache-2.0" ]
1
2015-01-28T16:23:44.000Z
2015-01-28T16:23:44.000Z
Source/Squiddy/src/tema-android-adapter-3.2-sma/AndroidAdapter/traverserdb.py
samini/gort-public
fed7d1d884753f3e3b412a9afb476ae1e1f563c4
[ "Apache-2.0" ]
1
2017-04-24T12:10:29.000Z
2017-04-24T12:10:29.000Z
Source/Squiddy/src/tema-android-adapter-3.2-sma/AndroidAdapter/traverserdb.py
samini/gort-public
fed7d1d884753f3e3b412a9afb476ae1e1f563c4
[ "Apache-2.0" ]
1
2015-01-28T16:41:47.000Z
2015-01-28T16:41:47.000Z
# # Copyright 2014 Shahriyar Amini # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
33.788668
371
0.614938
2,424
22,064
5.37665
0.131188
0.028696
0.03376
0.031075
0.334229
0.253127
0.164199
0.144326
0.135119
0.109031
0
0.008094
0.288842
22,064
652
372
33.840491
0.82251
0.070069
0
0.289954
0
0.002283
0.084993
0.028949
0
0
0
0.001534
0
0
null
null
0.027397
0.009132
null
null
0.031963
0
0
0
null
0
0
0
0
0
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
10c99d314b5f2db201fbd6b3db07c4da1b565079
415
py
Python
mrp_system/migrations/0055_auto_20190121_2007.py
mgeorge8/django_time
f75a442941b0ebbb6cc46a6d18e42b91695b7e57
[ "MIT" ]
1
2018-11-09T02:09:14.000Z
2018-11-09T02:09:14.000Z
mrp_system/migrations/0055_auto_20190121_2007.py
mgeorge8/django_time
f75a442941b0ebbb6cc46a6d18e42b91695b7e57
[ "MIT" ]
null
null
null
mrp_system/migrations/0055_auto_20190121_2007.py
mgeorge8/django_time
f75a442941b0ebbb6cc46a6d18e42b91695b7e57
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2019-01-21 20:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mrp_system', '0054_auto_20190121_1943'), ] operations = [ migrations.AlterField( model_name='manufacturingorder', na...
21.842105
58
0.626506
45
415
5.6
0.822222
0
0
0
0
0
0
0
0
0
0
0.101974
0.26747
415
18
59
23.055556
0.726974
0.108434
0
0
1
0
0.171196
0.0625
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
10d751684547311222f25ae143e0ad240e14b643
7,731
py
Python
anonymizer/utils/discrete_distribution.py
openredact/anonymizer
a5c233ac7110e21529bc1ca994107e2b2a9498b6
[ "MIT" ]
5
2020-07-31T18:45:14.000Z
2020-12-02T14:00:10.000Z
anonymizer/utils/discrete_distribution.py
openredact/anonymizer
a5c233ac7110e21529bc1ca994107e2b2a9498b6
[ "MIT" ]
2
2020-12-10T11:08:43.000Z
2022-01-13T06:40:54.000Z
anonymizer/utils/discrete_distribution.py
openredact/anonymizer
a5c233ac7110e21529bc1ca994107e2b2a9498b6
[ "MIT" ]
1
2021-02-08T09:30:12.000Z
2021-02-08T09:30:12.000Z
import random import numpy as np class DiscreteDistribution: """ This class represents a (conditional) discrete probability distribution. More specifically, it stores the probabilities `P(output = j | input = i)` of generating an output j given an input i. Generally, such a distribution is repres...
35.140909
116
0.639245
931
7,731
5.218045
0.24275
0.034994
0.011527
0.01338
0.37958
0.361054
0.348291
0.326472
0.301359
0.274599
0
0.003084
0.286897
7,731
219
117
35.30137
0.878106
0.445221
0
0.290698
0
0
0.049755
0
0
0
0
0
0
1
0.22093
false
0.011628
0.023256
0
0.430233
0
0
0
0
null
0
0
0
0
0
0
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
10d8e593649fad7d238d9be2563b44da244de36f
11,877
py
Python
PyEvaluateAccuracy/src/addSfmEstimateToBeaconData.py
hulop/SfMLocalization
dd0a5ed202c675449b1f84d180ee69149fa76534
[ "MIT" ]
13
2015-11-01T09:38:46.000Z
2022-02-02T19:01:54.000Z
PyEvaluateAccuracy/src/addSfmEstimateToBeaconData.py
hulop/SfMLocalization
dd0a5ed202c675449b1f84d180ee69149fa76534
[ "MIT" ]
3
2016-04-20T21:29:29.000Z
2016-05-03T23:25:02.000Z
PyEvaluateAccuracy/src/addSfmEstimateToBeaconData.py
hulop/SfMLocalization
dd0a5ed202c675449b1f84d180ee69149fa76534
[ "MIT" ]
9
2016-02-12T03:27:01.000Z
2019-09-11T10:01:51.000Z
# -*- coding: utf-8 -*- import argparse import os import json import numpy as np import sys import shutil VISION_LOCALIZE_WORKSPACE_PATH = "/home/ishihara/VisionLoc" # remove SfM result if the distance between consective frame is larger than REMOVE_NOISE_THRESHOLD*medianDist REMOVE_NOISE_THRESHOLD = 5.0 # do not add...
54.986111
173
0.574135
1,387
11,877
4.751262
0.167267
0.054628
0.050986
0.044613
0.627011
0.597572
0.578756
0.562215
0.540819
0.523369
0
0.005327
0.304538
11,877
216
174
54.986111
0.792494
0.065336
0
0.367816
0
0
0.191645
0.038979
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.057471
0
0
0
null
0
0
0
0
0
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
10dcf658e6141dec69524f9433925b4940a265ef
267
py
Python
app/data/transform_factsheet.py
biswajyoti2607/Temporal-Path
31c8bd82cd432f1345af4e0a9a1421c44fb7e69a
[ "MIT" ]
null
null
null
app/data/transform_factsheet.py
biswajyoti2607/Temporal-Path
31c8bd82cd432f1345af4e0a9a1421c44fb7e69a
[ "MIT" ]
null
null
null
app/data/transform_factsheet.py
biswajyoti2607/Temporal-Path
31c8bd82cd432f1345af4e0a9a1421c44fb7e69a
[ "MIT" ]
null
null
null
import json with open('factsheets.json') as json_data: d = json.load(json_data) for key in d: d[key] = d[key].encode('ascii','ignore').replace('\n', '<br />').replace('\t', '').replace('"', '\'') with open('data_factsheets.json', 'w') as fp: json.dump(d, fp)
29.666667
103
0.610487
43
267
3.72093
0.511628
0.1
0
0
0
0
0
0
0
0
0
0
0.131086
267
9
104
29.666667
0.689655
0
0
0
0
0
0.220149
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
10e1cbfea4196ab4778c26900b5d482db5a19090
3,065
py
Python
BadNumbers.py
kevjames3/CodingChallenges
8bc0d37723711fb3a6045caf8ab33c4fbf59116f
[ "MIT" ]
null
null
null
BadNumbers.py
kevjames3/CodingChallenges
8bc0d37723711fb3a6045caf8ab33c4fbf59116f
[ "MIT" ]
null
null
null
BadNumbers.py
kevjames3/CodingChallenges
8bc0d37723711fb3a6045caf8ab33c4fbf59116f
[ "MIT" ]
null
null
null
''' Take a file with a list of values seperated by new lines. Given the criteria of the function "isBad", determine the number of combinations of +, -, or "" between each digit resolves to a bad number. Example: 012 => 0+12, 01-2, 0+1-2, (etc) Given a digit, there are 3^(D-1) expressions, where D are the number of ...
30.65
130
0.641109
333
3,065
5.867868
0.384384
0.02303
0.011259
0.012283
0.033777
0.033777
0.033777
0.033777
0
0
0
0.027342
0.272104
3,065
99
131
30.959596
0.848498
0.054486
0
0.109375
0
0
0.032892
0
0
0
0
0
0
0
null
null
0
0.046875
null
null
0.046875
0
0
0
null
0
0
0
0
0
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
10e9de08dccc33b5901ed2fe83f5ce73de5ebe6c
1,148
py
Python
gitcd/app/upgrade.py
pchr-srf/gitcd
8b4f08a8221c6fd09ba83e055c1dddabcde80b01
[ "Apache-2.0" ]
null
null
null
gitcd/app/upgrade.py
pchr-srf/gitcd
8b4f08a8221c6fd09ba83e055c1dddabcde80b01
[ "Apache-2.0" ]
1
2019-03-11T19:44:33.000Z
2019-03-11T19:44:33.000Z
gitcd/app/upgrade.py
pchr-srf/gitcd
8b4f08a8221c6fd09ba83e055c1dddabcde80b01
[ "Apache-2.0" ]
null
null
null
from packaging import version import pip import pkg_resources import requests from gitcd.app import App from gitcd.exceptions import GitcdPyPiApiException class Upgrade(App): localVersion = 0 pypiVersion = 0 packageUrl = 'https://pypi.org/pypi/gitcd/json' def getLocalVersion(self) -> str: ...
24.425532
78
0.626307
122
1,148
5.860656
0.483607
0.067133
0.047552
0
0
0
0
0
0
0
0
0.006031
0.277875
1,148
46
79
24.956522
0.856454
0
0
0.0625
0
0
0.139373
0
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
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
10edf6e76c6f784c05932f8de804bdd8a5b77354
7,184
py
Python
lr/multiclass_logistic_regression.py
mohitRohatgi/python-online-machine-learning-library
44e5f4a4400b4abf7b860f246258f698a3323ee3
[ "BSD-3-Clause" ]
32
2015-04-12T06:48:57.000Z
2022-01-22T13:47:51.000Z
lr/multiclass_logistic_regression.py
mohitRohatgi/python-online-machine-learning-library
44e5f4a4400b4abf7b860f246258f698a3323ee3
[ "BSD-3-Clause" ]
null
null
null
lr/multiclass_logistic_regression.py
mohitRohatgi/python-online-machine-learning-library
44e5f4a4400b4abf7b860f246258f698a3323ee3
[ "BSD-3-Clause" ]
10
2015-11-07T23:22:38.000Z
2019-05-18T13:49:06.000Z
import numpy as np import scipy as sp import logging as logger import time import pylab as pl from collections import defaultdict from sklearn.metrics import confusion_matrix ################### ## should be refactored ## ################### class MultiClassLogisticRegression(object): """ Mulit Class Logist...
29.08502
106
0.543847
837
7,184
4.543608
0.228196
0.06863
0.02945
0.018932
0.144886
0.08467
0.046805
0.017355
0.017355
0.017355
0
0.01207
0.319599
7,184
246
107
29.203252
0.765957
0.077116
0
0.066038
0
0
0.120905
0.012309
0
0
0
0.004065
0
0
null
null
0
0.066038
null
null
0.028302
0
0
0
null
0
0
0
0
0
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
10effa5f401cb7f64e3624c27f0d6b7c6cc65e3d
1,065
py
Python
src/paper/management/commands/remove_papers_without_doi.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/paper/management/commands/remove_papers_without_doi.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/paper/management/commands/remove_papers_without_doi.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
''' Remove papers without doi uploaded in the past 3 days ''' from django.core.management.base import BaseCommand from datetime import timedelta from django.utils import timezone from paper.models import Paper from paper.tasks import censored_paper_cleanup from researchhub_document.utils import reset_unified_document_...
36.724138
124
0.700469
144
1,065
4.986111
0.472222
0.029248
0.05571
0.069638
0
0
0
0
0
0
0
0.010601
0.202817
1,065
28
125
38.035714
0.8351
0.049765
0
0
0
0
0.034861
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.428571
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
10f21ce21f5674974e9d96d568b66d92ee53cc13
610
py
Python
server/products/migrations/0001_initial.py
jinsub1999/django_react_bootstrap
7b77a93f046da25445ff7088709c5aaac3bda412
[ "MIT" ]
1
2021-08-28T12:09:50.000Z
2021-08-28T12:09:50.000Z
server/products/migrations/0001_initial.py
jinsub1999/django_react_bootstrap
7b77a93f046da25445ff7088709c5aaac3bda412
[ "MIT" ]
null
null
null
server/products/migrations/0001_initial.py
jinsub1999/django_react_bootstrap
7b77a93f046da25445ff7088709c5aaac3bda412
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-18 12:38 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.BigAutoFie...
24.4
79
0.540984
55
610
5.945455
0.8
0
0
0
0
0
0
0
0
0
0
0.041463
0.327869
610
24
80
25.416667
0.756098
0.07377
0
0
1
0
0.069272
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
10fabc6275a960d697b652e96a0acde10e3e861e
2,807
py
Python
post/api/views.py
agiledesign2/drf-blog-post
a0dc7457e9e85e6b1a1f3aa81036b81f7054734f
[ "MIT" ]
null
null
null
post/api/views.py
agiledesign2/drf-blog-post
a0dc7457e9e85e6b1a1f3aa81036b81f7054734f
[ "MIT" ]
null
null
null
post/api/views.py
agiledesign2/drf-blog-post
a0dc7457e9e85e6b1a1f3aa81036b81f7054734f
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.shortcuts import get_object_or_404 from rest_framework import generics, permissions from rest_framework import viewsets from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework.reverse import reverse #from res...
30.51087
89
0.690773
285
2,807
6.663158
0.350877
0.025276
0.053712
0.026856
0.244339
0.244339
0.184308
0.184308
0.105319
0.062138
0
0.001827
0.220164
2,807
92
90
30.51087
0.865692
0.05415
0
0.362319
0
0
0.031826
0
0
0
0
0
0
1
0.086957
false
0
0.173913
0
0.623188
0
0
0
0
null
0
0
0
0
0
0
0
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
10fe449b4e183e5def005b2d2e5ecf5b9924dbc3
290
py
Python
Practice/Beginner/Add Two Numbers/PYTHON/add-two-numbers.py
avantikat/codechef-1
11e678a05ad339e799bb876606297dff979e9e03
[ "MIT" ]
2
2021-01-19T05:48:45.000Z
2021-01-20T11:58:39.000Z
Practice/Beginner/Add Two Numbers/PYTHON/add-two-numbers.py
avantikat/codechef-1
11e678a05ad339e799bb876606297dff979e9e03
[ "MIT" ]
null
null
null
Practice/Beginner/Add Two Numbers/PYTHON/add-two-numbers.py
avantikat/codechef-1
11e678a05ad339e799bb876606297dff979e9e03
[ "MIT" ]
3
2021-01-21T06:58:27.000Z
2021-02-09T13:20:29.000Z
""" AUTHOR - Atharva Deshpande GITHUB PROFILE - https://github.com/AtharvaD11 QUESTION LINK - https://www.codechef.com/problems/FLOW001 """ **************************************** t = int(input()) for _ in range(t): a,b = map(int,input().split()) print(a+b)
20.714286
63
0.52069
33
290
4.545455
0.757576
0.106667
0
0
0
0
0
0
0
0
0
0.021459
0.196552
290
13
64
22.307692
0.622318
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
80047b26d2f4d07e734af2f5723a9c6d42604250
1,459
py
Python
plugins/mongo.py
fangli/collector-fluentd
d96b7a9049a3e4bd0a73543f5cdab8b6b6d0b0f1
[ "Apache-2.0" ]
6
2015-01-27T04:31:45.000Z
2020-05-11T08:58:54.000Z
plugins/mongo.py
fangli/collector-fluentd
d96b7a9049a3e4bd0a73543f5cdab8b6b6d0b0f1
[ "Apache-2.0" ]
null
null
null
plugins/mongo.py
fangli/collector-fluentd
d96b7a9049a3e4bd0a73543f5cdab8b6b6d0b0f1
[ "Apache-2.0" ]
2
2017-03-02T09:02:15.000Z
2020-05-11T08:59:21.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- # *********************************************************# # @@ScriptName: mongo.py # @@Author: Fang.Li<surivlee@gmail.com> # @@Create Date: 2013-07-10 10:16:52 # @@Modify Date: 2014-03-13 18:44:40 # @@Function: # *********************************************************#...
22.796875
95
0.54695
177
1,459
4.440678
0.548023
0.025445
0.012723
0.017812
0.073791
0.050891
0.050891
0
0
0
0
0.036681
0.215216
1,459
63
96
23.15873
0.649782
0.244003
0
0.058824
0
0
0.202938
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.147059
0
0
0
null
0
0
0
0
0
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
80086718e3f2131e33e33877c5fd988f2e6b5182
1,115
py
Python
ServoControlColorVersion1.py
mattsroufe/daddy_robot
256d919d1a8cc74749e7e34db0da6fc8b6828c5e
[ "MIT" ]
null
null
null
ServoControlColorVersion1.py
mattsroufe/daddy_robot
256d919d1a8cc74749e7e34db0da6fc8b6828c5e
[ "MIT" ]
null
null
null
ServoControlColorVersion1.py
mattsroufe/daddy_robot
256d919d1a8cc74749e7e34db0da6fc8b6828c5e
[ "MIT" ]
null
null
null
#-*- coding:UTF-8 -*- #This code uses the PWM library that comes with the system. import RPi.GPIO as GPIO import time #Definition of servo pin ServoPinJ1 = 23 ServoPinJ2 = 11 ServoPinJ3 = 9 ServoPin = ServoPinJ2 #Set the GPIO port to BCM encoding mode. GPIO.setmode(GPIO.BCM) #Ignore warning information GPIO.setwarn...
23.723404
73
0.721973
171
1,115
4.643275
0.538012
0.070529
0.086902
0.09068
0.170025
0.170025
0.13602
0.13602
0.13602
0.13602
0
0.055066
0.18565
1,115
46
74
24.23913
0.819383
0.352466
0
0.137931
0
0
0
0
0
0
0
0
0
0
null
null
0.034483
0.068966
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
800a763e9583dcd4cf977d7476e15936b59c5599
1,329
py
Python
REL_SERVIDORESanoano.py
tiagotouso/TALENTOS_HUMANOS
c391f7d7a331d5f8b186b27af6a9b61448620cc6
[ "MIT" ]
null
null
null
REL_SERVIDORESanoano.py
tiagotouso/TALENTOS_HUMANOS
c391f7d7a331d5f8b186b27af6a9b61448620cc6
[ "MIT" ]
null
null
null
REL_SERVIDORESanoano.py
tiagotouso/TALENTOS_HUMANOS
c391f7d7a331d5f8b186b27af6a9b61448620cc6
[ "MIT" ]
null
null
null
''' GERADOR DE RELATÓRIO DOS SERVIDORES (SERVIDORES ANO A ANO) ''' from SQL import sqlpandas from MENSAGEM import mensagemInformacao, mensagemErro from AUXILIAR import salvarPandas def servidoresanoano(): ''' FUNÇÃO PARA CRIAR A TABELA ANO A ANO, COM ENTRADA E SAÍDA DOS SERVIDORES ENTRA NULL S...
27.6875
87
0.667419
196
1,329
4.346939
0.438776
0.032864
0.023474
0.042254
0.13615
0.105634
0.105634
0.105634
0
0
0
0.000983
0.234763
1,329
47
88
28.276596
0.836775
0.140707
0
0
0
0
0.669691
0.161525
0
0
0
0
0
1
0.032258
false
0
0.096774
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
800a885562acc236408baea63bae0f6516351159
4,781
py
Python
back-end/www/controllers/answer_controller.py
Disfactory/SpotDiff
18a4bf88d9bd82cc58ac96658ad1f7d067f10a5c
[ "MIT" ]
2
2021-11-10T13:30:01.000Z
2021-11-17T13:15:19.000Z
back-end/www/controllers/answer_controller.py
Disfactory/SpotDiff
18a4bf88d9bd82cc58ac96658ad1f7d067f10a5c
[ "MIT" ]
26
2021-10-06T12:01:33.000Z
2022-03-16T11:26:17.000Z
back-end/www/controllers/answer_controller.py
Disfactory/SpotDiff
18a4bf88d9bd82cc58ac96658ad1f7d067f10a5c
[ "MIT" ]
1
2022-01-16T10:53:42.000Z
2022-01-16T10:53:42.000Z
"""The controller for https://[PATH]/answer/""" from flask import Blueprint from flask import request from flask import jsonify from util.util import InvalidUsage from util.util import handle_invalid_usage from util.util import decode_user_token from config.config import config from models.model_operations.answer_oper...
38.556452
116
0.605522
595
4,781
4.678992
0.310924
0.031609
0.023707
0.031609
0.418822
0.405172
0.346264
0.318247
0.290948
0.262213
0
0.051391
0.308095
4,781
123
117
38.869919
0.790206
0.619954
0
0.114286
0
0
0.091797
0
0
0
0
0
0
1
0.028571
false
0.114286
0.228571
0
0.4
0.057143
0
0
0
null
0
0
0
0
0
0
0
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
800aa2452d3e221b0d50a53fd8f5e09a678a7cd2
6,619
py
Python
ooobuild/dyn/form/runtime/form_feature.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/dyn/form/runtime/form_feature.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/dyn/form/runtime/form_feature.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
43.834437
273
0.673062
817
6,619
5.397797
0.353733
0.034921
0.020408
0.019048
0.186621
0.147392
0.121088
0.092971
0.092971
0.092971
0
0.005536
0.263182
6,619
150
274
44.126667
0.898708
0.129627
0
0
0
0
0.069618
0.026644
0
0
0
0
0
1
0.023256
false
0
0.116279
0
0.604651
0
0
0
0
null
0
0
0
0
0
0
0
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
800ae6b146f2790ceec552359bb4ab5a7f78bb3e
4,870
py
Python
acq4/analysis/modules/Photostim/MapAnalysisTemplate_pyqt5.py
aleonlein/acq4
4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555
[ "MIT" ]
1
2020-06-04T17:04:53.000Z
2020-06-04T17:04:53.000Z
acq4/analysis/modules/Photostim/MapAnalysisTemplate_pyqt5.py
aleonlein/acq4
4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555
[ "MIT" ]
24
2016-09-27T17:25:24.000Z
2017-03-02T21:00:11.000Z
acq4/analysis/modules/Photostim/MapAnalysisTemplate_pyqt5.py
sensapex/acq4
9561ba73caff42c609bd02270527858433862ad8
[ "MIT" ]
4
2016-10-19T06:39:36.000Z
2019-09-30T21:06:45.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'acq4/analysis/modules/Photostim/MapAnalysisTemplate.ui' # # Created by: PyQt5 UI code generator 5.8.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Form(object): def setupU...
53.516484
109
0.707187
545
4,870
6.205505
0.185321
0.088705
0.021289
0.016558
0.292431
0.063868
0.022472
0.022472
0
0
0
0.031414
0.176386
4,870
90
110
54.111111
0.811768
0.045996
0
0
1
0
0.104117
0
0
0
0
0
0
1
0.025641
false
0
0.025641
0
0.064103
0
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
800dfae08a5eb385e1fcd09b76bc933bf987112b
819
py
Python
brewery/migrations/0020_auto_20170813_1543.py
willjschmitt/joulia-webserver
712decb749c2d1bda71af49ecab245378bf30078
[ "FTL" ]
null
null
null
brewery/migrations/0020_auto_20170813_1543.py
willjschmitt/joulia-webserver
712decb749c2d1bda71af49ecab245378bf30078
[ "FTL" ]
95
2016-08-04T01:59:37.000Z
2021-06-10T18:41:46.000Z
brewery/migrations/0020_auto_20170813_1543.py
willjschmitt/joulia-webserver
712decb749c2d1bda71af49ecab245378bf30078
[ "FTL" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-08-13 22:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('brewery', '0019_auto_20170813_1114'), ] operations = [ migrations.AddField(...
31.5
142
0.579976
85
819
5.447059
0.6
0.077754
0.099352
0.116631
0.315335
0.315335
0.315335
0.315335
0.315335
0.315335
0
0.072115
0.238095
819
25
143
32.76
0.669872
0.083028
0
0.333333
1
0
0.201872
0.096257
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
801502bf5a1e3dc0294f065b8f5473f6f634c140
199
py
Python
code_dl/models/config.py
schellmi42/RADU
60b86743bb1e6896d1ae7729a19bb263256fd28f
[ "MIT" ]
null
null
null
code_dl/models/config.py
schellmi42/RADU
60b86743bb1e6896d1ae7729a19bb263256fd28f
[ "MIT" ]
null
null
null
code_dl/models/config.py
schellmi42/RADU
60b86743bb1e6896d1ae7729a19bb263256fd28f
[ "MIT" ]
null
null
null
""" Parameters for tf.function decorators that need be defined before importing the model file""" # used by RADU_NN*.py, defaults to four amplitude images INPUT_FEATURES_SHAPE = [None, 512, 512, 4]
39.8
97
0.763819
31
199
4.806452
0.967742
0
0
0
0
0
0
0
0
0
0
0.04142
0.150754
199
4
98
49.75
0.840237
0.733668
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
80166d5eda6fc95fe824f55a3e604f9be9279444
1,052
py
Python
djurls/shorty/models.py
solen0id/djurls
f0b1d82ca2ef4a6ff3ce326b5b3c1a53d8a0994f
[ "MIT" ]
null
null
null
djurls/shorty/models.py
solen0id/djurls
f0b1d82ca2ef4a6ff3ce326b5b3c1a53d8a0994f
[ "MIT" ]
null
null
null
djurls/shorty/models.py
solen0id/djurls
f0b1d82ca2ef4a6ff3ce326b5b3c1a53d8a0994f
[ "MIT" ]
null
null
null
from django.conf import settings from django.contrib.auth.models import AbstractUser from django.db import models from django.db.models import F from django.utils import timezone from djurls.shorty.utils import encode_custom_base class User(AbstractUser): pass class ShortURL(models.Model): url = models.URL...
28.432432
81
0.703422
136
1,052
5.205882
0.433824
0.070621
0.033898
0.048023
0
0
0
0
0
0
0
0.005917
0.196768
1,052
36
82
29.222222
0.831953
0
0
0
0
0
0.109316
0.094106
0
0
0
0
0
1
0.107143
false
0.035714
0.214286
0.071429
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
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
801df03bf022b9848c0b51aa69d855066affc430
374
py
Python
setup.py
shankhabasu/python-ach
b5fe93d6af033b95a42f6fbc5a8445f3a391d207
[ "MIT" ]
4
2019-07-22T21:14:48.000Z
2022-02-03T16:21:34.000Z
setup.py
shankhabasu/python-ach
b5fe93d6af033b95a42f6fbc5a8445f3a391d207
[ "MIT" ]
2
2020-08-07T19:36:42.000Z
2021-12-05T02:45:55.000Z
setup.py
shankhabasu/python-ach
b5fe93d6af033b95a42f6fbc5a8445f3a391d207
[ "MIT" ]
9
2018-12-05T21:18:05.000Z
2021-11-11T00:28:59.000Z
from setuptools import setup setup( name="carta-ach", author="Carta, Inc.", author_email="james.uejio@carta.com", version="0.4.7", packages=[ "ach", ], url="https://github.com/carta/python-ach", license="MIT License", description="Library to create and parse ACH files (NACHA...
23.375
64
0.628342
48
374
4.854167
0.770833
0
0
0
0
0
0
0
0
0
0
0.010033
0.200535
374
15
65
24.933333
0.769231
0
0
0
0
0
0.40107
0.05615
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
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
8022027af99a4781cf430da8505906bc34795c7c
2,753
py
Python
torrent.py
olafurjohannsson/torrent-downloader
f5fbdeac0705f4eb7624d4d5b8e97f56a2a77f8d
[ "MIT" ]
2
2016-05-14T21:14:44.000Z
2016-05-21T23:25:34.000Z
torrent.py
olafurjohannsson/torrent-downloader
f5fbdeac0705f4eb7624d4d5b8e97f56a2a77f8d
[ "MIT" ]
null
null
null
torrent.py
olafurjohannsson/torrent-downloader
f5fbdeac0705f4eb7624d4d5b8e97f56a2a77f8d
[ "MIT" ]
null
null
null
import urllib, requests, os from bs4 import BeautifulSoup ''' The base class for all torrent downloaders to derive from. It shares an interface that is used throughout all download instances. ''' # TODO: abstract class TorrentDownloader(object): ''' # ''' def __init__(self): base ...
28.091837
109
0.580094
323
2,753
4.882353
0.436533
0.050729
0.013951
0.019023
0.135701
0.135701
0.135701
0.135701
0.135701
0.084971
0
0.013602
0.332365
2,753
97
110
28.381443
0.844396
0.026517
0
0.368421
0
0
0.089109
0
0
0
0
0.020619
0
1
0.131579
false
0
0.052632
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
1
0
0
0
0
0
0
0
0
0
0
1
8036ecb8a390003b2a9d2ec7ea6035d676b21c11
3,575
py
Python
Models/migrations/0028_stockin_stockout.py
whutinfo/web_develop
0be75ed314b6524b55f83aedc85450f6c17d25c3
[ "Unlicense" ]
null
null
null
Models/migrations/0028_stockin_stockout.py
whutinfo/web_develop
0be75ed314b6524b55f83aedc85450f6c17d25c3
[ "Unlicense" ]
null
null
null
Models/migrations/0028_stockin_stockout.py
whutinfo/web_develop
0be75ed314b6524b55f83aedc85450f6c17d25c3
[ "Unlicense" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-22 13:12 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('Models', '0027_auto_20190122_1311'), ] operations = [ migrations.CreateModel( ...
63.839286
191
0.638881
401
3,575
5.521197
0.221945
0.057814
0.069557
0.109304
0.636856
0.636856
0.605239
0.605239
0.558266
0.558266
0
0.014836
0.208112
3,575
55
192
65
0.76722
0.012587
0
0.285714
1
0
0.179989
0.006519
0
0
0
0
0
1
0
false
0
0.061224
0
0.122449
0
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
80389d4d2c715983f9ea586473c6d57cd2aa07bf
262
py
Python
my_first_website/api/urls.py
MenKNas/react-tailwind-django-boilerplate
379c8624629bae49552cf58cb4bb30a4f27ea7e1
[ "MIT" ]
2
2021-06-01T12:21:13.000Z
2021-08-06T18:21:41.000Z
my_first_website/api/urls.py
MenKNas/react-tailwind-django-boilerplate
379c8624629bae49552cf58cb4bb30a4f27ea7e1
[ "MIT" ]
null
null
null
my_first_website/api/urls.py
MenKNas/react-tailwind-django-boilerplate
379c8624629bae49552cf58cb4bb30a4f27ea7e1
[ "MIT" ]
null
null
null
from django.urls import include, path from .views import BookAPIView from todos.views import ListTodo, DetailTodo urlpatterns = [ path('todos/', ListTodo.as_view()), path('todos/<int:pk>/', DetailTodo.as_view()), path('', BookAPIView.as_view()), ]
23.818182
50
0.698473
33
262
5.454545
0.484848
0.1
0.111111
0
0
0
0
0
0
0
0
0
0.145038
262
10
51
26.2
0.803571
0
0
0
0
0
0.080153
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
803e92586ce32d316fc4a15e201d463eb6cb1150
2,932
py
Python
apps/accounts/v2/urls.py
dtisza1/bluebutton-web-server
6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb
[ "Apache-2.0" ]
25
2017-12-10T00:48:31.000Z
2022-03-25T01:29:13.000Z
apps/accounts/v2/urls.py
dtisza1/bluebutton-web-server
6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb
[ "Apache-2.0" ]
298
2017-12-05T05:53:32.000Z
2022-03-21T19:29:03.000Z
apps/accounts/v2/urls.py
dtisza1/bluebutton-web-server
6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb
[ "Apache-2.0" ]
31
2017-12-04T16:01:12.000Z
2021-09-26T22:34:55.000Z
from django.conf import settings from django.conf.urls import url from django.contrib.auth.views import (LogoutView, PasswordResetView, PasswordResetDoneView, PasswordResetConfirmView, PasswordResetCompleteView) from waffle.decorators import waffle_switch from apps.accounts.views....
45.8125
112
0.648022
321
2,932
5.641745
0.214953
0.026505
0.036444
0.059636
0.3545
0.293208
0.293208
0.268912
0.187742
0.133628
0
0.011389
0.221351
2,932
63
113
46.539683
0.781866
0
0
0.125
0
0.020833
0.318213
0.228172
0
0
0
0
0
1
0
false
0.604167
0.145833
0
0.145833
0
0
0
0
null
0
0
0
0
0
0
0
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
80405c14c20e9eef55b58f8e9ab8a594dc768fd3
4,942
py
Python
src/products/migrations/0001_initial.py
LeeSinLiang/eC2
a7cd4333d479c8f5695f52c382fbe38c83975cde
[ "MIT" ]
1
2019-06-09T12:09:21.000Z
2019-06-09T12:09:21.000Z
src/products/migrations/0001_initial.py
LeeSinLiang/eC2
a7cd4333d479c8f5695f52c382fbe38c83975cde
[ "MIT" ]
7
2019-12-19T05:29:16.000Z
2022-03-11T23:49:05.000Z
src/products/migrations/0001_initial.py
LeeSinLiang/eC2
a7cd4333d479c8f5695f52c382fbe38c83975cde
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2020-08-15 11:35 from django.db import migrations, models import django.db.models.deletion import products.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Brand', ...
52.574468
173
0.593687
496
4,942
5.77621
0.199597
0.040838
0.034206
0.053752
0.624433
0.580454
0.536475
0.467016
0.434904
0.434904
0
0.013406
0.260421
4,942
93
174
53.139785
0.770451
0.009106
0
0.488372
1
0
0.108682
0.00429
0
0
0
0
0
1
0
false
0
0.034884
0
0.081395
0
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
8041896f4e1bf96bb6dba82a4b553858647f0b8a
405
py
Python
AboutModel/migrations/0008_auto_20180926_1747.py
jinjinanan/HelloDjango1
d1174b72341946f0575df37236d85983facc1bc6
[ "MIT" ]
null
null
null
AboutModel/migrations/0008_auto_20180926_1747.py
jinjinanan/HelloDjango1
d1174b72341946f0575df37236d85983facc1bc6
[ "MIT" ]
null
null
null
AboutModel/migrations/0008_auto_20180926_1747.py
jinjinanan/HelloDjango1
d1174b72341946f0575df37236d85983facc1bc6
[ "MIT" ]
null
null
null
# Generated by Django 2.1.1 on 2018-09-26 09:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('AboutModel', '0007_auto_20180926_1739'), ] operations = [ migrations.AlterField( model_name='person', name='photo', ...
21.315789
67
0.597531
43
405
5.511628
0.813953
0
0
0
0
0
0
0
0
0
0
0.105802
0.276543
405
18
68
22.5
0.703072
0.111111
0
0
1
0
0.139665
0.064246
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
80458c2b1818958384a78df8e1f9dd42ff20f3b8
2,852
py
Python
micro_net.py
AndreaLombardo90/SDN-Controller
06719355148173e0802e6da9aec44255f873c8f7
[ "Apache-2.0" ]
1
2016-08-23T06:24:27.000Z
2016-08-23T06:24:27.000Z
micro_net.py
AndreaLombardo90/SDN-Controller
06719355148173e0802e6da9aec44255f873c8f7
[ "Apache-2.0" ]
null
null
null
micro_net.py
AndreaLombardo90/SDN-Controller
06719355148173e0802e6da9aec44255f873c8f7
[ "Apache-2.0" ]
null
null
null
import inspect import os import atexit from mininet.net import Mininet from mininet.util import dumpNodeConnections from mininet.log import setLogLevel, info from mininet.cli import CLI from mininet.topo import Topo from mininet.link import TCLink from mininet.topo import SingleSwitchTopo from mininet.node import Remot...
28.237624
141
0.601332
370
2,852
4.510811
0.397297
0.070102
0.116836
0.0713
0.179149
0.137208
0.137208
0.137208
0.137208
0.137208
0
0.041566
0.274544
2,852
100
142
28.52
0.765104
0.110449
0
0.081967
0
0
0.11767
0
0
0
0
0
0
0
null
null
0
0.180328
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
805362796ae0d5e64224e1c9fc1711cc58c16f5e
6,789
py
Python
mindinsight/debugger/stream_handler/metadata_handler.py
mindspore-ai/mindinsight
8c57fdd62eb7f8653662be2208633386ac82e8d7
[ "Apache-2.0" ]
216
2020-03-28T02:11:56.000Z
2022-03-31T06:20:09.000Z
mindinsight/debugger/stream_handler/metadata_handler.py
mindspore-ai/mindinsight
8c57fdd62eb7f8653662be2208633386ac82e8d7
[ "Apache-2.0" ]
13
2020-03-31T03:00:12.000Z
2021-01-03T13:01:06.000Z
mindinsight/debugger/stream_handler/metadata_handler.py
mindspore-ai/mindinsight
8c57fdd62eb7f8653662be2208633386ac82e8d7
[ "Apache-2.0" ]
21
2020-03-28T02:41:06.000Z
2021-11-24T12:20:25.000Z
# Copyright 2020-2021 Huawei Technologies Co., Ltd # # 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 agre...
31.285714
109
0.610841
793
6,789
5.022699
0.229508
0.055235
0.065277
0.04695
0.264123
0.151896
0.089129
0.05649
0.05649
0.036907
0
0.003306
0.287082
6,789
216
110
31.430556
0.819628
0.312859
0
0.100917
0
0
0.043132
0.005626
0
0
0
0
0
1
0.211009
false
0
0.027523
0
0.357798
0
0
0
0
null
0
0
0
0
0
0
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
337e7b4b376f88fabf11ae1aec63fe78cb34a52e
2,141
py
Python
aewl/types.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
null
null
null
aewl/types.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
2
2021-04-22T19:00:11.000Z
2021-05-02T19:06:26.000Z
aewl/types.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
null
null
null
from typing import Union from collections import namedtuple from dataclasses import dataclass # @dataclass class Ref: name: str def __init__(self, name): self.name = name # @dataclass class PropertyRef(Ref): pass # @dataclass class MacroRef(Ref): pass class InputOperation: def __init__...
23.271739
61
0.568426
235
2,141
4.923404
0.323404
0.054451
0.028522
0.054451
0.090752
0.090752
0.06223
0
0
0
0
0.004121
0.319944
2,141
92
62
23.271739
0.790522
0.014946
0
0.092308
0
0
0.03943
0
0
0
0
0
0
1
0.153846
false
0.076923
0.046154
0.030769
0.430769
0
0
0
0
null
0
0
0
0
0
0
0
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
338c9ecc1161853965eecd2a21946515cb01f0a3
3,592
py
Python
Currency.py
Marfle-Bark/marfle-bucks
05f140a35bdd3bb4c98109243531d3428a775c8d
[ "MIT" ]
1
2015-03-08T02:47:54.000Z
2015-03-08T02:47:54.000Z
Currency.py
Marfle-Bark/marfle-bucks
05f140a35bdd3bb4c98109243531d3428a775c8d
[ "MIT" ]
null
null
null
Currency.py
Marfle-Bark/marfle-bucks
05f140a35bdd3bb4c98109243531d3428a775c8d
[ "MIT" ]
null
null
null
__author__ = 'Ethan Busbee' class Currency(object): def __init__(self, amount=None): self._uDollars = 0 # Number of micro-USD (for precision) if type(amount) is type(self): self._uDollars = amount.getExactAmount() elif amount is not None: self._uDollars = int(round(a...
40.359551
115
0.632795
475
3,592
4.64
0.282105
0.029038
0.057169
0.058076
0.439655
0.422414
0.415154
0.415154
0.383394
0.32804
0
0.053161
0.224944
3,592
89
116
40.359551
0.738506
0.065702
0
0.092308
0
0.015385
0.234855
0
0
0
0
0
0
0
null
null
0
0
null
null
0.338462
0
0
0
null
0
0
0
0
0
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
338e93ae8911ecf3ca92ec435d2a4a7d6fe0587e
885
py
Python
Trie/trie.py
hwguo/algorithm_python_implementation
0bd02970fde47946e82558fcca2960dddf364e2f
[ "Apache-2.0" ]
null
null
null
Trie/trie.py
hwguo/algorithm_python_implementation
0bd02970fde47946e82558fcca2960dddf364e2f
[ "Apache-2.0" ]
null
null
null
Trie/trie.py
hwguo/algorithm_python_implementation
0bd02970fde47946e82558fcca2960dddf364e2f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # # Author : henry # E-mail : hwguo1988@gmail.com # Date : 17/11/06 23:32:17 # Desc : # Copyright (c) : http://blog.csdn.net/handsomekang/article/details/41446319 # class Trie: """ Trie tree python implementation """ def __init__(self...
18.829787
78
0.512994
113
885
3.911504
0.522124
0.054299
0.054299
0.072398
0.135747
0.135747
0.135747
0.135747
0.135747
0
0
0.043103
0.344633
885
46
79
19.23913
0.718966
0.247458
0
0.16
0
0
0.034258
0
0
0
0
0
0
0
null
null
0
0
null
null
0.08
0
0
0
null
0
0
0
0
0
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
339b11b6a55f13407303206529097dee9a559f08
2,096
py
Python
mnemonic/__main__.py
JL2718/python-mnemonic
42e1177029f2a95eb4c5412b75810f0b9ff61c2a
[ "MIT" ]
null
null
null
mnemonic/__main__.py
JL2718/python-mnemonic
42e1177029f2a95eb4c5412b75810f0b9ff61c2a
[ "MIT" ]
null
null
null
mnemonic/__main__.py
JL2718/python-mnemonic
42e1177029f2a95eb4c5412b75810f0b9ff61c2a
[ "MIT" ]
null
null
null
from mnemonic import Mnemonic import sys,os,argparse def main() -> None: parser = argparse.ArgumentParser(description='Encode/Decode mnemonics') parser.add_argument('-i --input',dest='typein',choices=['generate','hex','entropy','mnemonic','stamp'],default='generate',help="generate mnemonic or input type at std...
44.595745
174
0.66126
274
2,096
4.956204
0.321168
0.047128
0.07511
0.046392
0.04271
0.04271
0
0
0
0
0
0.012
0.165076
2,096
46
175
45.565217
0.764
0.01145
0
0
0
0
0.176897
0
0
0
0
0
0
1
0.025
false
0.075
0.05
0
0.075
0.15
0
0
0
null
0
0
0
0
0
0
0
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
339b1c0f5169564bcd12dae87ec8f35cc0d025ab
587
py
Python
src/gan/main.py
paulmora-statworx/studious-enigma
a98f5a06b371e1c738a317f4a343677d18500209
[ "MIT" ]
1
2021-07-06T09:42:24.000Z
2021-07-06T09:42:24.000Z
src/gan/main.py
paulmora-statworx/studious-enigma
a98f5a06b371e1c738a317f4a343677d18500209
[ "MIT" ]
null
null
null
src/gan/main.py
paulmora-statworx/studious-enigma
a98f5a06b371e1c738a317f4a343677d18500209
[ "MIT" ]
null
null
null
# %% Packages from utils.args import get_args from utils.config import process_config from generator import generator_model from discriminator import discriminator_model from trainer import GanTrainer # %% Load images def main(): args = get_args() config = process_config(args.config) print("Calling Ge...
20.964286
48
0.744463
67
587
6.283582
0.343284
0.099762
0.085511
0
0
0
0
0
0
0
0
0
0.175468
587
27
49
21.740741
0.869835
0.044293
0
0
0
0
0.136201
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0.1875
0
0
0
null
0
0
0
0
0
0
0
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
339df8b20e2cd53a4b9858175b93491087bed57e
895
py
Python
tests/integration_tests/contours_tests/test_initialization.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
7
2020-05-07T08:13:44.000Z
2021-12-17T07:33:51.000Z
tests/integration_tests/contours_tests/test_initialization.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
17
2019-11-29T23:17:26.000Z
2020-12-20T15:47:17.000Z
tests/integration_tests/contours_tests/test_initialization.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
1
2020-12-17T22:44:21.000Z
2020-12-17T22:44:21.000Z
from typing import (List, Tuple) from hypothesis import given from tests.bind_tests.hints import (BoundContour, BoundPoint) from tests.integration_tests.utils import are_bound_ported_contours_equal from tests.port_tests.hints import (PortedContour, ...
35.8
77
0.681564
98
895
5.938776
0.418367
0.075601
0.054983
0.075601
0.092784
0
0
0
0
0
0
0
0.250279
895
24
78
37.291667
0.867362
0
0
0
0
0
0
0
0
0
0
0
0.055556
1
0.055556
false
0
0.333333
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1