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
3dd7c9cbbf501cfd94d5828dba8d7f87a11e2644
716
gyp
Python
binding.gyp
johnbotris/electron-dragdrop-win
e7b83ff72ad1f63efc754b3e04d7f9a12fc29fe4
[ "MIT" ]
null
null
null
binding.gyp
johnbotris/electron-dragdrop-win
e7b83ff72ad1f63efc754b3e04d7f9a12fc29fe4
[ "MIT" ]
null
null
null
binding.gyp
johnbotris/electron-dragdrop-win
e7b83ff72ad1f63efc754b3e04d7f9a12fc29fe4
[ "MIT" ]
null
null
null
{ 'targets': [ { 'target_name': 'electron-dragdrop-win', 'include_dirs': [ '<!(node -e "require(\'nan\')")', ], 'defines': [ 'UNICODE', '_UNICODE'], 'sources': [ ], 'conditions': [ ['OS=="win"', { 'sources': [ "src/addon.cpp", ...
21.69697
47
0.385475
57
716
4.789474
0.526316
0.153846
0.164835
0.10989
0.14652
0
0
0
0
0
0
0.00237
0.410615
716
32
48
22.375
0.64455
0
0
0.21875
0
0
0.446927
0.167598
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3dd8da7c4467882a89e8a4984f2ebd5d93f5acba
1,667
py
Python
util/png_to_jpeg.py
Jim-Lin/dark-classifier
906869a50d6a60061d0c96b98b507beadb924370
[ "MIT" ]
2
2017-05-19T15:31:13.000Z
2017-10-27T03:43:54.000Z
util/png_to_jpeg.py
Jim-Lin/dark-classifier
906869a50d6a60061d0c96b98b507beadb924370
[ "MIT" ]
null
null
null
util/png_to_jpeg.py
Jim-Lin/dark-classifier
906869a50d6a60061d0c96b98b507beadb924370
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import argparse import os from PIL import Image from multiprocessing import Pool from functools import partial def convert(dir_from_sub, dir_to_sub, file): file_from = os.path.join(dir_from_sub, file) file_from_size = os.path.getsize(file_from) if file_from_size =...
26.887097
92
0.60048
245
1,667
3.84898
0.297959
0.063627
0.050901
0.055143
0.240721
0.148462
0.148462
0.04878
0
0
0
0.005795
0.275345
1,667
61
93
27.327869
0.774834
0.022795
0
0.12
0
0
0.035034
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.02
0
0
0
null
0
0
0
0
0
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
3ddb7400331776fe8773733d476eb75be429ccf0
1,593
py
Python
deployment.py
Frizzles7/dynamic-risk-assessment-system
b402f7b468d8f2fdbb12dc556fb033bc7e4f208c
[ "Apache-2.0" ]
null
null
null
deployment.py
Frizzles7/dynamic-risk-assessment-system
b402f7b468d8f2fdbb12dc556fb033bc7e4f208c
[ "Apache-2.0" ]
null
null
null
deployment.py
Frizzles7/dynamic-risk-assessment-system
b402f7b468d8f2fdbb12dc556fb033bc7e4f208c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ Script to copy the model files to deployment directory Author: Megan McGee Date: October 7, 2021 """ from flask import Flask, session, jsonify, request import pandas as pd import numpy as np import pickle import os from sklearn import metrics from sklearn.model_selection import train_test_...
27
77
0.716259
225
1,593
4.897778
0.36
0.049002
0.08167
0.065336
0.268603
0.250454
0.203267
0.177858
0.145191
0.07441
0
0.004587
0.178908
1,593
58
78
27.465517
0.83792
0.254865
0
0.1
0
0
0.148052
0
0
0
0
0
0
1
0.033333
false
0
0.333333
0
0.366667
0
0
0
0
null
0
0
0
0
0
0
0
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
3ddc8d5894de99d796e9c862a9bcb8ab783f86e9
1,175
py
Python
m2cgen/interpreters/ruby/code_generator.py
Symmetry-International/m2cgen
3157e0cbd5bd1ee7e044a992223c60224e2b7709
[ "MIT" ]
2,161
2019-01-13T02:37:56.000Z
2022-03-30T13:24:09.000Z
m2cgen/interpreters/ruby/code_generator.py
Symmetry-International/m2cgen
3157e0cbd5bd1ee7e044a992223c60224e2b7709
[ "MIT" ]
380
2019-01-17T15:59:29.000Z
2022-03-31T20:59:20.000Z
m2cgen/interpreters/ruby/code_generator.py
Symmetry-International/m2cgen
3157e0cbd5bd1ee7e044a992223c60224e2b7709
[ "MIT" ]
201
2019-02-13T19:06:44.000Z
2022-03-12T09:45:46.000Z
from contextlib import contextmanager from m2cgen.interpreters.code_generator import CodeTemplate, ImperativeCodeGenerator class RubyCodeGenerator(ImperativeCodeGenerator): tpl_var_declaration = CodeTemplate("") tpl_num_value = CodeTemplate("{value}") tpl_infix_expression = CodeTemplate("({left}) {op} (...
34.558824
84
0.692766
136
1,175
5.683824
0.404412
0.031048
0.028461
0
0
0
0
0
0
0
0
0.001032
0.175319
1,175
33
85
35.606061
0.796698
0
0
0
0
0
0.160851
0.039149
0
0
0
0
0
1
0.16
false
0
0.08
0.08
0.72
0
0
0
0
null
0
0
0
0
0
0
0
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
3ddca89fe88809ef79096b0b292bfaae298ff7e0
7,741
py
Python
lib/services/loadbalancer/ncloud_loadbalancer/model/change_load_balancer_instance_configuration_request.py
KidongSohn/ncloud-sdk-py
1c62471a9bd320d77164ed3193a0ebb9f64229ff
[ "MIT" ]
null
null
null
lib/services/loadbalancer/ncloud_loadbalancer/model/change_load_balancer_instance_configuration_request.py
KidongSohn/ncloud-sdk-py
1c62471a9bd320d77164ed3193a0ebb9f64229ff
[ "MIT" ]
null
null
null
lib/services/loadbalancer/ncloud_loadbalancer/model/change_load_balancer_instance_configuration_request.py
KidongSohn/ncloud-sdk-py
1c62471a9bd320d77164ed3193a0ebb9f64229ff
[ "MIT" ]
null
null
null
# coding: utf-8 """ loadbalancer OpenAPI spec version: 2018-06-21T02:19:18Z Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from ncloud_loadbalancer.model.load_balancer_rule_parameter import LoadBalancerRuleParameter # noqa: F...
38.321782
171
0.695001
839
7,741
6.061979
0.15733
0.188753
0.066064
0.086512
0.638616
0.56567
0.502163
0.43079
0.386748
0.239481
0
0.017247
0.236016
7,741
201
172
38.512438
0.842746
0.355122
0
0.068182
1
0
0.130635
0.093606
0
0
0
0
0
1
0.159091
false
0
0.045455
0
0.352273
0.022727
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
3de5535de09d6a15d1e5fffbd6e36498351ecd4d
329
py
Python
hsx_01/meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/home_serializers.py
hsx9527/test01
06cd5886af8707dd3c18da7b96cb0192b5c7e861
[ "MIT" ]
null
null
null
hsx_01/meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/home_serializers.py
hsx9527/test01
06cd5886af8707dd3c18da7b96cb0192b5c7e861
[ "MIT" ]
7
2021-01-06T20:08:25.000Z
2022-02-27T09:54:45.000Z
hsx_01/meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/home_serializers.py
hsx9527/test01
06cd5886af8707dd3c18da7b96cb0192b5c7e861
[ "MIT" ]
null
null
null
from rest_framework import serializers from goods.models import GoodsVisitCount # 日商品分类调用 class GoodVistiModelSerializer(serializers.ModelSerializer): category = serializers.StringRelatedField() class Meta: model = GoodsVisitCount fields = [ 'category', # 外键关联字段 'count' ...
27.416667
60
0.680851
26
329
8.576923
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.255319
329
12
61
27.416667
0.910204
0.042553
0
0
0
0
0.041534
0
0
0
0
0
0
1
0
false
0
0.2
0
0.5
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
3deb389b55723d13b96ed3573443fc6b261180d6
181
py
Python
BasicExerciseAndKnowledge/w3cschool/n20_ball_bounces_back .py
Jonathan1214/learn-python
19d0299b30e953069f19402bff5c464c4d5580be
[ "MIT" ]
null
null
null
BasicExerciseAndKnowledge/w3cschool/n20_ball_bounces_back .py
Jonathan1214/learn-python
19d0299b30e953069f19402bff5c464c4d5580be
[ "MIT" ]
null
null
null
BasicExerciseAndKnowledge/w3cschool/n20_ball_bounces_back .py
Jonathan1214/learn-python
19d0299b30e953069f19402bff5c464c4d5580be
[ "MIT" ]
null
null
null
#coding:utf-8 # 题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在第10次落地时,共经过多少米?第10次反弹多高? h = 100 #反弹后的高度 sum_h = 100 for n in range(10): h /= 2.0 sum_h += h * 2 print sum_h, h
16.454545
65
0.651934
32
181
3.59375
0.6875
0.104348
0.086957
0
0
0
0
0
0
0
0
0.133803
0.21547
181
10
66
18.1
0.676056
0.453039
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3def3f5bbbd0482866d39fe1d10cfbfd628dfaf5
1,339
py
Python
config.py
yunuszend/Telegram_Vc_Bot
64a86f5e6c055ef77d70e919caa1664da61d39b5
[ "Apache-2.0" ]
null
null
null
config.py
yunuszend/Telegram_Vc_Bot
64a86f5e6c055ef77d70e919caa1664da61d39b5
[ "Apache-2.0" ]
null
null
null
config.py
yunuszend/Telegram_Vc_Bot
64a86f5e6c055ef77d70e919caa1664da61d39b5
[ "Apache-2.0" ]
1
2021-05-30T20:57:20.000Z
2021-05-30T20:57:20.000Z
# Calls Music 1 - Telegram bot for streaming audio in group calls # Copyright (C) 2021 Roj Serbest # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or ...
33.475
74
0.737117
201
1,339
4.800995
0.537313
0.037306
0.037306
0.059067
0.103627
0.103627
0.070466
0
0
0
0
0.007061
0.153846
1,339
39
75
34.333333
0.84466
0
0
0
0
0
0.211169
0
0
0
0
0
0
0
null
null
0
0.133333
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
3df3432dfe82ca121ae2333e8acc04ad633a327d
2,308
py
Python
makeGroupFasta.py
hzi-bifo/MI-TIP
0fdf6091b7ea9e00627c4602ffa1606ec58fac48
[ "Apache-2.0" ]
null
null
null
makeGroupFasta.py
hzi-bifo/MI-TIP
0fdf6091b7ea9e00627c4602ffa1606ec58fac48
[ "Apache-2.0" ]
null
null
null
makeGroupFasta.py
hzi-bifo/MI-TIP
0fdf6091b7ea9e00627c4602ffa1606ec58fac48
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ''' Put sequences of the same regions into a same file. Gene loss is also detected in this script, and for these groups it is not needed to run alignment. ''' from os import listdir import os from os.path import join import sys import re from Bio import SeqIO from Bio.Seq import Seq from Bio.Alp...
34.447761
112
0.685009
374
2,308
4.069519
0.342246
0.065046
0.021025
0.021682
0.061761
0.031537
0.031537
0.031537
0
0
0
0.002104
0.176343
2,308
66
113
34.969697
0.798527
0.10052
0
0
0
0
0.115828
0
0
0
0
0
0
0
null
null
0
0.22
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
3df75dd40d6c228372da7ba2569cd383a6978d91
848
py
Python
setup.py
wellcometrust/grants_tagger
b0701a0752d6196bf9aa64958843029390c82ef4
[ "MIT" ]
2
2021-06-15T10:20:01.000Z
2022-02-23T16:13:42.000Z
setup.py
wellcometrust/grants_tagger
b0701a0752d6196bf9aa64958843029390c82ef4
[ "MIT" ]
168
2020-07-01T10:06:36.000Z
2022-03-31T13:47:42.000Z
setup.py
wellcometrust/grants_tagger
b0701a0752d6196bf9aa64958843029390c82ef4
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages import os from grants_tagger import __version__ setup( name='grants-tagger', author='Nick Sorros', author_email='n.sorros@wellcome.ac.uk', description='A machine learning model to tag grants', packages=find_packages(), version=__version__, entry...
21.2
69
0.555425
86
848
5.22093
0.72093
0.106904
0
0
0
0
0
0
0
0
0
0.021997
0.303066
848
39
70
21.74359
0.737733
0
0
0
0
0
0.362028
0.108491
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
3df874a2de99bb88dd8debb38a447f456a8f9667
15,902
py
Python
tests/test_pychpp.py
DioPires/pychpp
737e5ea833c462a9d78833ece83c6845127e0b2a
[ "Apache-2.0" ]
null
null
null
tests/test_pychpp.py
DioPires/pychpp
737e5ea833c462a9d78833ece83c6845127e0b2a
[ "Apache-2.0" ]
null
null
null
tests/test_pychpp.py
DioPires/pychpp
737e5ea833c462a9d78833ece83c6845127e0b2a
[ "Apache-2.0" ]
null
null
null
import os import datetime import pytest import re from pychpp import __version__ from pychpp import CHPP from pychpp.ht_team import HTTeam, HTYouthTeam from pychpp.ht_user import HTUser from pychpp.ht_player import HTPlayer, HTYouthPlayer, HTLineupPlayer from pychpp.ht_arena import HTArena from pychpp.ht_region import...
37.861905
143
0.710602
2,180
15,902
5.006422
0.137615
0.108485
0.030786
0.036559
0.51466
0.408833
0.312443
0.264614
0.238959
0.230988
0
0.043243
0.174003
15,902
419
144
37.952267
0.787667
0.004654
0
0.170732
0
0.054878
0.150016
0.004487
0
0
0
0
0.60061
1
0.060976
false
0.003049
0.060976
0.003049
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
3dfd6f4b2d4548ad46134326cb925547b7b96ccb
439
py
Python
check_field/run.py
kemasuda/otofu
d873d2e7422fea421e3dec005b0d12fbd5eae0bf
[ "MIT" ]
null
null
null
check_field/run.py
kemasuda/otofu
d873d2e7422fea421e3dec005b0d12fbd5eae0bf
[ "MIT" ]
1
2022-01-09T05:41:14.000Z
2022-01-09T05:41:14.000Z
check_field/run.py
kemasuda/otofu
d873d2e7422fea421e3dec005b0d12fbd5eae0bf
[ "MIT" ]
1
2022-01-04T04:45:11.000Z
2022-01-04T04:45:11.000Z
#%% import astropy.units as u from otofu.obsplan import check_field #%% import matplotlib.pyplot as plt import seaborn as sns sns.set(style='ticks', font_scale=1.6*0.5, font='sans-serif') plt.rcParams["figure.figsize"] = (14*0.5,7*0.5) from matplotlib import rc rc('text', usetex=False) #%% fov = 0.45*u.deg #%% names...
19.954545
61
0.676538
76
439
3.868421
0.671053
0.020408
0
0
0
0
0
0
0
0
0
0.060686
0.136674
439
21
62
20.904762
0.71504
0.022779
0
0
0
0
0.139151
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9a796a30001f18cae684f385dbdfe8f4fa9d75b9
5,394
py
Python
semantic_segmentation/main.py
pedrohtg/pytorch
b8f1b330d4ecad08d93624d9d1d510f3bcd197c7
[ "BSD-3-Clause" ]
205
2017-06-22T12:44:41.000Z
2022-03-24T05:53:56.000Z
semantic_segmentation/main.py
pedrohtg/pytorch
b8f1b330d4ecad08d93624d9d1d510f3bcd197c7
[ "BSD-3-Clause" ]
12
2017-06-23T05:41:52.000Z
2020-09-16T11:14:54.000Z
semantic_segmentation/main.py
pedrohtg/pytorch
b8f1b330d4ecad08d93624d9d1d510f3bcd197c7
[ "BSD-3-Clause" ]
57
2017-06-22T12:45:57.000Z
2021-09-24T06:27:32.000Z
from argparse import ArgumentParser import os import random from matplotlib import pyplot as plt import torch from torch import optim from torch import nn from torch.nn import functional as F from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import models from torchvision.util...
36.201342
125
0.690026
805
5,394
4.501863
0.279503
0.019868
0.037528
0.018764
0.130519
0.115066
0.067881
0
0
0
0
0.012566
0.159066
5,394
148
126
36.445946
0.786376
0.088988
0
0.017544
0
0
0.072319
0
0
0
0
0
0
0
null
null
0
0.122807
null
null
0.017544
0
0
0
null
0
0
0
0
0
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
9a7c7ca940ce8dd3948f846e20a323f8db87fcc9
1,326
py
Python
autorest/python/emsapi/models/adi_ems_web_api_v2_model_analytic_query_result.py
ge-flight-analytics/ems-api-wrappers
5e787e0cbc72e7a3b06fa83ff6ba07968231f89c
[ "MIT" ]
2
2017-02-20T18:32:02.000Z
2018-08-01T11:45:29.000Z
autorest/python/emsapi/models/adi_ems_web_api_v2_model_analytic_query_result.py
ge-flight-analytics/ems-api-wrappers
5e787e0cbc72e7a3b06fa83ff6ba07968231f89c
[ "MIT" ]
10
2017-02-20T16:17:04.000Z
2019-04-02T16:52:49.000Z
autorest/python/emsapi/models/adi_ems_web_api_v2_model_analytic_query_result.py
ge-flight-analytics/ems-api-wrappers
5e787e0cbc72e7a3b06fa83ff6ba07968231f89c
[ "MIT" ]
2
2017-02-18T23:22:20.000Z
2017-02-20T19:35:38.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
34.894737
93
0.607843
126
1,326
6.309524
0.555556
0.01761
0.022642
0
0
0
0
0
0
0
0
0.004669
0.192308
1,326
37
94
35.837838
0.737628
0.534691
0
0
1
0
0.214411
0.075571
0
0
0
0
0
1
0.071429
false
0
0.071429
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a7dbfd47064103dabe79491183c9319dbd987bc
1,739
py
Python
Crypt0/Vigenere/VEnDecode.py
justinh5/CipherBox
f6624fa0aa5235b55ea8962fa6e3822c96995da7
[ "MIT" ]
null
null
null
Crypt0/Vigenere/VEnDecode.py
justinh5/CipherBox
f6624fa0aa5235b55ea8962fa6e3822c96995da7
[ "MIT" ]
null
null
null
Crypt0/Vigenere/VEnDecode.py
justinh5/CipherBox
f6624fa0aa5235b55ea8962fa6e3822c96995da7
[ "MIT" ]
null
null
null
def encode(plaintext, key): """Encodes plaintext Encode the message by shifting each character by the offset of a character in the key. """ ciphertext = "" i, j = 0, 0 # key, plaintext indices # strip all non-alpha characters from key key2 = "" for x in key: key2 += x if x.isalp...
29.474576
86
0.523864
232
1,739
3.926724
0.237069
0.035126
0.026345
0.100988
0.678375
0.663008
0.663008
0.663008
0.663008
0.663008
0
0.063103
0.343876
1,739
58
87
29.982759
0.73532
0.310523
0
0.611111
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a7e53f05b92a3931001dbc023d092edce921f39
1,371
py
Python
optic_store/patches/v0_6/add_sales_person_name_to_invoice.py
MdAlAmin-aol/optic_store
566b496734e858b383b3fb8e55c1a008275e7379
[ "MIT" ]
1
2020-04-11T06:07:12.000Z
2020-04-11T06:07:12.000Z
optic_store/patches/v0_6/add_sales_person_name_to_invoice.py
MdAlAmin-aol/optic_store
566b496734e858b383b3fb8e55c1a008275e7379
[ "MIT" ]
1
2021-05-11T02:12:52.000Z
2021-05-11T02:12:52.000Z
optic_store/patches/v0_6/add_sales_person_name_to_invoice.py
MdAlAmin-aol/optic_store
566b496734e858b383b3fb8e55c1a008275e7379
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2019, 9T9IT and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(): for doctype in ["Sales Order", "Sales Invoice"]: if not frappe.db.exists( "Custom Field", "{}-{}".format(...
35.153846
79
0.486506
134
1,371
4.671642
0.440299
0.193291
0.207668
0.135783
0.196486
0.079872
0
0
0
0
0
0.01107
0.407002
1,371
38
80
36.078947
0.758918
0.081692
0
0.0625
0
0
0.251793
0.023108
0
0
0
0
0
1
0.03125
false
0
0.0625
0
0.09375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a8df339374474fab1199425eec2b31cacc51f21
2,468
py
Python
tests/functional/custom_singular_tests/test_custom_singular_tests.py
tomasfarias/dbt-core
ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3
[ "Apache-2.0" ]
799
2021-10-13T21:40:33.000Z
2022-03-31T16:19:31.000Z
tests/functional/custom_singular_tests/test_custom_singular_tests.py
tomasfarias/dbt-core
ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3
[ "Apache-2.0" ]
939
2021-10-13T17:45:24.000Z
2022-03-31T22:09:58.000Z
tests/functional/custom_singular_tests/test_custom_singular_tests.py
tomasfarias/dbt-core
ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3
[ "Apache-2.0" ]
175
2021-10-14T18:59:06.000Z
2022-03-31T16:17:32.000Z
import pytest from pathlib import Path from dbt.tests.util import run_dbt # from `test/integration/009_data_test` # # Models # models__table_copy = """ {{ config( materialized='table' ) }} select * from {{ this.schema }}.seed """ # # Tests # tests__fail_email_is_always_null = """ select * from {...
23.283019
99
0.657212
324
2,468
4.660494
0.271605
0.037086
0.041722
0.060265
0.566887
0.49404
0.399338
0.339073
0.282119
0.148344
0
0.004732
0.229335
2,468
105
100
23.504762
0.789169
0.066451
0
0.408451
0
0
0.251858
0.067337
0
0
0
0
0.126761
1
0.084507
false
0.140845
0.042254
0.042254
0.211268
0
0
0
0
null
0
0
0
0
0
0
0
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
9a8e6e07bfa5aa23fa8a41d8493191e655dbb8f9
1,073
py
Python
tests/controllers/test_controller.py
drkane/find-that-postcode
78f6e7b1fc62f49c93a7ccc11565e85658bfdf7b
[ "MIT" ]
4
2020-11-27T21:28:17.000Z
2021-11-19T11:42:16.000Z
tests/controllers/test_controller.py
drkane/find-that-postcode
78f6e7b1fc62f49c93a7ccc11565e85658bfdf7b
[ "MIT" ]
17
2020-01-11T10:12:00.000Z
2022-01-18T14:28:18.000Z
tests/controllers/test_controller.py
drkane/find-that-postcode
78f6e7b1fc62f49c93a7ccc11565e85658bfdf7b
[ "MIT" ]
null
null
null
from findthatpostcode.controllers.controller import Controller from tests.fixtures import MockElasticsearch def test_controller_class(): id_ = "testentity" data = {"code": "testentity", "name": "Test Entity"} # test a found entity a = Controller(id_, data) assert a.id == id_ assert a.attribut...
26.825
81
0.648649
148
1,073
4.540541
0.351351
0.104167
0.053571
0.049107
0.224702
0.196429
0.196429
0.113095
0.113095
0.113095
0
0.013126
0.219012
1,073
39
82
27.512821
0.788783
0.065238
0
0.222222
0
0
0.099099
0
0
0
0
0
0.555556
1
0.074074
false
0
0.074074
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
9a93e68f89b30f75d5a945f53a803cbf8dfe5c8d
4,120
py
Python
core/models.py
Alpeng01d/Qodex
0d67004f501a9389a1eaa25fd5c234f5b7f6c765
[ "Apache-2.0" ]
null
null
null
core/models.py
Alpeng01d/Qodex
0d67004f501a9389a1eaa25fd5c234f5b7f6c765
[ "Apache-2.0" ]
null
null
null
core/models.py
Alpeng01d/Qodex
0d67004f501a9389a1eaa25fd5c234f5b7f6c765
[ "Apache-2.0" ]
null
null
null
#PACKAGE IMPORTS from django.db import models #LOCAL IMPORTS class Qodex_users(models.Model): """ """ #RELATED FIELDS #qodex_org = models.ForeignKey('Qodex_org', db_column='qodex_org', on_delete=models.SET_NULL, blank=True, null=True) #role = models.ForeignKey('User_roles', db_column='user_roles', on_...
37.454545
120
0.693204
535
4,120
5.166355
0.170093
0.120478
0.174023
0.227569
0.692836
0.687048
0.513025
0.497106
0.45767
0.289074
0
0.005944
0.183252
4,120
109
121
37.798165
0.815453
0.218932
0
0.390625
0
0
0.036683
0
0
0
0
0
0
1
0.078125
false
0.03125
0.015625
0.0625
0.84375
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
9a94bc08b27bec68412381715516e8e3902bfc58
1,496
py
Python
made/commands/inputs_grp/cmd.py
GuerrillaAnalytics/made-cli
ee81e8293d23f50a377fd177efa05dd46d9de751
[ "MIT" ]
1
2017-09-03T16:30:26.000Z
2017-09-03T16:30:26.000Z
made/commands/inputs_grp/cmd.py
GuerrillaAnalytics/made-cli
ee81e8293d23f50a377fd177efa05dd46d9de751
[ "MIT" ]
null
null
null
made/commands/inputs_grp/cmd.py
GuerrillaAnalytics/made-cli
ee81e8293d23f50a377fd177efa05dd46d9de751
[ "MIT" ]
null
null
null
import os import logging import click from made.commands.inputs_grp.input_functions import validate_input_version from made.controllers.config import Config from made.controllers.inputs import input_manager_factory from made.commands.project_grp import project_functions from made.controllers.inputs import inputs_funct...
26.714286
79
0.710561
199
1,496
5.120603
0.346734
0.078508
0.047105
0.049068
0.100098
0
0
0
0
0
0
0.000829
0.19385
1,496
55
80
27.2
0.844113
0.06885
0
0.3
0
0
0.071326
0
0
0
0
0
0
1
0.075
false
0.15
0.225
0
0.3
0.025
0
0
0
null
0
0
0
0
0
0
0
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
9a967e04e3112242b7522b1261f7bb78f86e3718
1,767
py
Python
ettus/rfnoc/mult.py
benreynwar/rfgnocchi
3bf4446118f3717d11ac02749df4eaf82d408760
[ "MIT" ]
4
2015-04-28T04:50:40.000Z
2022-01-25T23:49:01.000Z
ettus/rfnoc/mult.py
benreynwar/rfgnocchi
3bf4446118f3717d11ac02749df4eaf82d408760
[ "MIT" ]
null
null
null
ettus/rfnoc/mult.py
benreynwar/rfgnocchi
3bf4446118f3717d11ac02749df4eaf82d408760
[ "MIT" ]
null
null
null
import os import logging import testfixtures from pyvivado import interface, signal, builder from rfgnocchi import config, ettus logger = logging.getLogger(__name__) def get_mult_interface(params): module_name = 'Mult' width_A = params['width_A'] width_B = params['width_B'] width_P =...
31.553571
65
0.636672
215
1,767
4.855814
0.232558
0.086207
0.1341
0.172414
0.356322
0
0
0
0
0
0
0
0.240521
1,767
55
66
32.127273
0.777943
0
0
0
0
0
0.123832
0
0
0
0
0
0.020833
1
0.020833
false
0
0.104167
0
0.145833
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
9aa4f69469b0d103fabc89baed24800602c4e40d
14,467
py
Python
Example/ProjectionMappingDemo.py
davidsoncolin/IMS
7a9c44275b4ebf5b16c04338628425ec876e3a0f
[ "MIT" ]
null
null
null
Example/ProjectionMappingDemo.py
davidsoncolin/IMS
7a9c44275b4ebf5b16c04338628425ec876e3a0f
[ "MIT" ]
null
null
null
Example/ProjectionMappingDemo.py
davidsoncolin/IMS
7a9c44275b4ebf5b16c04338628425ec876e3a0f
[ "MIT" ]
1
2021-09-18T12:11:53.000Z
2021-09-18T12:11:53.000Z
#!/usr/bin/env python import ISCV import numpy as np from IO import ViconReader, MovieReader, MAReader, IO, C3D, ASFReader from UI import QGLViewer, QApp # gui from GCore import Label, Recon, Retarget, SolveIK, Calibrate, Character, Opengl from UI.GLMeshes import GLMeshes #from UI.GLSkel import GLSkel #from UI.GLSkel...
47.123779
169
0.742932
2,308
14,467
4.398614
0.204506
0.074862
0.049842
0.013298
0.349783
0.262608
0.229019
0.185973
0.157703
0.111604
0
0.034027
0.106173
14,467
306
170
47.277778
0.751063
0.193198
0
0.071429
0
0
0.127337
0.007012
0
0
0
0
0
0
null
null
0
0.040179
null
null
0.058036
0
0
0
null
0
0
0
0
0
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
9ab62e66da7059ae1ae9335b973cffc679e28d51
307
py
Python
aedes_server/api/urls.py
henriquenogueira/aedes
43b8376a091c57dd45d342dea78301c0a79b5df0
[ "MIT" ]
null
null
null
aedes_server/api/urls.py
henriquenogueira/aedes
43b8376a091c57dd45d342dea78301c0a79b5df0
[ "MIT" ]
8
2016-03-27T03:15:42.000Z
2016-03-28T23:59:55.000Z
aedes_server/api/urls.py
henriquenogueira/aedes
43b8376a091c57dd45d342dea78301c0a79b5df0
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from rest_framework import routers from .viewsets import ReportViewSet, ClusterViewSet router = routers.DefaultRouter() router.register(r'reports', ReportViewSet) router.register(r'clusters', ClusterViewSet) urlpatterns = [ url(r'^', include(router.urls)), ]
25.583333
51
0.781759
36
307
6.638889
0.555556
0.117155
0.125523
0
0
0
0
0
0
0
0
0
0.107492
307
11
52
27.909091
0.872263
0
0
0
0
0
0.052117
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9ab7670f41ceef2389fd065ed2ef5e98dc5fe1fb
18,242
py
Python
etc/test/CryoconM32_test.py
MarkRivers/CryoconM32
f4cf38d029e1e7f9d250df1d0944aea7493b503d
[ "Apache-2.0" ]
null
null
null
etc/test/CryoconM32_test.py
MarkRivers/CryoconM32
f4cf38d029e1e7f9d250df1d0944aea7493b503d
[ "Apache-2.0" ]
null
null
null
etc/test/CryoconM32_test.py
MarkRivers/CryoconM32
f4cf38d029e1e7f9d250df1d0944aea7493b503d
[ "Apache-2.0" ]
1
2020-02-27T13:38:28.000Z
2020-02-27T13:38:28.000Z
#!/bin/env dls-python2.4 # Test suite to use with pyUnit from pkg_resources import require require('dls.autotestframework') from dls.autotestframework import * ################################################ # Test suite for the CryoconM32 temperature controller class CryoconM32TestSuite(TestSuite): def c...
44.276699
172
0.63732
2,223
18,242
5.116959
0.192533
0.028484
0.021099
0.008791
0.434989
0.388132
0.335209
0.322374
0.295912
0.274637
0
0.012111
0.257702
18,242
411
173
44.384428
0.82793
0.287852
0
0.331492
0
0.01105
0.148873
0.035171
0
0
0
0
0
0
null
null
0
0.01105
null
null
0.121547
0
0
0
null
0
0
0
0
0
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
9ab78c6b9fce3c275675899de9815653f3d15617
1,269
py
Python
planner/migrations/0006_auto_20210410_1547.py
wxw12150/Spring21_Four_Year_Planner
fe96dd694e7a765ee91ebe2646a050d13462f15b
[ "MIT" ]
null
null
null
planner/migrations/0006_auto_20210410_1547.py
wxw12150/Spring21_Four_Year_Planner
fe96dd694e7a765ee91ebe2646a050d13462f15b
[ "MIT" ]
null
null
null
planner/migrations/0006_auto_20210410_1547.py
wxw12150/Spring21_Four_Year_Planner
fe96dd694e7a765ee91ebe2646a050d13462f15b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-10 20:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('planner', '0005_auto_202...
38.454545
146
0.639874
137
1,269
5.773723
0.452555
0.050569
0.070796
0.111252
0.242731
0.242731
0.204804
0.204804
0.204804
0.204804
0
0.031568
0.226162
1,269
32
147
39.65625
0.773931
0.035461
0
0.115385
1
0
0.121931
0.018822
0
0
0
0
0
1
0
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9abfb8638e882a31c9766fa24c9a282092709bd4
1,727
py
Python
decode.py
angelog/handlecrash.h
1bc1b9a70500fdc58ee538cdd228a7938de7e420
[ "MIT" ]
26
2016-10-20T12:11:57.000Z
2020-06-20T06:53:05.000Z
decode.py
angelog/handlecrash.h
1bc1b9a70500fdc58ee538cdd228a7938de7e420
[ "MIT" ]
null
null
null
decode.py
angelog/handlecrash.h
1bc1b9a70500fdc58ee538cdd228a7938de7e420
[ "MIT" ]
2
2019-03-12T03:47:06.000Z
2019-05-23T13:06:39.000Z
#!/usr/bin/python # # handlecrash.h # https://github.com/angelog/handlecrash.h import re import sys import zlib import base64 import subprocess def addr2line(name, ptr, intext = False): args = ['addr2line', '-Cfpe', name, ptr] if intext: args.append('-j') args.append('.text') try: p = subprocess.Popen(args,...
23.657534
76
0.613781
227
1,727
4.665198
0.405286
0.018886
0.022663
0.028329
0.075543
0
0
0
0
0
0
0.035845
0.208454
1,727
72
77
23.986111
0.738844
0.041112
0
0.172414
0
0
0.089588
0.01937
0
0
0
0
0
0
null
null
0
0.086207
null
null
0.086207
0
0
0
null
0
0
0
0
0
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
9ac7d74b8bd18f60b6ef1fcb4106ae9be136896d
950
py
Python
functions/emailTrigger/main.py
Raghavi-Adoni/covid-gdgpune
e97ca92bf956bd4acca44058c07436d550a54090
[ "MIT" ]
4
2021-05-13T02:46:47.000Z
2021-06-12T09:20:46.000Z
functions/emailTrigger/main.py
amansaini7999/covid-gdgpune
ef5a0d49439ca8267d541e5d04d3906b9a569f34
[ "MIT" ]
47
2021-05-16T14:35:09.000Z
2021-06-09T18:53:40.000Z
functions/emailTrigger/main.py
amansaini7999/covid-gdgpune
ef5a0d49439ca8267d541e5d04d3906b9a569f34
[ "MIT" ]
9
2021-05-13T04:29:29.000Z
2021-05-17T15:17:34.000Z
def sendCustomEmail(email, msg): from config import senderEmail, senderPassword import smtplib, ssl context = ssl.create_default_context() with smtplib.SMTP_SSL('smtp.gmail.com', 465) as smtp: smtp.login(senderEmail, senderPassword) smtp.sendmail(senderEmail, email, msg) return True ...
47.5
303
0.688421
125
950
5.208
0.592
0.036866
0.070661
0.0553
0
0
0
0
0
0
0
0.003979
0.206316
950
20
304
47.5
0.859416
0
0
0.111111
0
0.055556
0.422713
0.022082
0
0
0
0
0
1
0.111111
false
0.111111
0.111111
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
1
0
0
0
0
0
1
9acb150f4acdc9a3a52b2f9ab48719e774728708
6,394
py
Python
levels/migrations/0001_initial.py
saberworks/massassi-django
e8a1b7f975cf0765500851da91303feca082e9f8
[ "MIT" ]
null
null
null
levels/migrations/0001_initial.py
saberworks/massassi-django
e8a1b7f975cf0765500851da91303feca082e9f8
[ "MIT" ]
5
2021-12-08T18:56:14.000Z
2021-12-08T21:26:32.000Z
levels/migrations/0001_initial.py
saberworks/massassi-django
e8a1b7f975cf0765500851da91303feca082e9f8
[ "MIT" ]
null
null
null
# Generated by Django 3.2.10 on 2022-01-03 06:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import levels.util import massassi.models class Migration(migrations.Migration): initial = True dependencies = [ m...
55.6
171
0.617454
674
6,394
5.669139
0.167656
0.031405
0.051295
0.080607
0.713426
0.646689
0.616593
0.616593
0.595656
0.595656
0
0.010124
0.24304
6,394
114
172
56.087719
0.779339
0.007194
0
0.53271
1
0
0.106681
0
0
0
0
0
0
1
0
false
0
0.056075
0
0.093458
0
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
9ad040ecc5002a3463f7e0f746815dd0c26b7f4f
640
py
Python
errorhandler/__init__.py
kanzihuang/errorhandler
e44dfb954f924504cdc04d77e7da24f45438a53e
[ "MIT" ]
3
2017-08-01T19:04:44.000Z
2020-01-17T20:03:50.000Z
errorhandler/__init__.py
kanzihuang/errorhandler
e44dfb954f924504cdc04d77e7da24f45438a53e
[ "MIT" ]
1
2017-08-02T01:30:10.000Z
2017-08-02T14:20:31.000Z
errorhandler/__init__.py
Simplistix/errorhandler
75a2b411b02ca9285d1b10a673d851f60bacd0d8
[ "MIT" ]
null
null
null
# Copyright (c) 2008 Simplistix Ltd # See license.txt for license details. from logging import Handler,ERROR,getLogger class ErrorHandler(Handler): fired = False def __init__(self,level=ERROR,logger='',install=True): Handler.__init__(self) self.level=level self.logger=logger ...
22.068966
58
0.629688
74
640
5.337838
0.472973
0.068354
0.065823
0
0
0
0
0
0
0
0
0.008529
0.267188
640
28
59
22.857143
0.833689
0.109375
0
0
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9ad520f6526c2e9caaa99db319bbe558469f6055
17,960
py
Python
ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
willwill1101/ambari
3bed8e0abd0b6f60f15ffd4fa0035b5a57cf81e1
[ "Apache-2.0", "MIT" ]
3
2016-12-01T15:55:11.000Z
2016-12-01T15:56:38.000Z
ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
willwill1101/ambari
3bed8e0abd0b6f60f15ffd4fa0035b5a57cf81e1
[ "Apache-2.0", "MIT" ]
null
null
null
ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
willwill1101/ambari
3bed8e0abd0b6f60f15ffd4fa0035b5a57cf81e1
[ "Apache-2.0", "MIT" ]
null
null
null
#!/usr/bin/env python ''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
40.359551
167
0.690535
2,361
17,960
5.051673
0.198221
0.024901
0.012912
0.02029
0.223778
0.172382
0.137922
0.120734
0.082167
0.082167
0
0.009144
0.220546
17,960
444
168
40.45045
0.842846
0.087695
0
0.143357
0
0.003497
0.144499
0.006508
0
0
0
0.002252
0
0
null
null
0.006993
0.048951
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
9ad5d80e81b9bdade519f50ec64c9d577836c874
1,739
py
Python
tictactoe_api_messages.py
dculyba/boom-tic-tac-toe
19a1d29f0b3f745413e24928be174ac207cef57b
[ "Apache-2.0" ]
40
2015-02-09T04:54:03.000Z
2021-10-09T18:37:24.000Z
tictactoe_api_messages.py
dculyba/boom-tic-tac-toe
19a1d29f0b3f745413e24928be174ac207cef57b
[ "Apache-2.0" ]
1
2017-03-28T20:05:58.000Z
2017-03-31T16:56:50.000Z
tictactoe_api_messages.py
dculyba/boom-tic-tac-toe
19a1d29f0b3f745413e24928be174ac207cef57b
[ "Apache-2.0" ]
38
2015-01-19T10:02:44.000Z
2022-01-12T18:15:22.000Z
#!/usr/bin/python # Copyright (C) 2010-2013 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0# # Unless required by applicable l...
33.442308
75
0.740081
224
1,739
5.745536
0.504464
0.04662
0.089355
0.11655
0.267288
0.267288
0.20979
0.20979
0.088578
0
0
0.016598
0.168488
1,739
51
76
34.098039
0.873444
0.53594
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.882353
0
0
0
0
null
0
0
0
0
0
0
0
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
9ad6811d50331a4a360a8f112acbc46181f321b5
1,353
py
Python
1.py
maheshwarkuchana/Skillenza-NLP-Challenge
5b0b4435fb89204accf7cafa1aa7703ad7db3b18
[ "MIT" ]
null
null
null
1.py
maheshwarkuchana/Skillenza-NLP-Challenge
5b0b4435fb89204accf7cafa1aa7703ad7db3b18
[ "MIT" ]
null
null
null
1.py
maheshwarkuchana/Skillenza-NLP-Challenge
5b0b4435fb89204accf7cafa1aa7703ad7db3b18
[ "MIT" ]
null
null
null
import pandas as pd from sklearn.feature_extraction.text import TfidfVectorizer import pickle df = pd.read_csv("offcampus_training.csv") from sklearn.feature_extraction.text import TfidfVectorizer tfidf = TfidfVectorizer(sublinear_tf=True, min_df=5, norm='l2', encoding='latin-1', ngram_range=(1, 2)) features = tfidf...
32.214286
103
0.757576
194
1,353
5.046392
0.407216
0.055158
0.073544
0.114402
0.185904
0.185904
0.108274
0
0
0
0
0.015164
0.12269
1,353
41
104
33
0.809604
0.010347
0
0.068966
0
0
0.075599
0.016467
0
0
0
0
0
1
0
false
0
0.310345
0
0.310345
0.068966
0
0
0
null
0
0
0
0
0
0
0
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
9ad740b69bc4b5ea9884b5106deb2f106329dacf
2,104
py
Python
enzi/backend/__init__.py
Yummot/enzi
7cace3761f0a04ba807a82d8992eca0213e5b1cf
[ "BSD-2-Clause" ]
1
2019-09-20T03:48:41.000Z
2019-09-20T03:48:41.000Z
enzi/backend/__init__.py
Yummot/enzi
7cace3761f0a04ba807a82d8992eca0213e5b1cf
[ "BSD-2-Clause" ]
null
null
null
enzi/backend/__init__.py
Yummot/enzi
7cace3761f0a04ba807a82d8992eca0213e5b1cf
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import logging import platform from enzi.backend.backend import * from enzi.backend.ies import IES from enzi.backend.questa import Questa from enzi.backend.vivado import Vivado __all__ = ['KnownBackends', 'Questa', 'IES', 'Vivado', 'Backend', 'BackendCallback', 'value_str_filter'] ...
35.066667
85
0.657795
258
2,104
5.112403
0.364341
0.091736
0.09022
0.036391
0.037908
0
0
0
0
0
0
0.001245
0.236217
2,104
59
86
35.661017
0.81954
0.139259
0
0
0
0
0.115165
0
0
0
0
0.016949
0
1
0.135135
false
0
0.162162
0.054054
0.351351
0
0
0
0
null
0
0
0
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
9adb14507248c4d4e469d85b87dce11a64f3dc82
1,941
py
Python
app/display_modules/taxa_tree/tests/test_module.py
MetaGenScope/metagenscope-server
609cd57c626c857c8efde8237a1f22f4d1e6065d
[ "MIT" ]
null
null
null
app/display_modules/taxa_tree/tests/test_module.py
MetaGenScope/metagenscope-server
609cd57c626c857c8efde8237a1f22f4d1e6065d
[ "MIT" ]
null
null
null
app/display_modules/taxa_tree/tests/test_module.py
MetaGenScope/metagenscope-server
609cd57c626c857c8efde8237a1f22f4d1e6065d
[ "MIT" ]
null
null
null
"""Test suite for Taxa Tree display module.""" from app.display_modules.display_module_base_test import BaseDisplayModuleTest from app.display_modules.taxa_tree import TaxaTreeDisplayModule from app.display_modules.taxa_tree.models import TaxaTreeResult from app.display_modules.taxa_tree.constants import MODULE_NAME f...
44.113636
85
0.73931
215
1,941
6.413953
0.293023
0.050761
0.047861
0.078318
0.177665
0.063089
0
0
0
0
0
0.005022
0.179289
1,941
43
86
45.139535
0.86064
0.133436
0
0.064516
0
0
0.030193
0
0
0
0
0
0
1
0.096774
false
0
0.354839
0
0.483871
0
0
0
0
null
0
0
0
0
0
0
0
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
9ae2c3dacdc24be2236c7d366c232d595dfb217f
954
py
Python
setup.py
compunova/kozinaki
c0767af8a6a87cf88f4afe676bd63b136d5ef6c5
[ "Apache-2.0" ]
4
2015-01-02T09:28:31.000Z
2019-05-21T09:37:18.000Z
setup.py
compunova/kozinaki
c0767af8a6a87cf88f4afe676bd63b136d5ef6c5
[ "Apache-2.0" ]
1
2018-07-31T20:52:30.000Z
2018-07-31T20:52:30.000Z
setup.py
compunova/kozinaki
c0767af8a6a87cf88f4afe676bd63b136d5ef6c5
[ "Apache-2.0" ]
3
2015-01-01T09:14:20.000Z
2019-05-21T09:51:45.000Z
from setuptools import setup, find_packages def readme(): with open('README.md') as f: return f.read() setup( name='kozinaki', description='OpenStack multi-cloud driver for AWS, Azure', url='https://github.com/compunova/kozinaki.git', author='Compunova', author_email='kozinaki@compu-n...
23.268293
62
0.567086
98
954
5.387755
0.734694
0.045455
0
0
0
0
0
0
0
0
0
0.027656
0.279874
954
40
63
23.85
0.740902
0
0
0.054054
0
0
0.389937
0.071279
0
0
0
0
0
1
0.027027
true
0
0.027027
0
0.081081
0
0
0
0
null
0
0
0
0
0
0
0
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
9aec0046701ededb79a9bf8c36ff936290b2a581
343
wsgi
Python
app.wsgi
craigderington/blocknav.io
acc84cc7096d448e55fd64d62e3e82ad4b5bdd99
[ "Apache-2.0" ]
null
null
null
app.wsgi
craigderington/blocknav.io
acc84cc7096d448e55fd64d62e3e82ad4b5bdd99
[ "Apache-2.0" ]
null
null
null
app.wsgi
craigderington/blocknav.io
acc84cc7096d448e55fd64d62e3e82ad4b5bdd99
[ "Apache-2.0" ]
1
2021-02-17T17:41:44.000Z
2021-02-17T17:41:44.000Z
#! .env/bin/python activate_this = '/var/www/html/blocknav.io/.env/bin/activate_this.py' execfile(activate_this, dict(__file__=activate_this)) import os import sys import logging logging.basicConfig(stream=sys.stderr) sys.path.insert(0, '/var/www/html/blocknav.io/') from app import app as application application.secr...
28.583333
69
0.787172
54
343
4.833333
0.592593
0.183908
0.076628
0.137931
0.153257
0
0
0
0
0
0
0.009464
0.075802
343
12
70
28.583333
0.81388
0.049563
0
0
0
0
0.236196
0.236196
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9af2d7a97fa9f0e6535cddde4d92be948ce0aeee
3,381
py
Python
common/Graph.py
Aquaware/Miners
47d17804b4856f617fbfc64235f2c16fda9fdb24
[ "MIT" ]
1
2021-03-03T08:41:47.000Z
2021-03-03T08:41:47.000Z
common/Graph.py
Aquaware/Miners
47d17804b4856f617fbfc64235f2c16fda9fdb24
[ "MIT" ]
null
null
null
common/Graph.py
Aquaware/Miners
47d17804b4856f617fbfc64235f2c16fda9fdb24
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt import matplotlib.colors as mcolors from matplotlib.lines import Line2D from matplotlib.dates import date2num from matplotlib.dates import DateFormatter def color(index): colors = [ mcolors.CSS4_COLORS['red' ], mcolors.CSS4_COLORS['blue'], mcolors.CSS4_COLOR...
34.5
152
0.575569
444
3,381
4.29955
0.288288
0.044002
0.097957
0.026192
0.051336
0.016763
0
0
0
0
0
0.02191
0.284531
3,381
98
153
34.5
0.767259
0.006211
0
0.181818
0
0
0.036618
0
0
0
0
0
0
1
0.194805
false
0.12987
0.064935
0
0.324675
0
0
0
0
null
0
0
0
0
0
0
0
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
9af3d0ff36ffb1db586a01ea9dc006b0f6175f88
647
py
Python
flask_appbuilder/security/sqla/apis/permission_view_menu/api.py
stungkit/Flask-AppBuilder
357c8100e96034c736860737a41c2004aa4e993b
[ "BSD-3-Clause" ]
null
null
null
flask_appbuilder/security/sqla/apis/permission_view_menu/api.py
stungkit/Flask-AppBuilder
357c8100e96034c736860737a41c2004aa4e993b
[ "BSD-3-Clause" ]
null
null
null
flask_appbuilder/security/sqla/apis/permission_view_menu/api.py
stungkit/Flask-AppBuilder
357c8100e96034c736860737a41c2004aa4e993b
[ "BSD-3-Clause" ]
null
null
null
from flask_appbuilder import ModelRestApi from flask_appbuilder.models.sqla.interface import SQLAInterface from flask_appbuilder.security.sqla.models import PermissionView class PermissionViewMenuApi(ModelRestApi): resource_name = "security/permissions-resources" openapi_spec_tag = "Security Permissions on Re...
38.058824
71
0.788253
72
647
6.805556
0.513889
0.055102
0.116327
0
0
0
0
0
0
0
0
0
0.136012
647
16
72
40.4375
0.876565
0
0
0
0
0
0.231839
0.046368
0
0
0
0
0
1
0
false
0
0.230769
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
9af68a20741bc0d17ef79e8ac78f64e1032b84de
7,383
py
Python
attendees/persons/migrations/0006_attendee.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
null
null
null
attendees/persons/migrations/0006_attendee.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
5
2022-01-21T03:26:40.000Z
2022-02-04T17:32:16.000Z
attendees/persons/migrations/0006_attendee.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-13 02:58 from uuid import uuid4 from django.conf import settings from django.db import migrations, models from private_storage.fields import PrivateFileField from private_storage.storage.files import PrivateFileSystemStorage import django.utils.timezone import model_utils.fields ...
68.361111
221
0.638358
804
7,383
5.691542
0.242537
0.038462
0.034965
0.041958
0.607517
0.557255
0.533654
0.514205
0.507212
0.507212
0
0.021399
0.221455
7,383
107
222
69
0.774704
0.13802
0
0.2875
1
0.025
0.172713
0.011199
0.0125
0
0
0
0
1
0
false
0
0.125
0
0.1625
0
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
9afc3dd17ea7e83911d96c9f70b712f9166b73eb
1,588
py
Python
dbReports/iondb/rundb/login/middleware.py
sequencer2014/TS
465804570349d46b47c1bdf131bdafea5c582dee
[ "Apache-2.0" ]
null
null
null
dbReports/iondb/rundb/login/middleware.py
sequencer2014/TS
465804570349d46b47c1bdf131bdafea5c582dee
[ "Apache-2.0" ]
null
null
null
dbReports/iondb/rundb/login/middleware.py
sequencer2014/TS
465804570349d46b47c1bdf131bdafea5c582dee
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2012 Ion Torrent Systems, Inc. All Rights Reserved from django.contrib.auth.models import User from django.http import HttpResponse from django.contrib.auth import authenticate, login import logging log = logging.getLogger(__name__) class BasicAuthMiddleware: """ Simple HTTP-Basic auth for te...
36.930233
114
0.617758
185
1,588
5.237838
0.502703
0.070175
0.037152
0.043344
0
0
0
0
0
0
0
0.012556
0.297859
1,588
42
115
37.809524
0.856502
0.222922
0
0.192308
0
0
0.1715
0
0
0
0
0
0
1
0.038462
false
0.076923
0.192308
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
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
b102460dfcaef1d2d43c779e19b28cf1c8fb4654
2,882
py
Python
scripts/make_pdfs_both_masks.py
StevenM1/pystain
54e0028080f2bba4138752e4c05e282ad8b14873
[ "MIT" ]
null
null
null
scripts/make_pdfs_both_masks.py
StevenM1/pystain
54e0028080f2bba4138752e4c05e282ad8b14873
[ "MIT" ]
null
null
null
scripts/make_pdfs_both_masks.py
StevenM1/pystain
54e0028080f2bba4138752e4c05e282ad8b14873
[ "MIT" ]
null
null
null
import h5py import glob import pandas import numpy as np import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import skimage from skimage import feature import scipy as sp from scipy import ndimage from natsort import natsorted masks = h5py.File('/home/gdholla1/data/post_mortem/masks.hd5f') subject...
35.580247
128
0.565579
376
2,882
4.226064
0.345745
0.056639
0.052863
0.060415
0.293896
0.293896
0.275645
0.169918
0.169918
0.1309
0
0.02284
0.30118
2,882
80
129
36.025
0.766137
0
0
0.034483
0
0
0.080153
0.047189
0
0
0
0
0
0
null
null
0
0.206897
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
b102b32bafe32f06ffcf7b2a1b28afa4b5b66134
11,993
py
Python
account/cached_templates/templates/base_template.htm.py
jordancarlson08/MyStuff
4f4f6fdd298ce00e4a1f8a4621aaf94c0ccdb773
[ "Apache-2.0" ]
null
null
null
account/cached_templates/templates/base_template.htm.py
jordancarlson08/MyStuff
4f4f6fdd298ce00e4a1f8a4621aaf94c0ccdb773
[ "Apache-2.0" ]
null
null
null
account/cached_templates/templates/base_template.htm.py
jordancarlson08/MyStuff
4f4f6fdd298ce00e4a1f8a4621aaf94c0ccdb773
[ "Apache-2.0" ]
null
null
null
# -*- coding:ascii -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 9 _modified_time = 1397180636.670169 _enable_loop = True _template_filename = 'C:\\Users\\Jordan Carlson\\Desktop\\MyStuff\\base_app\\templates/base_template....
59.371287
1,551
0.592762
1,728
11,993
3.876736
0.180556
0.051052
0.023287
0.031049
0.534557
0.497089
0.425138
0.367965
0.3196
0.290342
0
0.013236
0.237722
11,993
201
1,552
59.666667
0.719536
0.049195
0
0.48062
0
0.131783
0.481077
0.158687
0
0
0
0
0
1
0.077519
false
0
0.046512
0.046512
0.20155
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1053e9b2271f49355bda18e1dc3098c703fd61d
995
py
Python
kubernetes_typed/client/models/v1_service_spec.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
null
null
null
kubernetes_typed/client/models/v1_service_spec.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
null
null
null
kubernetes_typed/client/models/v1_service_spec.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
null
null
null
# Code generated by `typeddictgen`. DO NOT EDIT. """V1ServiceSpecDict generated type.""" from typing import TypedDict, Dict, List from kubernetes_typed.client import V1ServicePortDict, V1SessionAffinityConfigDict V1ServiceSpecDict = TypedDict( "V1ServiceSpecDict", { "allocateLoadBalancerNodePorts": bo...
31.09375
82
0.643216
73
995
8.753425
0.589041
0.043818
0
0
0
0
0
0
0
0
0
0.009259
0.240201
995
31
83
32.096774
0.835979
0.081407
0
0
1
0
0.335903
0.154185
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0
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
b105de00e51de2a7448868de037ce7b5a46d47a7
2,884
py
Python
benchmarks/benchmarks/bench_linalg.py
mpmkp2020/numpy_demo
796262e06c84b7e9aa446b244a3faf3891d9ece1
[ "BSD-3-Clause" ]
null
null
null
benchmarks/benchmarks/bench_linalg.py
mpmkp2020/numpy_demo
796262e06c84b7e9aa446b244a3faf3891d9ece1
[ "BSD-3-Clause" ]
null
null
null
benchmarks/benchmarks/bench_linalg.py
mpmkp2020/numpy_demo
796262e06c84b7e9aa446b244a3faf3891d9ece1
[ "BSD-3-Clause" ]
null
null
null
from .common import Benchmark, get_squares_, get_indexes_rand, TYPES1 import numpy_demo as np class Eindot(Benchmark): def setup(self): self.a = np.arange(60000.0).reshape(150, 400) self.ac = self.a.copy() self.at = self.a.T self.atc = self.a.T.copy() self.b = np.arange(24...
26.703704
69
0.599168
465
2,884
3.496774
0.208602
0.073801
0.055351
0.04797
0.399139
0.249077
0
0
0
0
0
0.039234
0.257628
2,884
107
70
26.953271
0.720224
0.022191
0
0.027397
0
0
0.022364
0
0
0
0
0
0
1
0.315068
false
0
0.027397
0
0.410959
0
0
0
0
null
0
0
0
0
0
0
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
b10f38f4f76998e16dda118dad2f9918030f2f56
371
py
Python
pydummy/entities/en/name.py
Devgaze/pydummy
2a278416c15f83572e604deb60bad0c8b78ec588
[ "MIT" ]
null
null
null
pydummy/entities/en/name.py
Devgaze/pydummy
2a278416c15f83572e604deb60bad0c8b78ec588
[ "MIT" ]
null
null
null
pydummy/entities/en/name.py
Devgaze/pydummy
2a278416c15f83572e604deb60bad0c8b78ec588
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from pydummy.core.dummydata import DummyData class DummyName(DummyData): def __init__(self): self.data = [ 'Mike', 'Julia', 'Harold', 'Sharon', 'Ian', 'Jessica', 'Bob', 'Elisabeth', ...
18.55
44
0.407008
27
371
5.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.004975
0.458221
371
19
45
19.526316
0.726368
0.056604
0
0
0
0
0.16092
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b110dcf2d9a8b8fe51f337758fec1ea5402ce9d9
1,115
py
Python
Grid-1m-oversampler.py
cjaddison82/Survey-Resources
9f1fec7aa3d1b8b88e4a58986b41b70e38581b5d
[ "CC0-1.0" ]
null
null
null
Grid-1m-oversampler.py
cjaddison82/Survey-Resources
9f1fec7aa3d1b8b88e4a58986b41b70e38581b5d
[ "CC0-1.0" ]
null
null
null
Grid-1m-oversampler.py
cjaddison82/Survey-Resources
9f1fec7aa3d1b8b88e4a58986b41b70e38581b5d
[ "CC0-1.0" ]
null
null
null
#INPUT FORMAT E N DEPTH #OUTPUT CSV AT METRE ONLY try: from math import * except: print "import error" #T = int(1) #flag for while loop - removed depricated code #E = [] #new array to read from the RPL file - depricated #N = [] #KP = [] gridE = [] #new array to write logfile values to gridN...
19.561404
111
0.58296
144
1,115
4.506944
0.590278
0.064715
0.050847
0.07396
0
0
0
0
0
0
0
0.011222
0.280717
1,115
56
112
19.910714
0.798005
0.336323
0
0
0
0
0.119403
0.058209
0
0
0
0
0
0
null
null
0.043478
0.086957
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
b116987ddab1047d870ae8c40743c252f560d820
734
py
Python
tankonyv/namedtuple_hasznalat.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
tankonyv/namedtuple_hasznalat.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
tankonyv/namedtuple_hasznalat.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
import collections Employee = collections.namedtuple('Emplyee', ['name', 'age', 'designation']) E = Employee('Alison', '30', 'Software Engineer') E1 = ['Tom', '39', 'Sales manager'] Ed = {'name': 'Bob', 'age': 30, 'designation': 'Manager'} print('The demosntration for using namedtuple as iterable is : ') print(Employe...
34.952381
77
0.70436
98
734
5.234694
0.44898
0.062378
0.08577
0.081871
0.169591
0.169591
0
0
0
0
0
0.012346
0.117166
734
20
78
36.7
0.779321
0
0
0.157895
0
0
0.52861
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.736842
0
0
0
null
0
0
0
0
0
0
0
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
b11a8944fc36e42ba92290ab3a047aa2cf7e5ad5
4,420
py
Python
profile_api/views.py
atulsingh-41189/profile_rest_api_new
0d4ac933d25d89953fac137c33361e987be4adb4
[ "MIT" ]
null
null
null
profile_api/views.py
atulsingh-41189/profile_rest_api_new
0d4ac933d25d89953fac137c33361e987be4adb4
[ "MIT" ]
3
2020-06-06T01:47:28.000Z
2021-06-10T20:04:40.000Z
profile_api/views.py
atulsingh-41189/profile_rest_api_new
0d4ac933d25d89953fac137c33361e987be4adb4
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from rest_framework.authentication import TokenAuthentication from rest_framework import viewsets from rest_framework import filters from rest_framework.authtoken.views import ObtainAuthToken from res...
34.53125
82
0.687557
489
4,420
6.108384
0.310838
0.060931
0.051222
0.039839
0.256445
0.203884
0.13927
0.13927
0.13927
0.13927
0
0.001716
0.208824
4,420
127
83
34.80315
0.852445
0.138688
0
0.207792
0
0
0.136095
0.009414
0
0
0
0
0
1
0.155844
false
0
0.155844
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b121d06579c9fe4a28e2ae542310fc48399f84b3
1,411
py
Python
app/my_bokeh_app.py
adarsh0806/scipy2015-blaze-bokeh
a8d1f63fd04c88e812992d4f5d55afa1b26f1a10
[ "MIT" ]
168
2015-06-29T21:18:57.000Z
2021-03-13T19:44:00.000Z
app/my_bokeh_app.py
kunalj101/scipy2015-blaze-bokeh
a8d1f63fd04c88e812992d4f5d55afa1b26f1a10
[ "MIT" ]
5
2015-07-06T19:53:33.000Z
2022-01-29T01:54:53.000Z
app/my_bokeh_app.py
chdoig/scipy2015-blaze-bokeh
a8d1f63fd04c88e812992d4f5d55afa1b26f1a10
[ "MIT" ]
77
2015-06-29T19:37:20.000Z
2020-02-26T23:18:49.000Z
# -*- coding: utf-8 -*- import math from collections import OrderedDict import flask import pandas as pd import netCDF4 import numpy as np from bokeh.embed import components from bokeh.resources import INLINE from bokeh.templates import RESOURCES from bokeh.util.string import encode_utf8 from bokeh.models import Da...
23.915254
90
0.717222
188
1,411
5.18617
0.446809
0.073846
0.030769
0
0
0
0
0
0
0
0
0.010582
0.196315
1,411
59
91
23.915254
0.849206
0.024805
0
0
0
0
0.013828
0
0
0
0
0
0
1
0.023256
false
0
0.395349
0
0.44186
0
0
0
0
null
0
0
0
0
0
0
0
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
b1331e9e50a9e97fc97a112b25bd6d390bb858c5
4,839
py
Python
src/ocr_json2cc.py
AzureMediaCognitiveDemos/Video-OCR-Search
3255180ce2e530b9332a8ca6ca8a80112ecba7cf
[ "MIT" ]
null
null
null
src/ocr_json2cc.py
AzureMediaCognitiveDemos/Video-OCR-Search
3255180ce2e530b9332a8ca6ca8a80112ecba7cf
[ "MIT" ]
null
null
null
src/ocr_json2cc.py
AzureMediaCognitiveDemos/Video-OCR-Search
3255180ce2e530b9332a8ca6ca8a80112ecba7cf
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import json def empty(s): return False if (s and not s.isspace()) else True def get_if_key_exist(obj,key): return obj[key] if obj.has_key(key) else '' def sec2timefmt(int_sec): h= int_sec / 3600 m= (int_sec % 3600)/60 s= int_sec % 60 ...
32.26
84
0.580698
643
4,839
3.987558
0.175739
0.035491
0.037442
0.035491
0.409906
0.349454
0.336193
0.278471
0.278471
0.278471
0
0.020118
0.301509
4,839
149
85
32.47651
0.738462
0.024592
0
0.305785
0
0
0.055791
0
0
0
0
0
0
0
null
null
0
0.016529
null
null
0.132231
0
0
0
null
0
0
0
0
0
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
b135ba8e4e34fdc74b7c811905863e134951c3a2
210
py
Python
script/issue_cmd.py
ScarletAI/Arch-Apple-Installer
1614f27ac06dc28022d0d2fec40f5b896e4410e8
[ "MIT" ]
4
2021-12-20T16:26:23.000Z
2021-12-21T10:21:20.000Z
script/issue_cmd.py
ScarletAI/Arch-Apple-Installer
1614f27ac06dc28022d0d2fec40f5b896e4410e8
[ "MIT" ]
1
2022-01-02T02:03:16.000Z
2022-01-02T02:03:16.000Z
script/issue_cmd.py
ScarletAI/Arch-Apple-Installer
1614f27ac06dc28022d0d2fec40f5b896e4410e8
[ "MIT" ]
null
null
null
import sys, usb.core dev = usb.core.find(idVendor=0x05ac, idProduct=0x4141) if dev is None: raise ValueError('Device not found') dev.set_configuration() dev.ctrl_transfer(0x21, 3, 0, 0, sys.argv[1] + '\n')
30
54
0.719048
35
210
4.257143
0.8
0.09396
0
0
0
0
0
0
0
0
0
0.081967
0.128571
210
7
55
30
0.73224
0
0
0
0
0
0.085308
0
0
0
0.075829
0
0
1
0
false
0
0.166667
0
0.166667
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
b13a4807805ecb60bf419dbdee3f2ef0cb5d6c61
1,127
py
Python
ClipboardSharer-Windows.py
EnriqueSoria/Android-PC-clipboard-sharer
0d42408abd950fd7ed24e80aac9a087d1e7f4c5b
[ "MIT" ]
1
2015-07-03T14:39:45.000Z
2015-07-03T14:39:45.000Z
ClipboardSharer-Windows.py
EnriqueSoria/Android-PC-clipboard-sharer
0d42408abd950fd7ed24e80aac9a087d1e7f4c5b
[ "MIT" ]
null
null
null
ClipboardSharer-Windows.py
EnriqueSoria/Android-PC-clipboard-sharer
0d42408abd950fd7ed24e80aac9a087d1e7f4c5b
[ "MIT" ]
null
null
null
''' PC (server) side. It receives data, and puts it into the clipboard. It needs: http://sourceforge.net/projects/pywin32/ ''' import socket import time import win32clipboard def get_clipboard(): ''' Opens a clipbard and get the text ''' win32clipboard.OpenClipboard() data = win32clipboard.GetClipboardData() w...
23
74
0.750665
149
1,127
5.590604
0.536913
0.064826
0
0
0
0
0
0
0
0
0
0.043077
0.134871
1,127
48
75
23.479167
0.811282
0.079858
0
0.137931
0
0
0.045455
0
0
0
0
0
0
0
null
null
0
0.103448
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
b140ce1f719d6902125f08f7add859c30e1fb4ee
23,214
py
Python
python/hfbs_fpga.py
uwsampa/hfbs
696c0ba50ca35ea885a662bfe3dc8927914692c7
[ "MIT" ]
25
2017-10-18T19:02:47.000Z
2021-12-30T06:52:23.000Z
python/hfbs_fpga.py
uwsampa/hfbs
696c0ba50ca35ea885a662bfe3dc8927914692c7
[ "MIT" ]
3
2019-08-12T23:38:29.000Z
2021-03-05T09:26:14.000Z
python/hfbs_fpga.py
uwsampa/hfbs
696c0ba50ca35ea885a662bfe3dc8927914692c7
[ "MIT" ]
9
2017-11-09T08:54:52.000Z
2020-07-17T09:41:51.000Z
#!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt from scipy.sparse import csr_matrix import os import time import datetime import argparse from multiprocessing import Process, Queue # local imports import utils #flags RUN_FPGA = False VERBOSE = True FIXEDP = True LOOP_OUTSIDE = False NO_GARBA...
37.746341
123
0.583226
3,314
23,214
3.823476
0.116777
0.0322
0.029516
0.025255
0.602715
0.579433
0.546445
0.519217
0.498777
0.465315
0
0.027926
0.282717
23,214
614
124
37.807818
0.733049
0.114801
0
0.485075
0
0
0.060815
0.005178
0
0
0
0.001629
0
0
null
null
0
0.022388
null
null
0.084577
0
0
0
null
0
0
0
0
0
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
b1486533b961bd6387d9bf45be882f77973a5c1c
778
py
Python
ext/DataMining/0_DA/udfs/text/preprocessing.py
Jie-Yuan/1_DataMining
f5338388b4f883233f350d4fb9c5903180883430
[ "Apache-2.0" ]
14
2019-06-25T13:46:32.000Z
2020-10-27T02:04:59.000Z
tql/utils/pandas_utils/0_DA/udfs/text/preprocessing.py
Jie-Yuan/2_DataMining
f5338388b4f883233f350d4fb9c5903180883430
[ "Apache-2.0" ]
null
null
null
tql/utils/pandas_utils/0_DA/udfs/text/preprocessing.py
Jie-Yuan/2_DataMining
f5338388b4f883233f350d4fb9c5903180883430
[ "Apache-2.0" ]
7
2019-06-25T13:26:16.000Z
2020-10-27T02:05:03.000Z
# coding: utf-8 import jieba from snownlp import SnowNLP def get_text_tokens(text, stop_words_path="./stop_words.txt"): text_tokens = jieba.cut(text.strip()) stop_words = get_stop_words(stop_words_path) word_list = [] for word in text_tokens: if word not in stop_words: if word != ...
20.473684
62
0.628535
108
778
4.314815
0.361111
0.193133
0.083691
0.072961
0.107296
0.107296
0
0
0
0
0
0.003436
0.251928
778
37
63
21.027027
0.797251
0.116967
0
0
0
0
0.05255
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
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
b148e123feca8859f853b5f155b7ef2f29441742
758
py
Python
venv/lib/python3.6/site-packages/furl/compat.py
ostar0816/mc-crypto
80ad9896aed1dc952f819a404a458ccfad207d8e
[ "MIT" ]
4
2018-10-19T04:36:20.000Z
2020-02-13T16:14:09.000Z
venv/lib/python3.6/site-packages/furl/compat.py
ostar0816/mc-crypto
80ad9896aed1dc952f819a404a458ccfad207d8e
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/furl/compat.py
ostar0816/mc-crypto
80ad9896aed1dc952f819a404a458ccfad207d8e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # furl - URL manipulation made simple. # # Arthur Grunseid # grunseid.com # grunseid@gmail.com # # License: Build Amazing Things (Unlicense) # import sys if sys.version_info[0] == 2: basestring = basestring else: basestring = (str, bytes) if list(sys.version_info[:2]) >= [2, 7]: ...
20.486486
76
0.643799
94
758
4.904255
0.56383
0.065076
0.091106
0.069414
0.190889
0.117137
0
0
0
0
0
0.022569
0.240106
758
36
77
21.055556
0.777778
0.336412
0
0.3125
0
0
0.008475
0
0
0
0
0
0
1
0.125
false
0
0.1875
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
b14f9154208238f546ecc7e4542bdee929c6a3d2
1,650
py
Python
models/predictive models/log_env.py
AmineKheldouni/Graphs-in-Machine-Learning
003217495c624eaa33d44d679a0bc2164ca1f3d2
[ "MIT" ]
1
2019-01-04T23:35:50.000Z
2019-01-04T23:35:50.000Z
models/predictive models/log_env.py
AmineKheldouni/Graphs-in-Machine-Learning
003217495c624eaa33d44d679a0bc2164ca1f3d2
[ "MIT" ]
null
null
null
models/predictive models/log_env.py
AmineKheldouni/Graphs-in-Machine-Learning
003217495c624eaa33d44d679a0bc2164ca1f3d2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import time import gym import numpy as np import matplotlib.pyplot as plt from gym.envs.classic_control.cartpole import * from gym.envs.mujoco import * import pandas as pd # from gym.envs.registration import * # from gym.wrappers.time_limit import TimeLimit env_name = 'Walker2d-v2' e...
27.5
104
0.672121
247
1,650
4.352227
0.392713
0.071628
0.052093
0.050233
0.031628
0.031628
0.031628
0
0
0
0
0.057021
0.149697
1,650
59
105
27.966102
0.709195
0.710303
0
0
0
0
0.025522
0
0
0
0
0
0
1
0
false
0
0.470588
0
0.470588
0.058824
0
0
0
null
0
0
0
0
0
0
0
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
b159f790b499c6624aaf28e6b4dc646778627fba
4,125
py
Python
speechsep/_nbdev.py
holyfiddlex/Speech-Separation
fda075665021e6f176cbd14b31788912799ad6e2
[ "Apache-2.0" ]
1
2020-05-21T18:11:08.000Z
2020-05-21T18:11:08.000Z
speechsep/_nbdev.py
holyfiddlex/Speech-Separation
fda075665021e6f176cbd14b31788912799ad6e2
[ "Apache-2.0" ]
4
2021-04-25T15:47:12.000Z
2021-09-27T23:52:29.000Z
speechsep/_nbdev.py
holyfiddlex/Speech-Separation
fda075665021e6f176cbd14b31788912799ad6e2
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"load_audio": "00_core.ipynb", "AudioMono": "00_core.ipynb", "duration": "00_core.ipynb", "SpecImage": "00_core.ipynb", "ArrayAudioBase": "00_core.ipynb", "ArraySp...
36.830357
65
0.552485
461
4,125
4.644252
0.32538
0.096684
0.150397
0.029893
0.017282
0
0
0
0
0
0
0.061938
0.272
4,125
111
66
37.162162
0.651016
0.008727
0
0
1
0
0.563983
0
0
0
0
0
0
1
0.009615
false
0
0
0.009615
0.009615
0
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
b162e4847f8d2cd4daf3e57cbc7826fc992bd48a
438
py
Python
ch02/todos/model.py
PacktPublishing/Building-Web-APIs-with-FastAPI-and-Python
692bd0b0666ffd24bd60fb7c6428e131722dec23
[ "MIT" ]
6
2021-10-01T23:23:48.000Z
2022-03-27T16:38:33.000Z
ch02/todos/model.py
PacktPublishing/Building-Web-APIs-with-FastAPI-and-Python
692bd0b0666ffd24bd60fb7c6428e131722dec23
[ "MIT" ]
null
null
null
ch02/todos/model.py
PacktPublishing/Building-Web-APIs-with-FastAPI-and-Python
692bd0b0666ffd24bd60fb7c6428e131722dec23
[ "MIT" ]
6
2021-04-18T12:44:31.000Z
2022-02-17T10:30:25.000Z
from pydantic import BaseModel class Todo(BaseModel): id: int item: str class Config: schema_extra = { "example": { "id": 1, "item": "Example Schema!" } } class TodoItem(BaseModel): item: str class Config: schema_e...
16.846154
59
0.449772
39
438
5
0.564103
0.071795
0.123077
0.184615
0.369231
0.369231
0.369231
0
0
0
0
0.004184
0.454338
438
25
60
17.52
0.811715
0
0
0.421053
0
0
0.164384
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.421053
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
b1663dc55f367ebcabff79533f9751f2badf126b
1,679
py
Python
app/modules/system/view.py
iamjohnnym/jane
3fe7e5a6a0f974ac914d9aba3a47debf664e6a28
[ "Apache-2.0" ]
2
2015-06-09T23:53:52.000Z
2015-10-21T06:14:01.000Z
app/modules/system/view.py
iamjohnnym/jane
3fe7e5a6a0f974ac914d9aba3a47debf664e6a28
[ "Apache-2.0" ]
null
null
null
app/modules/system/view.py
iamjohnnym/jane
3fe7e5a6a0f974ac914d9aba3a47debf664e6a28
[ "Apache-2.0" ]
null
null
null
from flask import render_template, flash, redirect, session, url_for, Blueprint from app.modules.domain.forms.form import AddDomain from app.modules.user.forms.form import UserForm from app.modules.domain.main import Domain mod = Blueprint('domains', __name__) @mod.route('/domains-list', methods = ['GET', 'POST']) def...
35.723404
79
0.568791
183
1,679
5.098361
0.371585
0.060021
0.07717
0.111468
0.383708
0.383708
0.381565
0.381565
0.381565
0.355841
0
0.001736
0.313877
1,679
46
80
36.5
0.80816
0
0
0.418605
0
0
0.182847
0.058368
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.046512
0
0
0
null
0
0
0
0
0
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
b166809dc6a87a0f9331fea8f46c9c66784f99b7
19,936
py
Python
research-analytics/plots.py
MalloryWittwer/research-analytics
320c40d90cfd02e635e76805874b4a312ea894dc
[ "MIT" ]
null
null
null
research-analytics/plots.py
MalloryWittwer/research-analytics
320c40d90cfd02e635e76805874b4a312ea894dc
[ "MIT" ]
null
null
null
research-analytics/plots.py
MalloryWittwer/research-analytics
320c40d90cfd02e635e76805874b4a312ea894dc
[ "MIT" ]
null
null
null
#--------------------------------------------------------------------------# # This code generates plots to be displayed in Dashboards # #--------------------------------------------------------------------------# # imports ------------------------------------------------------------------ from numpy...
43.058315
132
0.597161
2,511
19,936
4.530466
0.107925
0.038766
0.004747
0.024613
0.642141
0.608034
0.577883
0.560214
0.524789
0.504044
0
0.028948
0.239316
19,936
463
133
43.058315
0.7212
0.036116
0
0.568627
1
0
0.157664
0.003441
0
0
0
0
0
1
0.051471
false
0.002451
0.017157
0
0.120098
0
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
b167d1cab5bebd33efb026680aa1aa8e15e46233
921
py
Python
httypist/schema.py
m42e/httypist
6ded7c7b33b19694a2ccbc699762d8ad64aa3810
[ "MIT" ]
null
null
null
httypist/schema.py
m42e/httypist
6ded7c7b33b19694a2ccbc699762d8ad64aa3810
[ "MIT" ]
null
null
null
httypist/schema.py
m42e/httypist
6ded7c7b33b19694a2ccbc699762d8ad64aa3810
[ "MIT" ]
null
null
null
import typing as t import datetime from pydantic import BaseModel from enum import Enum class Response(BaseModel): status: str success: bool result: t.Union["ErrorResult", "RequestResult", "StatusResult", "RespsoneResult", "MultipleRequestsResult", str] class Config: schema_extra = { ...
19.595745
116
0.695983
99
921
6.40404
0.464646
0.031546
0.037855
0.044164
0
0
0
0
0
0
0
0
0.205212
921
46
117
20.021739
0.86612
0
0
0
0
0
0.115092
0.023887
0
0
0
0
0
1
0
false
0
0.129032
0
0.903226
0
0
0
0
null
0
0
0
0
0
0
0
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
b168695ff99454ec00280fdfc52b347d3aae1e9d
1,733
py
Python
tf-shapes.py
victor-iyiola/tensorflow-examples
ec855e7c6edb6daa624e40d3505f04db06a879e4
[ "MIT" ]
null
null
null
tf-shapes.py
victor-iyiola/tensorflow-examples
ec855e7c6edb6daa624e40d3505f04db06a879e4
[ "MIT" ]
null
null
null
tf-shapes.py
victor-iyiola/tensorflow-examples
ec855e7c6edb6daa624e40d3505f04db06a879e4
[ "MIT" ]
null
null
null
"""TensorFlow has two major kinds of "shape" - The Static Shape - The Dynamic Shape """ # To ignore tensorflow version warning import warnings warnings.filterwarnings("ignore") import tensorflow as tf print(tf.VERSION) # Demo: TF Static Shape my_tensor = tf.ones(shape=[8, 2]) print('my_tensor = {}'.format(my_tensor)...
30.946429
77
0.738604
262
1,733
4.709924
0.293893
0.077796
0.042139
0.068071
0.181524
0.181524
0.181524
0.181524
0.181524
0.103728
0
0.009229
0.124639
1,733
55
78
31.509091
0.804219
0.361223
0
0.24
0
0
0.20864
0.068015
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0.48
0
0
0
null
0
0
0
0
0
0
0
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
b16c6c851fb005fcf12f22a27153cdf5e2f6466f
14,237
py
Python
db/trainbmi.py
sgowda/brain-python-interface
708e2a5229d0496a8ce9de32bda66f0925d366d9
[ "Apache-2.0" ]
7
2015-08-25T00:28:49.000Z
2020-04-14T22:58:51.000Z
db/trainbmi.py
sgowda/brain-python-interface
708e2a5229d0496a8ce9de32bda66f0925d366d9
[ "Apache-2.0" ]
35
2015-07-14T19:57:50.000Z
2022-02-10T09:38:27.000Z
db/trainbmi.py
sgowda/brain-python-interface
708e2a5229d0496a8ce9de32bda66f0925d366d9
[ "Apache-2.0" ]
4
2016-10-05T17:54:26.000Z
2020-08-06T15:37:09.000Z
''' Functions to call appropriate constructor functions based on UI data and to link decoder objects in the database ''' import os import re import tempfile import xmlrpc.client import pickle import json import logging import numpy as np from celery import task, chain from django.http import HttpResponse from riglib....
39.220386
151
0.700358
1,864
14,237
5.171137
0.175429
0.038386
0.038801
0.024899
0.525988
0.506484
0.495487
0.481793
0.456479
0.442681
0
0.004705
0.208752
14,237
362
152
39.328729
0.850954
0.18185
0
0.539095
0
0
0.074048
0.019302
0
0
0
0.005525
0.004115
1
0.041152
false
0
0.37037
0
0.411523
0.053498
0
0
0
null
0
0
0
0
0
0
0
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
b16ce3599d70fc2f2a4e012d0fece516f3e00e7d
2,229
py
Python
chexpert-model/IRNet/test_cams_seg_labels.py
stanfordmlgroup/CheXseg
ca345d7c4523816c174aafd2c40929345b38b2b2
[ "MIT" ]
7
2021-05-19T20:55:42.000Z
2022-03-22T05:20:59.000Z
chexpert-model/IRNet/test_cams_seg_labels.py
subratac/CheXseg
fb5c411ce08e394cd4a2a87d963843942bdc2021
[ "MIT" ]
null
null
null
chexpert-model/IRNet/test_cams_seg_labels.py
subratac/CheXseg
fb5c411ce08e394cd4a2a87d963843942bdc2021
[ "MIT" ]
3
2021-05-19T20:52:39.000Z
2021-09-01T01:57:25.000Z
import sys import os sys.path.append(os.path.abspath("../")) import torch import numpy as np import torch.nn as nn from torch import multiprocessing, cuda from misc import torchutils, indexing, imutils from data.chexpert_dataset_irnet import CheXpertTestCAMDatasetIRNet from torch.utils.data import DataLoader from con...
33.268657
141
0.668013
296
2,229
4.746622
0.334459
0.057651
0.039146
0.031317
0.068327
0.029893
0
0
0
0
0
0.005257
0.231943
2,229
66
142
33.772727
0.815421
0.002243
0
0
0
0
0.059856
0.011251
0
0
0
0
0
1
0.021277
false
0
0.340426
0
0.361702
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b16dc1cc0d1019f17b0b04a385fc21b5824efcd9
758
py
Python
hazelcast/protocol/codec/map_values_with_predicate_codec.py
tonytheonlypony/hazelcast-python-client
3aafeaf2ebc05aee4f2386c62c079db496a7c81f
[ "Apache-2.0" ]
98
2015-12-08T14:26:27.000Z
2022-03-23T17:44:11.000Z
hazelcast/protocol/codec/map_values_with_predicate_codec.py
tonytheonlypony/hazelcast-python-client
3aafeaf2ebc05aee4f2386c62c079db496a7c81f
[ "Apache-2.0" ]
396
2016-02-23T11:07:55.000Z
2022-03-31T14:26:34.000Z
hazelcast/protocol/codec/map_values_with_predicate_codec.py
tonytheonlypony/hazelcast-python-client
3aafeaf2ebc05aee4f2386c62c079db496a7c81f
[ "Apache-2.0" ]
62
2015-12-09T11:20:53.000Z
2022-01-28T01:30:54.000Z
from hazelcast.protocol.client_message import OutboundMessage, REQUEST_HEADER_SIZE, create_initial_buffer from hazelcast.protocol.builtin import StringCodec from hazelcast.protocol.builtin import DataCodec from hazelcast.protocol.builtin import ListMultiFrameCodec # hex: 0x012700 _REQUEST_MESSAGE_TYPE = 75520 # hex: 0...
31.583333
105
0.825858
92
758
6.48913
0.380435
0.087102
0.140704
0.140704
0.271357
0
0
0
0
0
0
0.035608
0.110818
758
23
106
32.956522
0.850148
0.03562
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b174023023cee544a1caca7e5382e99d0c05bf09
1,747
py
Python
brambling/migrations/0009_set_stripe_metadata.py
j-po/django-brambling
be072903fbdecb94f1ec4680b717adc44e73c80b
[ "BSD-3-Clause" ]
null
null
null
brambling/migrations/0009_set_stripe_metadata.py
j-po/django-brambling
be072903fbdecb94f1ec4680b717adc44e73c80b
[ "BSD-3-Clause" ]
null
null
null
brambling/migrations/0009_set_stripe_metadata.py
j-po/django-brambling
be072903fbdecb94f1ec4680b717adc44e73c80b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import warnings from django.db import models, migrations import stripe def set_stripe_metadata(apps, schema_editor): # Try to set remote metadata for all recorded transactions. # But don't get too upset if it all fails ;) Transaction = apps...
32.962264
78
0.630796
188
1,747
5.654255
0.484043
0.067733
0.031985
0.052681
0.111947
0.07714
0.07714
0
0
0
0
0.013428
0.275329
1,747
52
79
33.596154
0.826224
0.069834
0
0
0
0
0.088834
0.030228
0
0
0
0
0
0
null
null
0
0.097561
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
b17c3c9e81e3c24709f00db5352908678f53e340
717
py
Python
mycode/modify_tif.py
Xjg-0216/DCSNet
0ed27d01ef1d3dbff7613ab3b145f95a32c071eb
[ "MIT" ]
null
null
null
mycode/modify_tif.py
Xjg-0216/DCSNet
0ed27d01ef1d3dbff7613ab3b145f95a32c071eb
[ "MIT" ]
null
null
null
mycode/modify_tif.py
Xjg-0216/DCSNet
0ed27d01ef1d3dbff7613ab3b145f95a32c071eb
[ "MIT" ]
null
null
null
# coding = utf8 # /usr/bin/env python ''' Author: Xjg Email: date: 2021/12/15 下午3:19 desc: ''' import cv2 import os from glob import glob from tqdm import tqdm import shutil path = '/data2/20120017/datasets/testData/train/target/' # # if not os.path.exists(save_path): # os.makedirs(save_path) imgs_path = glo...
21.727273
62
0.677824
115
717
4.069565
0.495652
0.089744
0.042735
0.059829
0
0
0
0
0
0
0
0.049669
0.157601
717
33
63
21.727273
0.725166
0.490934
0
0
0
0
0.17192
0.13467
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b17e1ce012689acc1bede6333bb1aa5477af7b8c
426
py
Python
pype/modules/rest_api/lib/exceptions.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
pype/modules/rest_api/lib/exceptions.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
pype/modules/rest_api/lib/exceptions.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
class ObjAlreadyExist(Exception): """Is used when is created multiple objects of same RestApi class.""" def __init__(self, cls=None, message=None): if not (cls and message): message = "RestApi object was created twice." elif not message: message = "{} object was created t...
32.769231
73
0.652582
50
426
5.32
0.6
0.105263
0.120301
0.157895
0
0
0
0
0
0
0
0
0.246479
426
12
74
35.5
0.82866
0.147887
0
0
0
0
0.170868
0
0
0
0
0
0
1
0.111111
false
0.111111
0
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
b18024e4663e572b196eb2a11d4138320d107ca5
5,612
py
Python
ChaosFunctions/get_stationary.py
Psicowired87/ChaosFunctions
00db0686bb1e9113265fd6e4f276a87fa6470dde
[ "MIT" ]
null
null
null
ChaosFunctions/get_stationary.py
Psicowired87/ChaosFunctions
00db0686bb1e9113265fd6e4f276a87fa6470dde
[ "MIT" ]
null
null
null
ChaosFunctions/get_stationary.py
Psicowired87/ChaosFunctions
00db0686bb1e9113265fd6e4f276a87fa6470dde
[ "MIT" ]
null
null
null
"""This module contains the tools needed to extract the stationary points of a dynamics and to stop when it is considered enough. """ import numpy as np def logistic_map_bif_diagram(range_par, stop_f): """Logistic map bifurcation diagram computation. Parameters ---------- range_par: list or np.ndar...
26.347418
79
0.601033
739
5,612
4.447903
0.250338
0.06693
0.029206
0.024338
0.239124
0.206267
0.206267
0.164892
0.102221
0.052936
0
0.015248
0.298824
5,612
212
80
26.471698
0.820076
0.006949
0
0.061538
0
0
0.028885
0
0
0
0
0
0
0
null
null
0
0.015385
null
null
0.015385
0
0
0
null
0
0
0
0
0
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
b1816f03d33d79add9a2b0e34be1c9a988dc3530
779
py
Python
df.py
gbanegas/KissECC
2630998178955a6e68adec34e30802447057c58f
[ "Apache-2.0" ]
1
2017-02-08T16:01:48.000Z
2017-02-08T16:01:48.000Z
df.py
gbanegas/ecc
2630998178955a6e68adec34e30802447057c58f
[ "Apache-2.0" ]
null
null
null
df.py
gbanegas/ecc
2630998178955a6e68adec34e30802447057c58f
[ "Apache-2.0" ]
null
null
null
from ecc import EC class DiffieHellman(object): """Elliptic Curve Diffie Hellman (Key Agreement) - ec: elliptic curve - g: a point on ec """ def __init__(self, ec, g): self.ec = ec self.g = g self.n = ec.order(g) pass def gen(self, priv): """generate pub ...
27.821429
55
0.562259
117
779
3.700855
0.401709
0.096998
0.055427
0.069284
0.055427
0
0
0
0
0
0
0.001916
0.32991
779
27
56
28.851852
0.827586
0.320924
0
0.133333
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0.133333
0.066667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b183bf601c6e62e652f04b3452eef60239969643
402
py
Python
Email Sender/email.py
Arbazkhan4712/Python---Programs
41b96be663676b144daedf95fb0830883c6b4e3a
[ "MIT" ]
1
2020-09-30T08:56:46.000Z
2020-09-30T08:56:46.000Z
Email Sender/email.py
Arbazkhan4712/Python---Programs
41b96be663676b144daedf95fb0830883c6b4e3a
[ "MIT" ]
null
null
null
Email Sender/email.py
Arbazkhan4712/Python---Programs
41b96be663676b144daedf95fb0830883c6b4e3a
[ "MIT" ]
1
2020-11-12T23:36:05.000Z
2020-11-12T23:36:05.000Z
import smtplib to = input("Enter the recivers email id : \n") content = input("Enter the content to send : \n") def sendEmail(to, content): server = smtplib.SMTP('smtp.gmail.com', 587) server.ehlo() server.starttls() server.login('Senderemail@gmail.com', 'Password') server.sendmail('Se...
26.8
59
0.656716
51
402
5.176471
0.509804
0.102273
0.098485
0
0
0
0
0
0
0
0
0.009317
0.199005
402
15
60
26.8
0.810559
0
0
0
0
0
0.323907
0.107969
0
0
0
0
0
1
0.090909
false
0.090909
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b185913e179f4e80bea8c80ce38538a08105e72a
1,241
py
Python
generator.py
PetarPeychev/drunk-caves
b33ca13c5a08a4e188711c127fc32ef8a4053cd4
[ "Unlicense" ]
1
2020-01-15T21:21:12.000Z
2020-01-15T21:21:12.000Z
generator.py
PetarPeychev/drunk-caves
b33ca13c5a08a4e188711c127fc32ef8a4053cd4
[ "Unlicense" ]
null
null
null
generator.py
PetarPeychev/drunk-caves
b33ca13c5a08a4e188711c127fc32ef8a4053cd4
[ "Unlicense" ]
null
null
null
import random def generate(width, height, percentage): map = [[1 for i in range(height)] for j in range(width)] min_x = 1 max_x = width - 2 min_y = 1 max_y = height - 2 x = random.randint(min_x, max_x) y = random.randint(min_y, max_y) map_cells = width * height filled_cells = 0 ...
26.978261
62
0.5278
176
1,241
3.4375
0.193182
0.109091
0.069421
0.046281
0.287603
0.287603
0.198347
0.198347
0.198347
0.105785
0
0.024902
0.385173
1,241
45
63
27.577778
0.768021
0
0
0.083333
1
0
0
0
0
0
0
0
0
1
0.027778
false
0
0.027778
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b18b816a4d113b1221f8509e594278c8c3a83edc
723
py
Python
webtemplate_dbca/tests/urls.py
parksandwildlife/webtemplate
5a4acf86cbc696d81bc8fc00c67872665822ff95
[ "Apache-2.0" ]
null
null
null
webtemplate_dbca/tests/urls.py
parksandwildlife/webtemplate
5a4acf86cbc696d81bc8fc00c67872665822ff95
[ "Apache-2.0" ]
1
2018-08-22T07:54:05.000Z
2018-08-22T07:54:05.000Z
webtemplate_dbca/tests/urls.py
parksandwildlife/webtemplate
5a4acf86cbc696d81bc8fc00c67872665822ff95
[ "Apache-2.0" ]
1
2021-06-25T02:43:47.000Z
2021-06-25T02:43:47.000Z
from django.urls import path from .views import TestPage, TestDBCAPage, TestPage2, TestInternetPage, TestB4Page, TestB5Page urlpatterns = [ path('test/', TestPage.as_view(), name='test_page'), path('test-dbca/', TestDBCAPage.as_view(), name='test_dbca_page'), path('test2/', TestPage2.as_view(), name='test_...
48.2
94
0.698479
97
723
5.010309
0.360825
0.098765
0.164609
0.17284
0.148148
0
0
0
0
0
0
0.018957
0.124481
723
14
95
51.642857
0.748815
0.084371
0
0
0
0
0.228788
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
b197a6a413b868e9023dba6e093ae91717ab2ce0
897
py
Python
simplified/analyze_all.py
iorodeo/photogate_test
92df48ffa8a7141063bc03d868fa2920db66d80e
[ "Apache-2.0" ]
null
null
null
simplified/analyze_all.py
iorodeo/photogate_test
92df48ffa8a7141063bc03d868fa2920db66d80e
[ "Apache-2.0" ]
null
null
null
simplified/analyze_all.py
iorodeo/photogate_test
92df48ffa8a7141063bc03d868fa2920db66d80e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import scipy import pylab from analyze_trial import get_period GRAV_CONST = 9.81 data_files = sys.argv[1:] period_vals = [] length_vals = [] # Read data file and compute periods for file_name in data_files: print 'analyzing: ', file_name pend_len, period = get_period(file_na...
20.386364
63
0.735786
138
897
4.536232
0.405797
0.111821
0.051118
0.063898
0
0
0
0
0
0
0
0.011704
0.142698
897
43
64
20.860465
0.802341
0.061316
0
0
0
0
0.067146
0
0
0
0
0
0
0
null
null
0
0.148148
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b198744e1aa5f96d8b95eb86c89ecf04930ed778
365
py
Python
HTTPServer.py
okumusg/python
e2c7f37ccb8a5b2e2a89c1150c262411424a5d68
[ "Unlicense" ]
null
null
null
HTTPServer.py
okumusg/python
e2c7f37ccb8a5b2e2a89c1150c262411424a5d68
[ "Unlicense" ]
null
null
null
HTTPServer.py
okumusg/python
e2c7f37ccb8a5b2e2a89c1150c262411424a5d68
[ "Unlicense" ]
null
null
null
'This is a simple http server' #!/usr/bin/python import SimpleHTTPServer import SocketServer port = 10000 # Server port handler = SimpleHTTPServer.SimpleHTTPRequestHandler # Creating HTTP handler instance httpd = SocketServer.TCPServer(("",port),handler) # Creating a TCP Server with HTTP handler print "Http Serv...
21.470588
91
0.778082
45
365
6.288889
0.6
0.070671
0
0
0
0
0
0
0
0
0
0.015974
0.142466
365
16
92
22.8125
0.888179
0.273973
0
0
0
0
0.195402
0
0
0
0
0
0
0
null
null
0
0.25
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
b19d9e2529680fea2cb553f62ffdd438e25d2018
31,379
py
Python
sentiment/absa/aspect_semeval.py
uZeroJ/nlps
ae50be026bfb93bc0d073a9db093136fc76e4f58
[ "Apache-2.0" ]
1
2019-02-25T05:23:09.000Z
2019-02-25T05:23:09.000Z
sentiment/absa/aspect_semeval.py
uZeroJ/nlps
ae50be026bfb93bc0d073a9db093136fc76e4f58
[ "Apache-2.0" ]
null
null
null
sentiment/absa/aspect_semeval.py
uZeroJ/nlps
ae50be026bfb93bc0d073a9db093136fc76e4f58
[ "Apache-2.0" ]
1
2020-08-01T06:14:25.000Z
2020-08-01T06:14:25.000Z
""" This is an implementation of paper "Attention-based LSTM for Aspect-level Sentiment Classification" with Keras. Based on dataset from "SemEval 2014 Task 4". """ import os from time import time # TODO, Here we need logger! import numpy as np from lxml import etree from keras.preprocessing.text import Tokenizer fr...
39.770596
85
0.634756
4,109
31,379
4.664395
0.141397
0.012209
0.013044
0.004383
0.18298
0.134353
0.107899
0.091777
0.064333
0.061098
0
0.009236
0.275375
31,379
788
86
39.821066
0.833671
0.431499
0
0.110145
0
0
0.072349
0.01395
0
0
0
0.010152
0
1
0.043478
false
0.011594
0.043478
0
0.136232
0.028986
0
0
0
null
0
0
0
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
b1a046121a306d873b4397b22103bf5375021fe7
15,253
py
Python
operators/snapscheduler/python/pulumi_pulumi_kubernetes_crds_operators_snapscheduler/snapscheduler/v1/outputs.py
pulumi/pulumi-kubernetes-crds
372c4c0182f6b899af82d6edaad521aa14f22150
[ "Apache-2.0" ]
null
null
null
operators/snapscheduler/python/pulumi_pulumi_kubernetes_crds_operators_snapscheduler/snapscheduler/v1/outputs.py
pulumi/pulumi-kubernetes-crds
372c4c0182f6b899af82d6edaad521aa14f22150
[ "Apache-2.0" ]
2
2020-09-18T17:12:23.000Z
2020-12-30T19:40:56.000Z
operators/snapscheduler/python/pulumi_pulumi_kubernetes_crds_operators_snapscheduler/snapscheduler/v1/outputs.py
pulumi/pulumi-kubernetes-crds
372c4c0182f6b899af82d6edaad521aa14f22150
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by crd2pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outp...
41.44837
302
0.673638
1,749
15,253
5.697541
0.118353
0.020773
0.030005
0.043853
0.582037
0.540993
0.502358
0.452183
0.427697
0.414451
0
0.000173
0.240871
15,253
367
303
41.561308
0.860437
0.357831
0
0.309179
1
0
0.145493
0.071024
0
0
0
0
0
1
0.178744
false
0
0.028986
0.062802
0.386473
0
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
b1a2b7737f1e5c870878ba12eb55b110019d69f1
4,250
py
Python
bin/csv_latency_parser_bqr.py
icsa-caps/Odyssey
32a285380147bd219248543cb34d51e3e8097583
[ "Apache-2.0" ]
7
2021-01-26T16:22:16.000Z
2021-05-10T05:58:56.000Z
bin/csv_latency_parser_bqr.py
icsa-caps/Odyssey
32a285380147bd219248543cb34d51e3e8097583
[ "Apache-2.0" ]
null
null
null
bin/csv_latency_parser_bqr.py
icsa-caps/Odyssey
32a285380147bd219248543cb34d51e3e8097583
[ "Apache-2.0" ]
5
2020-07-07T17:25:11.000Z
2022-01-06T19:24:43.000Z
#!/usr/bin/python import sys, os, ntpath, getopt """ ======== Parser for aggregated over time results ======== """ class LatencyParser: def __init__(self): self.latency_values = [] self.reads = [] self.max_read_latency = 0 self.max_write_latency = 0 self.writes = [] ...
38.636364
92
0.524235
453
4,250
4.770419
0.183223
0.071263
0.110134
0.066636
0.410458
0.330865
0.270245
0.243406
0.199907
0.199907
0
0.022865
0.341412
4,250
109
93
38.990826
0.749196
0.108235
0
0.337349
0
0
0.054418
0
0
0
0
0
0
0
null
null
0
0.012048
null
null
0.180723
0
0
0
null
0
0
0
0
0
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
b1a489bcaf9be88de5b9ed08271a0936494d1606
611
py
Python
preferences/migrations/0003_auto_20181223_1440.py
nanoy42/coope
3f970fe199f4ad8672cbb3a3200b0c4d110c9847
[ "MIT" ]
3
2019-06-27T21:08:41.000Z
2019-09-07T17:20:39.000Z
preferences/migrations/0003_auto_20181223_1440.py
nanoy42/coope
3f970fe199f4ad8672cbb3a3200b0c4d110c9847
[ "MIT" ]
21
2019-06-09T10:56:53.000Z
2021-06-10T21:35:12.000Z
preferences/migrations/0003_auto_20181223_1440.py
nanoy42/coope
3f970fe199f4ad8672cbb3a3200b0c4d110c9847
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2018-12-23 13:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('preferences', '0002_auto_20181221_2151'), ] operations = [ migrations.AddField( model_name='generalpreferences', name=...
25.458333
57
0.625205
56
611
6.660714
0.660714
0.096515
0.123324
0.144772
0.321716
0.321716
0.321716
0.321716
0.321716
0
0
0.072235
0.274959
611
23
58
26.565217
0.769752
0.070376
0
0.470588
1
0
0.208481
0.090106
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1a5999fa9a1132e9c0cc71bc77d0c512ba8930a
1,383
py
Python
python/network/Foundations-of-Python-Network-Programming/foundations-of-python-network-programming/foundations-of-python-network-programming/python2/06/sslclient.py
bosserbosser/codetest
987563900d912e891b53eeda8e2cf36f3c769430
[ "Apache-2.0" ]
1
2018-01-15T08:38:09.000Z
2018-01-15T08:38:09.000Z
python/network/Foundations-of-Python-Network-Programming/foundations-of-python-network-programming/foundations-of-python-network-programming/python2/06/sslclient.py
bosserbosser/codetest
987563900d912e891b53eeda8e2cf36f3c769430
[ "Apache-2.0" ]
null
null
null
python/network/Foundations-of-Python-Network-Programming/foundations-of-python-network-programming/foundations-of-python-network-programming/python2/06/sslclient.py
bosserbosser/codetest
987563900d912e891b53eeda8e2cf36f3c769430
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Foundations of Python Network Programming - Chapter 6 - sslclient.py # Using SSL to protect a socket in Python 2.6 or later import os, socket, ssl, sys from backports.ssl_match_hostname import match_hostname, CertificateError try: script_name, hostname = sys.argv except ValueError: pri...
33.731707
78
0.727404
213
1,383
4.638498
0.57277
0.039474
0.022267
0
0
0
0
0
0
0
0
0.009524
0.164859
1,383
40
79
34.575
0.845887
0.36081
0
0.095238
0
0
0.141876
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
b1aaed567441eb55dc7a52218694a01401338183
1,347
py
Python
Curso/POO/Persona.py
jsalmoralp/Python-Proyecto-Apuntes
cf4265e08e947aca1dbe9ec4ed1dfb7cb10e9309
[ "MIT" ]
null
null
null
Curso/POO/Persona.py
jsalmoralp/Python-Proyecto-Apuntes
cf4265e08e947aca1dbe9ec4ed1dfb7cb10e9309
[ "MIT" ]
null
null
null
Curso/POO/Persona.py
jsalmoralp/Python-Proyecto-Apuntes
cf4265e08e947aca1dbe9ec4ed1dfb7cb10e9309
[ "MIT" ]
null
null
null
# Apartado 24 (Clases) """ ¿En qué consiste la Programación Orientada a Objetos (POO)? - En trasladar la naturaleza de los objetos de la vida real a código de programación (en algún lenguaje de programación, como Python). Los objetos de la realidad tienen características (atributos o propiedades) y funcionalidades o c...
30.613636
86
0.750557
171
1,347
5.918129
0.590643
0.019763
0.023715
0.027668
0
0
0
0
0
0
0
0.01085
0.178916
1,347
43
87
31.325581
0.903255
0.668151
0
0
0
0
0.082569
0
0
0
0
0.023256
0
1
0.058824
false
0
0
0
0.352941
0.294118
0
0
0
null
0
0
0
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
b1ab0a97d22e2f3728ef4a0f7a8ebfffca94fdbd
596
py
Python
setup.py
wallowind/classification-of-depression-by-EEG-signals-using-neural-networks
772f7131d3e8875baf5a733b565c46a4731e9835
[ "MIT" ]
4
2021-09-07T08:39:11.000Z
2022-03-11T02:31:39.000Z
setup.py
wallowind/classification-of-depression-by-EEG-signals-using-neural-networks
772f7131d3e8875baf5a733b565c46a4731e9835
[ "MIT" ]
null
null
null
setup.py
wallowind/classification-of-depression-by-EEG-signals-using-neural-networks
772f7131d3e8875baf5a733b565c46a4731e9835
[ "MIT" ]
1
2021-11-07T06:31:01.000Z
2021-11-07T06:31:01.000Z
from setuptools import setup, find_packages setup( name="cdenn", version="0.0.1", author="Viktor Sapunov", author_email="wallowind@gmail.com", packages=["cdenn", "cdenn.lib"], url="https://github.com/wallowind/classification-of-depression-by-EEG-signals-using-neural-networks", description="...
35.058824
111
0.604027
75
596
4.76
0.693333
0.089636
0
0
0
0
0
0
0
0
0
0.04
0.244966
596
16
112
37.25
0.753333
0
0
0
0
0.066667
0.506711
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b1ac98d44638afa35d40e9a2efcebf006c764696
1,921
py
Python
deepnet/sparse_code_layer.py
airingzhang/deepnet
549a45aae315ffe6b1051571160624277ca699fb
[ "BSD-3-Clause" ]
626
2015-01-01T02:31:47.000Z
2022-03-04T15:23:25.000Z
deepnet/sparse_code_layer.py
abdulqayyum/deepnet
f4e4ff207923e01552c96038a1e2c29eb5d16160
[ "BSD-3-Clause" ]
47
2015-01-03T08:39:41.000Z
2019-04-02T21:57:06.000Z
deepnet/sparse_code_layer.py
abdulqayyum/deepnet
f4e4ff207923e01552c96038a1e2c29eb5d16160
[ "BSD-3-Clause" ]
342
2015-01-03T15:17:19.000Z
2022-03-21T19:10:25.000Z
from layer import * class SparseCodeLayer(Layer): def AllocateBatchsizeDependentMemory(self, batchsize): super(SparseCodeLayer, self).AllocateBatchsizeDependentMemory(batchsize) self.approximator = cm.empty(self.state.shape) self.temp3 = cm.empty(self.state.shape) self.grad = cm.empty(self.state.sha...
40.020833
76
0.733472
243
1,921
5.654321
0.27572
0.112082
0.168122
0.19214
0.604076
0.546579
0.528384
0.42067
0.256186
0.122271
0
0.011097
0.155648
1,921
47
77
40.87234
0.836005
0.031754
0
0.358974
0
0
0.018909
0
0
0
0
0
0
1
0.076923
false
0.025641
0.025641
0
0.128205
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
49085ba82952812a010035cbbbc794cd720a1f62
718
py
Python
093_Cadastro_de_jogadores.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
093_Cadastro_de_jogadores.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
093_Cadastro_de_jogadores.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
#093_Cadastro_de_jogadores.py jogador = {} gols = [] totgols = 0 print("") jogador['Nome'] = str(input("Nome: ")) jogador['Partidas Jogadas'] = int(input("Quantidades de partidas: ")) for i in range(0,jogador['Partidas Jogadas']): g = int(input(f" Quantidades de gols na {i+1}º partida: ")) gols.append(g) ...
27.615385
75
0.628134
109
718
4.110092
0.357798
0.098214
0.098214
0.022321
0.053571
0
0
0
0
0
0
0.011686
0.165738
718
25
76
28.72
0.736227
0.057103
0
0.181818
0
0
0.401481
0.032593
0
0
0
0
0
1
0
false
0
0
0
0
0.409091
0
0
0
null
0
0
0
0
0
0
0
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
4908a699c189f3c3ca0da63521643fb066fde6f1
7,101
py
Python
pygen_structures/test/test_command_line.py
avanteijlingen/pygen-structures
1d1e696ac1516c7b831ab7aaec9e7ff5bf95533b
[ "BSD-3-Clause" ]
7
2020-04-28T15:26:11.000Z
2022-01-23T22:57:31.000Z
pygen_structures/test/test_command_line.py
avanteijlingen/pygen-structures
1d1e696ac1516c7b831ab7aaec9e7ff5bf95533b
[ "BSD-3-Clause" ]
11
2020-03-02T11:14:20.000Z
2020-04-29T11:39:18.000Z
pygen_structures/test/test_command_line.py
avanteijlingen/pygen-structures
1d1e696ac1516c7b831ab7aaec9e7ff5bf95533b
[ "BSD-3-Clause" ]
2
2020-04-13T17:24:48.000Z
2020-04-29T11:13:15.000Z
import os import sys import io import warnings from pygen_structures.convenience_functions import ( load_charmm_dir, pdb_to_mol ) from pygen_structures import __main__ as cmd_interface FILE_DIR, _ = os.path.split(__file__) TEST_TOPPAR = os.path.join(FILE_DIR, 'test_toppar') def test_arg_parsing(): argv = ...
26.010989
75
0.393466
869
7,101
3.135788
0.162255
0.058716
0.035229
0.039633
0.440734
0.212844
0.195229
0.152661
0.110826
0.065321
0
0.090509
0.327841
7,101
273
76
26.010989
0.480411
0.004225
0
0.100402
0
0
0.11867
0
0
0
0
0
0.13253
1
0.016064
false
0.004016
0.024096
0
0.040161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
49091fd90835cd3658a5eaf13dbee81f2a1e2faa
17,140
py
Python
fortlab/kgextra.py
grnydawn/fortlab
524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d
[ "MIT" ]
null
null
null
fortlab/kgextra.py
grnydawn/fortlab
524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d
[ "MIT" ]
1
2021-03-29T14:54:22.000Z
2021-03-29T14:54:51.000Z
fortlab/kgextra.py
grnydawn/fortlab
524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d
[ "MIT" ]
null
null
null
# kgen_extra.py kgen_file_header = \ """ ! KGEN-generated Fortran source file ! ! Filename : %s ! Generated at: %s ! KGEN version: %s """ kgen_subprograms = \ """FUNCTION kgen_get_newunit() RESULT(new_unit) INTEGER, PARAMETER :: UNIT_MIN=100, UNIT_MAX=1000000 LOGICAL :: is_opened INTEGER :: nunit, new_un...
29.653979
177
0.612952
2,213
17,140
4.55897
0.103479
0.038061
0.029141
0.013084
0.639905
0.584399
0.555853
0.528199
0.519972
0.502032
0
0.039206
0.261902
17,140
577
178
29.705373
0.75828
0.000758
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.071429
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
490cfe48038eca2ae780fa2a136e709b1e74bfdf
2,229
py
Python
Playfair_Keygen/playfair_keygen.py
Positron11/Simulated-Annealing-Playfair-Cipher-Breaker
67253607277786e389e4e0d7dd5664cd99e9d91b
[ "MIT" ]
null
null
null
Playfair_Keygen/playfair_keygen.py
Positron11/Simulated-Annealing-Playfair-Cipher-Breaker
67253607277786e389e4e0d7dd5664cd99e9d91b
[ "MIT" ]
null
null
null
Playfair_Keygen/playfair_keygen.py
Positron11/Simulated-Annealing-Playfair-Cipher-Breaker
67253607277786e389e4e0d7dd5664cd99e9d91b
[ "MIT" ]
null
null
null
from copy import deepcopy from numpy.random import rand from random import shuffle, randint # random playfair cipher key generator def generate_key(ciphertext:str=[]) -> list: # get alphabet list alphabet = [chr(c) for c in range(97,123)] # remove most appropriate letter low_frequency_letters = [letter for letter...
27.8625
91
0.665321
377
2,229
3.864721
0.265252
0.057653
0.037062
0.049417
0.153054
0.089911
0.063143
0.063143
0.024708
0
0
0.036932
0.210408
2,229
80
92
27.8625
0.790909
0.241812
0
0.184211
1
0
0.013189
0
0
0
0
0
0
1
0.078947
false
0
0.078947
0.026316
0.236842
0
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
49142ba3f982993040368fa6f0eeb821c31c2f6d
2,659
py
Python
libs/sdc_etl_libs/api_helpers/apis/Ultipro/Ultipro.py
darknegma/docker-airflow
44e3d02d7ac43c8876145ae47acfbbbde67230df
[ "Apache-2.0" ]
null
null
null
libs/sdc_etl_libs/api_helpers/apis/Ultipro/Ultipro.py
darknegma/docker-airflow
44e3d02d7ac43c8876145ae47acfbbbde67230df
[ "Apache-2.0" ]
3
2021-03-31T19:26:57.000Z
2021-12-13T20:33:01.000Z
libs/sdc_etl_libs/api_helpers/apis/Ultipro/Ultipro.py
darknegma/docker-airflow
44e3d02d7ac43c8876145ae47acfbbbde67230df
[ "Apache-2.0" ]
null
null
null
import logging import backoff import requests from ast import literal_eval from zeep import Client as Zeep from zeep import xsd from sdc_etl_libs.api_helpers.API import API logging.basicConfig(level=logging.INFO) class Ultipro(API): def __init__(self): self.credentials = self.get_credentials("aws_secret...
34.532468
110
0.631064
277
2,659
5.870036
0.415162
0.073801
0.035055
0.02091
0.142681
0.073801
0.073801
0.073801
0
0
0
0.001538
0.266642
2,659
77
111
34.532468
0.832308
0.154945
0
0.130435
0
0
0.246255
0.07397
0
0
0
0
0
1
0.130435
false
0.086957
0.152174
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
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
491e4428922db19d0e001077c1baaec9abce850e
2,689
py
Python
cargame.py
aman9080/pygame-car-project
6299bc14a88fbed47d3e69af7af18717852cc16e
[ "BSL-1.0" ]
null
null
null
cargame.py
aman9080/pygame-car-project
6299bc14a88fbed47d3e69af7af18717852cc16e
[ "BSL-1.0" ]
null
null
null
cargame.py
aman9080/pygame-car-project
6299bc14a88fbed47d3e69af7af18717852cc16e
[ "BSL-1.0" ]
null
null
null
# http://richard.cgpublisher.com/product/pub.84/prod.11 # INTIALISATION import pygame, math, sys from pygame.locals import * TURN_SPEED = 6 ACCELERATION = 3 MAX_FORWARD_SPEED = 0 MAX_REVERSE_SPEED =5 BG = (0, 75, 100) # initialize the screen with size (MAX_X, MAX_Y) screen = pygame.display.set_mode(...
29.877778
73
0.593157
384
2,689
4.041667
0.356771
0.036082
0.034794
0.041881
0.042526
0.030928
0.030928
0
0
0
0
0.022126
0.310896
2,689
89
74
30.213483
0.815434
0.282261
0
0
0
0
0.016004
0
0
0
0
0.011236
0
1
0
false
0
0.032258
0
0.032258
0.016129
0
0
0
null
0
0
0
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
4921d0ccc52f4d8e8772ad3981dcc8667d7740f9
3,998
py
Python
ntcl_build_tools/build_info.py
cheshyre/ntcl-build
133bb44af6c7a2017431ca78fd0e60b91396322a
[ "BSD-3-Clause" ]
null
null
null
ntcl_build_tools/build_info.py
cheshyre/ntcl-build
133bb44af6c7a2017431ca78fd0e60b91396322a
[ "BSD-3-Clause" ]
null
null
null
ntcl_build_tools/build_info.py
cheshyre/ntcl-build
133bb44af6c7a2017431ca78fd0e60b91396322a
[ "BSD-3-Clause" ]
null
null
null
from .config import Config from .debug_writer import debug_print class BuildInfo (object): def __init__(this, name=None): if type(name) is list: this.name = name[0] else: this.name = name this.modules = [] this.applications = [] this.uses = [] this.plugins = [] ...
31.234375
114
0.598049
535
3,998
4.343925
0.119626
0.075732
0.043029
0.037866
0.225904
0.135112
0.045611
0.045611
0.045611
0.045611
0
0.003826
0.28089
3,998
127
115
31.480315
0.804522
0
0
0.052083
0
0
0.055028
0
0
0
0
0
0
1
0.229167
false
0
0.020833
0.083333
0.34375
0.020833
0
0
0
null
0
0
0
0
0
0
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
4922f03857b3d5b0d5d233a3c0ec2caec32ab9ed
9,016
py
Python
export.py
fxkr/snmp-tftp-config
961fae9b2ca19f82c9db7230e65f9b9b4dd7cf3e
[ "BSD-3-Clause" ]
3
2016-05-04T11:56:37.000Z
2021-06-21T14:29:32.000Z
export.py
fxkr/snmp-tftp-config
961fae9b2ca19f82c9db7230e65f9b9b4dd7cf3e
[ "BSD-3-Clause" ]
null
null
null
export.py
fxkr/snmp-tftp-config
961fae9b2ca19f82c9db7230e65f9b9b4dd7cf3e
[ "BSD-3-Clause" ]
3
2015-01-27T15:14:35.000Z
2020-02-26T12:27:49.000Z
#!/usr/bin/env python2 import gevent.monkey; gevent.monkey.patch_all() import argparse import logging import logging.config import os import random import socket import string import StringIO import struct import sys import gevent.socket import gevent.server import gevent.event import pysnmp.entity.rfc3413.oneliner....
31.858657
97
0.626886
1,168
9,016
4.666952
0.189212
0.034673
0.006604
0.020547
0.421391
0.380297
0.345441
0.326362
0.288571
0.259218
0
0.025103
0.248891
9,016
282
98
31.971631
0.779829
0.033385
0
0.290816
0
0.030612
0.078082
0.021504
0
0
0
0
0.005102
0
null
null
0
0.086735
null
null
0.020408
0
0
0
null
0
0
0
0
0
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
4923846707197ef080cf820ea5a9de0a03ebb476
1,316
py
Python
python_full/HelloWorld/2.6 stringmethods.py
marcmanley/mosh
bc342d58e72055794103f41c02aa06006701eec0
[ "Apache-2.0" ]
null
null
null
python_full/HelloWorld/2.6 stringmethods.py
marcmanley/mosh
bc342d58e72055794103f41c02aa06006701eec0
[ "Apache-2.0" ]
null
null
null
python_full/HelloWorld/2.6 stringmethods.py
marcmanley/mosh
bc342d58e72055794103f41c02aa06006701eec0
[ "Apache-2.0" ]
null
null
null
# functions # i.e., len() where the () designate a function # functions that are related to str course = "python programming" # here we have a kind of function called a "method" which # comes after a str and designated by a "." # in Py all everything is an object # and objects have "functions" # and "functions" have ...
23.5
77
0.731003
206
1,316
4.621359
0.446602
0.092437
0.033613
0.029412
0
0
0
0
0
0
0
0.001817
0.163374
1,316
55
78
23.927273
0.862852
0.510638
0
0.1
0
0
0.177316
0
0
0
0
0
0
1
0
false
0
0
0
0
0.7
0
0
0
null
0
0
0
0
0
0
0
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
49266eae2eda37fa460fb3f82c8fdb40cc299596
2,977
py
Python
hard-gists/2c7b95beed642248487a/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/2c7b95beed642248487a/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/2c7b95beed642248487a/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Simple script illustrating how to perform embarrassingly parallel computations in Python using MPI/mpi4py. I like this approach a lot as its very easy to get right without having to deal with the complications arising from forked processes which the multiprocessing modu...
34.218391
79
0.754451
478
2,977
4.6841
0.495816
0.039303
0.011612
0.009826
0
0
0
0
0
0
0
0.007444
0.187773
2,977
86
80
34.616279
0.918528
0.810548
0
0.117647
0
0
0.015355
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.176471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
493b354cb5ee4411eeecf899c264be361bb8a470
1,611
py
Python
observations/r/bmw.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/bmw.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/bmw.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def bmw(path): """Daily Log Returns on BMW Share Price These data are ...
30.980769
74
0.700807
235
1,611
4.685106
0.557447
0.021798
0.043597
0.04178
0.09446
0.054496
0.054496
0
0
0
0
0.017642
0.225947
1,611
51
75
31.588235
0.865277
0.50031
0
0
0
0
0.08094
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
493c5b8a7adae7ff7d7ed69c8664edb081087c6d
472
py
Python
src/commands/ChangeModeCommand.py
UCHH57/BufferDestroyer69
b82fd06635485228f8aecc0c4ffbbbb43ba0723b
[ "MIT" ]
null
null
null
src/commands/ChangeModeCommand.py
UCHH57/BufferDestroyer69
b82fd06635485228f8aecc0c4ffbbbb43ba0723b
[ "MIT" ]
null
null
null
src/commands/ChangeModeCommand.py
UCHH57/BufferDestroyer69
b82fd06635485228f8aecc0c4ffbbbb43ba0723b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from Command import Command from Option import Mode class ChangeModeCommand(Command): command = "cm" usage = "[piped | arg]" help = "\tChange binary execution mode.\n\targ:\t./vulnBin payload\n\tpiped:\techo payload | ./vulnBin" def set_option(self, opt...
24.842105
107
0.612288
60
472
4.8
0.616667
0.027778
0.125
0
0
0
0
0
0
0
0
0.011173
0.241525
472
18
108
26.222222
0.793296
0.091102
0
0
0
0.090909
0.274005
0.11007
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
493f0485eb93a7961acaeaffd8e900b1e075fac7
1,199
py
Python
src/view/gtkview/dccManager.py
iivvoo-abandoned/most
a53e3ce4913e1886c5933387f0139db2a96f7e53
[ "BSD-3-Clause" ]
null
null
null
src/view/gtkview/dccManager.py
iivvoo-abandoned/most
a53e3ce4913e1886c5933387f0139db2a96f7e53
[ "BSD-3-Clause" ]
null
null
null
src/view/gtkview/dccManager.py
iivvoo-abandoned/most
a53e3ce4913e1886c5933387f0139db2a96f7e53
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python """ Graphical representation of all dcc sessions """ from gtk import * from GDK import * from libglade import * class session: def __init__(self): pass class dccManager: def __init__(self): self.tree = GladeXML("../../glade/most.glade", "dccwindow") self.table =...
24.979167
67
0.57965
148
1,199
4.581081
0.425676
0.09292
0.070796
0.115044
0.190265
0.162242
0
0
0
0
0
0.026559
0.277731
1,199
47
68
25.510638
0.756351
0.050876
0
0.058824
0
0
0.080817
0.019538
0
0
0
0
0
1
0.088235
false
0.058824
0.088235
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
49418b77c330f78b23442d48c8d0da5202d0046a
5,906
py
Python
cas/vault.py
tencentyun/cas_python_sdk
c250f01f949eb224dc897564d111562cbd1c22f3
[ "MIT" ]
4
2017-09-27T10:17:02.000Z
2019-11-26T02:38:27.000Z
cas/vault.py
tencentyun/cas_python_sdk
c250f01f949eb224dc897564d111562cbd1c22f3
[ "MIT" ]
1
2018-12-22T05:42:05.000Z
2018-12-22T05:42:05.000Z
cas/vault.py
tencentyun/cas_python_sdk
c250f01f949eb224dc897564d111562cbd1c22f3
[ "MIT" ]
1
2018-04-11T08:48:47.000Z
2018-04-11T08:48:47.000Z
# -*- coding: utf-8 -*- import sys from cas.utils.file_utils import * from cas.archive import Archive from cas.conf.common_conf import DEFAULT_NORMAL_UPLOAD_THRESHOLD, CAS_PREFIX from job import Job from multipart_upload import MultipartUpload class Vault(object): NormalUploadThreshold = DEFAULT_NORMAL_UPLOAD_TH...
41.013889
192
0.627836
729
5,906
4.828532
0.200274
0.033239
0.034091
0.025568
0.302273
0.238636
0.211364
0.196023
0.163636
0.163636
0
0.001638
0.276329
5,906
143
193
41.300699
0.821947
0.003556
0
0.19469
0
0
0.076816
0.004345
0
0
0
0
0
0
null
null
0
0.053097
null
null
0.00885
0
0
0
null
0
0
0
0
0
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
4947d2657095aefd7959a0d740dc4628b81a9cc8
6,501
py
Python
src/main.py
martasls/pythonic-learning-machine
330d1d5320adc8667bc7ce527808ec7a9c2271d4
[ "MIT" ]
null
null
null
src/main.py
martasls/pythonic-learning-machine
330d1d5320adc8667bc7ce527808ec7a9c2271d4
[ "MIT" ]
null
null
null
src/main.py
martasls/pythonic-learning-machine
330d1d5320adc8667bc7ce527808ec7a9c2271d4
[ "MIT" ]
null
null
null
import argparse import os from threading import Thread from sys import argv from time import sleep from benchmark.benchmarker import Benchmarker, continue_benchmark, pickup_benchmark, SLM_MODELS, MLP_MODELS, ENSEMBLES from data.io_plm import get_benchmark_folder, read_pickle, get_resampled_folder, get_formatted_folder,...
43.34
153
0.720197
1,064
6,501
3.850564
0.153195
0.109348
0.150354
0.076153
0.633146
0.589456
0.525018
0.506224
0.455699
0.447889
0
0.072201
0.175511
6,501
149
154
43.630872
0.692164
0.52515
0
0.0625
0
0
0.034397
0
0
0
0
0
0
1
0.09375
false
0
0.3125
0
0.40625
0
0
0
0
null
0
0
0
0
0
0
0
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
49481a74491e0c294eed12d96ba755a14ff2d29c
418
py
Python
setup.py
qkudev/edtw
ec358c0e180d49b5bd116a9fd134712e8524c2be
[ "MIT" ]
null
null
null
setup.py
qkudev/edtw
ec358c0e180d49b5bd116a9fd134712e8524c2be
[ "MIT" ]
null
null
null
setup.py
qkudev/edtw
ec358c0e180d49b5bd116a9fd134712e8524c2be
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='edtw', version='0.0.1', license='MIT', author="Evgenii Kudriavtsev", author_email='qkudev@gmail.com', packages=find_packages('src'), package_dir={'': 'src'}, url='https://github.com/qkudev/edtw', keywords='python, dwt, entro...
19.904762
56
0.619617
47
418
5.404255
0.787234
0.094488
0
0
0
0
0
0
0
0
0
0.009146
0.215311
418
20
57
20.9
0.765244
0
0
0
0
0
0.335731
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
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
494ada8867ca3fe2289d2feafd2b6ab2ea6b9894
1,010
py
Python
orders/__init__.py
Zadigo/mycommerce
145031ebb359389e680a820577a4b6b2d382646d
[ "MIT" ]
null
null
null
orders/__init__.py
Zadigo/mycommerce
145031ebb359389e680a820577a4b6b2d382646d
[ "MIT" ]
null
null
null
orders/__init__.py
Zadigo/mycommerce
145031ebb359389e680a820577a4b6b2d382646d
[ "MIT" ]
null
null
null
from typing import List, Tuple, Union import stripe from django.conf import settings from django.core.exceptions import ValidationError def get_stripe_tokens() -> List[Tuple[str, str]]: try: stripe_tokens = settings.STRIPE_TOKENS except: raise ValidationError( 'In order to use the ...
26.578947
108
0.694059
139
1,010
4.81295
0.374101
0.215247
0.059791
0.038864
0.047833
0
0
0
0
0
0
0.002571
0.229703
1,010
37
109
27.297297
0.857326
0
0
0
0
0
0.139604
0
0
0
0
0
0
1
0.115385
false
0
0.153846
0
0.423077
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1